- 论坛徽章:
- 0
|
多谢各位朋友的帮助,我已经成功的安装了系统并将8个硬盘做成一个卷,我没有什么可以拿出来的,只能提供一些我做卷成功的一点心得。下面是我整理过的过程:
>;hinv
System: IP32
Processor: 200Mhz R5000, with FPU
Primarry I-cache size: 32Kbytes
Primarry D-cache size: 32Kbytes
Secondary cache size: 512Kbytes
Memory size: 256 Mbytes
Graphics: CRM, Rev C
Audio: A3 Version 1
SCSI Disk: scsi(0)disk(1)
SCSI CDROM: scsi(0)cdrom(4)
SCSI Disk: scsi(1)disk(1)
SCSI Disk: scsi(1)disk(2)
SCSI Disk: scsi(1)disk(3)
SCSI Disk: scsi(1)disk(4)
SCSI Disk: scsi(2)disk(5)
SCSI Disk: scsi(2)disk(6)
SCSI Disk: scsi(2)disk(7)
SCSI Disk: scsi(2)disk(
su
#fx -x
fx: device-name = (dksc)
fx: ctlr# = (0)1
fx: drive# = (1)
fx: lun# = (0)
......
----- please choose one (? for help, .. to quit this menu)-----
[exi]t [d]ebug/ [l]abel/ [a]uto
adblock/ [exe]rcise/ [r]epartition/ [f]ormat
fx>;r
----- please choose one (? for help, .. to quit this menu)-----
[ro]otdrive [o]ptiondrive [e]xpert
srrootdrive [re]size
fx/repartition>;o
xfs
You will be asked to create a user log partition, answer:n
To confirm, press:y
..
----- please choose one (? for help, .. to quit this menu)-----
[exi]t [d]ebug/ [l]abel/ [a]uto
adblock/ [exe]rcise/ [r]epartition/ [f]ormat
fx>;l
----- please choose one (? for help, .. to quit this menu)-----
[sh]ow/ [sy]nc [se]t/ [c]reate/
fx/label>;sy
..
----- please choose one (? for help, .. to quit this menu)-----
[exi]t [d]ebug/ [l]abel/ [a]uto
adblock/ [exe]rcise/ [r]epartition/ [f]ormat
fx>;exi
Repeat all the steps for the other disks as per the disk with SCSI-id number 1
#jot /var/tmp/array.config
vol xlv0 (xlv0为卷名可自定义)
data
plex
ve -stripe -stripe_unit 128 /dev/dsk/dks1d1s7 /dev/dsk/dks2d5s7
/dev/dsk/dks1d2s7 /dev/dsk/dks2d6s7 /dev/dsk/dks2d3s7 /dev/dsk/dks2d7s7 /dev/dsk/dks1d4s7 /dev/dsk/dks2d8s7
end
show
exit
save file
#xlv_make /var/tmp/array.config
VOL xlv0 (complete) (node=JEVA)
VE xlv0.data.0.0 [active]
start=0, end=33970175, (stripe)grp_size=4, stripe_unit_size=256
/dev/dsk/dks1d1s7 (8492788 blks)
/dev/dsk/dks1d2s7 (8492788 blks)
/dev/dsk/dks1d3s7 (8492788 blks)
/dev/dsk/dks1d4s7 (8492788 blks)
/dev/dsk/dks1d5s7 (8492788 blks)
/dev/dsk/dks1d6s7 (8492788 blks)
/dev/dsk/dks1d7s7 (8492788 blks)
/dev/dsk/dks1d8s7 (8492788 blks)
Vol: 1; Standalone Plex: 0; Standalone Ve: 0
NOTES:
If striped arrays of normal disk drives are used, the stripe_unit value should be 128.
For arrays that appear as a single SCSI device, for example RAID arrays, please ask the array vendor for more information on striping sizes. For Ciprico 6900 and 6500 arrays a stripe_unit value of 4096 should be used.
If only using ONE single array, there is no need to create a logical volume. You only need to partition the array.
The xlv Manager is a system utility that may come in handy. You may start it,
logged in as root, by issuing the command xlv_mgr from the prompt. Subsequently,
the prompt will change in the xlv Manager prompt: xlv_mgr>;.
#change nodename JEVA xlv0 (JEVA为节点名,根据xlv_mgr显示而定。命令:show -long all)
#xlv_assemble -a
VOL xlv0 flags=0x1, [complete] (node=JEVA)
DATA flags=0x0() open_flag=0x0() device=(192, 4)
PLEX 0 flags=0x0
VE 0 [active]
start=0, end=33970175, (stripe)grp_size=4, stripe_unit_size=256
/dev/dsk/dks1d1s7 (8492788 blks)
/dev/dsk/dks1d2s7 (8492788 blks)
/dev/dsk/dks1d3s7 (8492788 blks)
/dev/dsk/dks1d4s7 (8492788 blks)
/dev/dsk/dks1d5s7 (8492788 blks)
/dev/dsk/dks1d6s7 (8492788 blks)
/dev/dsk/dks1d7s7 (8492788 blks)
/dev/dsk/dks1d8s7 (8492788 blks)
xlv_assemble: Checking for Disk Plexing Option ... done
xlv_assemble: Setting kernel configuration ... done
#mkfs_xfs /dev/rdsk/xlv/xlv0
#jot /etc/fstab
/dev/dsk/xlv/xlv0 /MATERIAL xfs rw,raw=/dev/rdsk/xlv/xlv0 0 0 (/MATERIAL是映射文件夹可自定义)
You should see the contents of the file /etc/fstab:
/dev/root / xfs rw,raw=/dev/rroot 0 0
/swap/swap1 swap swap pri=2 0 0
/vswap/vswap1 swap swap pri=5,vlength=524288 0 0
/dev/dsk/xlv/xlv0 /MATERIAL xfs rw,raw=/dev/rdsk/xlv/xlv0 0 0
#mkdir /MATERIAL
#mount -a
#chmod 777 /MATERIAL
|
|