1.-Create Metaset Called "oracle_set" to the host lab01 , This Step Can Be Not Executed If The Metaset Is Created
#metaset -s oracle_set -a -h lab01
-a
Adds drives or hosts to the named set.
-h
Specifies one or more host names to be added to or deleted from a diskset.
2.-If you have the LUN’s allocated in the server you can add each one to the configuration, in this case we have 5 disk to aggregate to the diskset
2.1Just in case in order to discover “devfsadm” or cfgadm –c configure cX
CX=Controller Number
#metaset -s oracle_set -a c2txxxxxxxxxxxxxxxxd0
#metaset -s oracle_set -a c2txxxxxxxxxxxxxxxxd0
#metaset -s oracle_set -a c2xxxxxxxxxxxxxxxxxd0
#metaset -s oracle_set -a c2xxxxxxxxxxxxxxxxxd0
#metaset -s oracle_set -a c2xxxxxxxxxxxxxxxxxd0
3-After adding the LUN’s to the diskset created, you can check them with the command below
#metaset
3-You can check with prtvtoc the partition for each disk and change it if you want, after that you can initializate the metadevice in each disk that form part in the diskset
In our case we created d53 ......d57
#prtvtoc /dev/rdsk/c2t500A0982896AC736d0s0 .........c2..............n
#metainit -s oracle1_set d53 1 1 /dev/dsk/c2txxxxxxxxxxxxxxxxxxs0
#metainit -s oracle1_set d54 1 1 /dev/dsk/c2txxxxxxxxxxxxxxxxxxs0
#metainit -s oracle1_set d55 1 1 /dev/dsk/c2txxxxxxxxxxxxxxxxxxs0
#metainit -s oracle1_set d56 1 1 /dev/dsk/c2xxxxxxxxxxxxxxxxxxxs0
#metainit -s oracle1_set d57 1 1 /dev/dsk/c2xxxxxxxxxxxxxxxxxxxs0
4.-Check the diskset status
#metastat -s oracle_set
5.-Create the file systemwith the device initializated
#newfs /dev/md/oracle_set/rdsk/d53
#newfs /dev/md/oracle_set/rdsk/d54
#newfs /dev/md/oracle_set/rdsk/d54
#newfs /dev/md/oracle_set/rdsk/d55
#newfs /dev/md/oracle_set/rdsk/d57
6.-Create the directories for mount point
#cd /
#mkdir /tmp/oradata1
#mkdir /tmp/oradata2
#mkdir /tmp/oradata3
#mkdir /tmp/oradata4
#mkdir /tmp/auxiliar
7.-Mount the devices
#mount /dev/md/oracle_set/dsk/d53 /tmp/oradata1
#mount /dev/md/oracle_set/dsk/d54 /tmp/oradata2
#mount /dev/md/oracle_set/dsk/d55 /tmp/oradata3
#mount /dev/md/oracle_set/dsk/d56 /tmp/oradata4
#mount /dev/md/oracle_set/dsk/d57 /tmp/auxiliary
Comments