Contributed by - Yasbir Singh (My dear friend)
/dev/rdsk/cxtxdx
===========================
metadevice
===============
concatenation
--------------
# metainit d10 3 1 c0t0d0s0 1 c0t1d0s0 1 c0t2d0s0
Striping
---------
# metainit d10 1 3 c0t0d0s0 c0t1d0s0 c0t2d0s0
Mirror
========
# metainit d11 1 1 c0t0d0s0
# metainit d12 1 1 c0t1d0s0
# metainit d10 -m d11
# metattach d10 d12
Raid5
--------
# metainit d100 -r c0t0d0s0 c0t1d0s0 c0t2d0s0
=====IN Cluster=========
METASET
========
# metaset -s <metaset_name> -a -h <hosts1> <hosts2>
# metaset -s <metaset_name> -a /dev/rdsk/did/d2 /dev/rdsk/did/d3 /dev/rdsk/did/d4
# metainit -s <metaset_name> d100 1 2 /dev/dsk/rdid/d2s0 /dev/rdsk/did/d3s0
# metainit -s <metaset_name> d101 -p d100 25g
# metainit -s <metaset_name> d102 -p d100 75g
# metainit -s <metaset_name> d103 -p d100 125g
# newfs /dev/rdsk/<metaset_name>/d101
# newfs /dev/rdsk/<metaset_name>/d102
# newfs /dev/rdsk/<metaset_name>/d103
# metainit -s <metaset_name> d110 1 1 /dev/rdsk/did/d4s0
/dev/rdsk/cxtxdx
===========================
metadevice
===============
concatenation
--------------
# metainit d10 3 1 c0t0d0s0 1 c0t1d0s0 1 c0t2d0s0
Striping
---------
# metainit d10 1 3 c0t0d0s0 c0t1d0s0 c0t2d0s0
Mirror
========
# metainit d11 1 1 c0t0d0s0
# metainit d12 1 1 c0t1d0s0
# metainit d10 -m d11
# metattach d10 d12
Raid5
--------
# metainit d100 -r c0t0d0s0 c0t1d0s0 c0t2d0s0
=====IN Cluster=========
METASET
========
# metaset -s <metaset_name> -a -h <hosts1> <hosts2>
# metaset -s <metaset_name> -a /dev/rdsk/did/d2 /dev/rdsk/did/d3 /dev/rdsk/did/d4
# metainit -s <metaset_name> d100 1 2 /dev/dsk/rdid/d2s0 /dev/rdsk/did/d3s0
# metainit -s <metaset_name> d101 -p d100 25g
# metainit -s <metaset_name> d102 -p d100 75g
# metainit -s <metaset_name> d103 -p d100 125g
# newfs /dev/rdsk/<metaset_name>/d101
# newfs /dev/rdsk/<metaset_name>/d102
# newfs /dev/rdsk/<metaset_name>/d103
# metainit -s <metaset_name> d110 1 1 /dev/rdsk/did/d4s0
No comments:
Post a Comment