Display all device status | metastat |
Display device status | metastat {metadevice} |
Display condensed status | metastat -p |
List metadb info | metadb -i |
Create new metadevices | metainit {volume} {number-of-stripes} {components-per-stripe} {components} |
Attach or grow device | metattach {metadevice} {size or new device} |
Detach device | metadetach {metadevice} {submirror} |
Place submirror offline | metaoffline {mirror} {submirror} |
Place submirror online | metaonline {mirror} {submirror} |
metattach {metadevice} {size} growfs -M {mountpoint} /dev/md/rdsk/{metadevice}
metastat -c
metadb -i metadb -d /dev/dsk/c3t1d0s7
metadetach -f d0 d20 metadetach -f d1 d10
metaclear d20 metaclear d10
cfgadm -al Ap_Id Type Receptacle Occupant Condition c3::dsk/c3t1d0 disk connected configured unknown cfgadm -c unconfigure c3::dsk/c3t1d0
cfgadm -c configure c3::dsk/c3t1d0 cfgadm -al Ap_Id Type Receptacle Occupant Condition c3::dsk/c3t1d0 disk connected configured unknown
prtvtoc /dev/rdsk/c3t0d0s0 | fmthard -s - /dev/rdsk/c3t1d0s0 fmthard: New volume table of contents now in place. prtvtoc /dev/rdsk/c3t1d0s0
metadb -c 2 -a /dev/dsk/c3t1d0s7
metainit d20 1 1 c3t1d0s0 metainit d10 1 1 c3t1d0s1
metattach d0 d20 metattach d1 d10
metastat -c
root@global.zone #> metattach {metadevice} /dev/dsk/{device_name}
root@global.zone #> metattach {metadevice} <extra_space>
root@global.zone #> growfs /dev/md/rdsk/{metadevice} /dev/md/dsk/{metadevice} is mounted on /zones/global.zone/root/{mountpoint}; can't growfs
root@global.zone #> growfs -M /zones/global.zone/root/{mountpoint} /dev/md/rdsk/<{metadevice}