- 论坛徽章:
- 0
|
Part Tag Flag Cylinders Size Blocks
0 root wm 2061 - 3091 5.00GB (1031/0/0) 10491456
1 swap wu 3092 - 5152 10.00GB (2061/0/0) 20972736
2 backup wm 0 - 14086 68.35GB (14087/0/0) 143349312
3 usr wm 0 - 2060 10.00GB (2061/0/0) 20972736
4 var wm 5153 - 6183 5.00GB (1031/0/0) 10491456
5 unassigned wm 6184 - 8244 10.00GB (2061/0/0) 20972736
6 unassigned wm 8245 - 8265 104.34MB (21/0/0) 213696
7 unassigned wm 8266 - 14086 28.25GB (5821/0/0) 59234496
jarodho:root / 3 > prtvtoc /dev/rdsk/c1t0d0s2|fmthard -s - /dev/rdsk/c1t1d0s2
fmthard: New volume table of contents now in place.
jarodho:root / 6 > metadb -afc 3 c1t0d0s6
jarodho:root / 8 > metadb -afc 3 c1t1d0s6
jarodho:root / 13 > metainit -f d11 1 1 c1t0d0s0
d11: Concat/Stripe is setup
jarodho:root / 14 > metainit -f d12 1 1 c1t0d0s1
d12: Concat/Stripe is setup
jarodho:root / 15 > metainit -f d13 1 1 c1t0d0s3
d13: Concat/Stripe is setup
jarodho:root / 16 > metainit -f d14 1 1 c1t0d0s4
d14: Concat/Stripe is setup
jarodho:root / 17 > metainit -f d15 1 1 c1t0d0s5
d15: Concat/Stripe is setup
jarodho:root / 18 > metainit d1 -m d11
d1: Mirror is setup
jarodho:root / 19 > metainit d2 -m d12
d2: Mirror is setup
jarodho:root / 20 > metainit d3 -m d13
d3: Mirror is setup
jarodho:root / 21 > metainit d4 -m d14
d4: Mirror is setup
jarodho:root / 22 > metainit d5 -m d15
d5: Mirror is setup
jarodho:root / 23 > metaroot d1
jarodho:root / 24 > lockfs -fa
vi vfstab
"vfstab" 11 lines, 411 characters
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
#/dev/dsk/c1t0d0s1 - - swap - no -
/dev/md/dsk/d2 - - swap - no -
/dev/md/dsk/d1 /dev/md/rdsk/d1 / ufs 1 no -
/dev/md/dsk/d3 /dev/md/rdsk/d3 /usr ufs 1 no -
/dev/md/dsk/d4 /dev/md/rdsk/d4 /var ufs 1 no -
/dev/md/dsk/d5 /dev/md/rdsk/d5 /opt ufs 2 yes -
#/dev/dsk/c1t0d0s3 /dev/rdsk/c1t0d0s3 /usr ufs 1 no -
#/dev/dsk/c1t0d0s4 /dev/rdsk/c1t0d0s4 /var ufs 1 no -
#/dev/dsk/c1t0d0s5 /dev/rdsk/c1t0d0s5 /opt ufs 2 yes -
swap - /tmp tmpfs - yes -
reboot the system.
jarodho:root / 7 > metainit d21 1 1 c1t1d0s0
d21: Concat/Stripe is setup
jarodho:root / 8 > metainit d22 1 1 c1t1d0s1
d22: Concat/Stripe is setup
jarodho:root / 9 > metainit d23 1 1 c1t1d0s3
d23: Concat/Stripe is setup
jarodho:root / 10 > metainit d24 1 1 c1t1d0s4
d24: Concat/Stripe is setup
jarodho:root / 11 > metainit d25 1 1 c1t1d0s5
d25: Concat/Stripe is setup
jarodho:root / 12 > metattach d1 d21
jarodho:root / 13 > metattach d2 d22
jarodho:root / 14 > metattach d3 d23
jarodho:root / 15 > metattach d4 d24
jarodho:root / 16 > metattach d5 d25
enjoy my Cappuccino, waiting for the completion of sync
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/7000/showart_120960.html |
|