Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

slice 0

d10

d11

d12

slice 1

d21

d22

d23

slice 7

d37

d38

d39

After reboot
metaattach d10 d12
metainit -f d11 1 1 c0d0s0
metainit -f d12 1 1 c0d1s0
metainit d10 -m d11
_____________________________________________________________________
metainit -f d22 1 1 c0d0s0
metainit -f d23 1 1 c0d1s0
metainit d21 -m d23
______________________________________________________________________
metainit -f d38 1 1 c0d0s0
metainit -f d39 1 1 c0d1s0
metainit d37 -m d38
______________________________________________________________________
metaroot d11
Change /etc/vfstab entries of Slice 1 and slice 7 as per the entry of root using
metadevice (md) path.
_____________________________________________________________________________
Reboot
metattach d10 d12
metattach d21 d23
metattach d37 d39
_______________________________________________________________________________________

metastat

Volume Management
Create a slice of minimum 100MB on source disk for the purpose of keeping Vol
Mngr Info
@1 prtvtoc /dev/rdsk/c0d0s2 > /tmp/disk0.txt
This command will print the disk structure of source disk in disk0.txt
@2 fmthard -s /tmp/disk0.txt /dev/rdsk/c0d1s2
This command will apply the structure of source disk on another disk.
@ metadb -a -f [100 mb slice source disk] [100 mb slice

installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk \


/dev/rdsk/c0d1s0

of dest disk]

You might also like