1.磁盘柜的连接
2.添加盘 (add disk disk-name scsi-location )
3.删除盘 (delete disk-name)
4.添加镜像(add mirrorset mirrorset-name disk-names)
5.手工移掉镜像中的盘 (set mirrorset-name remove=disk-name)
6.手工添加镜像中的盘
7.删除镜像 (delete mirrorset-name)
8.添加Raid5 (add raidset raidset-name disk_names)
9.手工移掉raid中的盘 (set raidset-name remove=disk-name)
10.手工添加raid中的盘
11.删除raid (delete raid-name)
12.添加unit (add unit unit-number container-name)
13.删除unit (delete unit_name)
1.磁盘柜的连接
a.Tru64 unix 在/etc/remote 文件中加hsz70:de=/dev/tty00:br#9600
tty00为一串口,br#9600为波特率。
#tip hsz70 用tip连到盘柜。
b. pc机 用超级终端。将hsz70的控制台电缆接到PC机上,进入超级终端,设置终端属性为:波特率:9600, 数据位:8,奇偶校验:无,停止位:1,数据流控制XON/XOFF
2.添加盘 (add disk disk-name scsi-location )
parameters:
disk-name
specifies a name for the disk drive .
scsi-location
the address of the disk drive to be added in the form PTL where:
P designates the port
T designates the targert ID of the device
L designates the LUN of the device (must be 0)
example: hsz70>add disk disk10100 1 1 0
3.删除盘 (delete disk-name)
example:hsz70>delete disk10100
在删除盘之前,要删除所有建立在它之上的成员。
4.添加镜像(add mirrorset mirrorset-name disk-names)
parameters:
mirrorset-name specifies a name for the mirrorset.
disk-names the names of the disk drives that make up the mirrorset.
A mirrorset contains 1 to 6 disk drives.
switches:
policy=best_fit 当磁盘大小不一致时使用,选择容量最接近的替换。
policy=best_performance 当磁盘大小一致时使用,选择性能最好的替换。
nopolicy 手工替代盘时,要先取消原有策略。加了后要恢复策略。
example: hsz70>add disk disk100 1 0 0
hsz70>add disk disk210 2 1 0
hsz70>add mirrorset m0 disk100 disk210 policy=best_fit
hsz70>init m0 save_config
注意:一旦初始化就破坏了其数据。
5.手工移掉镜像中的盘 (set mirrorset-name remove=disk-name)
example: hsz70>set m0 remove=disk100
6.手工添加镜像中的盘
1.(set mirrorset-name replace=disk-name)
example: hsz70>set m0 nopolicy
hsz70>set m0 replace=disk100
hsz70>set m0 policy=best_fit
2.add spareset disk-name
hsz70>add spareset disk100
spare盘会自动替代坏盘。最好事先就设置好。
7.删除镜像 (delete mirrorset-name)
hsz70>delete m0
8.添加Raid5 (add raidset raidset-name disk_names)
parameters:
raid_name specifies a name for the raidset.
disk-names the disks that will make up the raidset.A raidset can contain 3 to 14 member disks.
switches:
policy=best_fit 当磁盘大小不一致时使用,选择容量最接近的替换。
policy=best_performance 当磁盘大小一致时使用,选择性能最好的替换。
nopolicy 手工替代盘时,要先取消原有策略。加了后要恢复策略。
example: hsz70>add disk disk100 1 0 0
hsz70>add disk disk210 2 1 0
hsz70>add disk disk310 3 1 0
hsz70>add raidset r0 disk100 disk210 disk310
hsz70>init r0 save_configuration //save参数建议要的
注意:一旦初始化就破坏了其数据。
9.手工移掉raid中的盘 (set raidset-name remove=disk-name)
example: hsz70>set r0 remove=disk100
10.手工添加raid中的盘
1.(set raidset-name replace=disk-name)
example: hsz70>set r0 nopolicy
hsz70>set r0 replace=disk100
hsz70>set r0 policy=best_fit
2.add spareset disk-name
hsz70>add spareset disk100
spare盘会自动替代坏盘。最好事先就设置好。
11.删除raid (delete raid-name)
hsz70>delete r0
12.添加unit (add unit unit-number container-name)
you must initialize the disk drive or container before you can add it as a unit.
example: hsz70>add disk disk100 1 0 0
hsz70>add disk disk210 2 1 0
hsz70>add disk disk310 3 1 0
hsz70>add raidset r0 disk100 disk210 disk310
hsz70>init r0 save_configuration
hsz70>add unit d0 r0
13.删除unit (delete unit_name)
example: hsz70>delete d0
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/936/viewspace-60457/ ,如需转载,请注明出处,否则将追究法律责任。