Use Format command to list disks :
Now we create the metadevice:
# metainit d201 1 1 c0t3d0s2
# metainit d202 1 1 c0t4d0s2
Make the mirror d200 :
# metainit d200 -m d201 d202
We format the new filesystem :
# newfs /dev/md/rdsk/d200
We mount the filesystem :
Ok we have here 4g
We attach 2 new slices :
# metattach d201 c0t5d0s2
# metattach d202 c0t2d0s0
Metastat command show the new mirror size:
But the #df -h command show only 4g...
For that, we need to "growfs"
# growfs -M /test /dev/md/rdsk/d200
We can now check the size ==>
==> OK
Aucun commentaire:
Enregistrer un commentaire