1. Make sure solaris can see the disk.
# format
make sure the new disks are labeled by solaris ( use type “0″ = autodetect size , and label the disk !)
2. Make sure Veritas can see the new attached disk.
# vxdctl enable
(allow VxVM to discover newly added disks — DISKS NEED TO BE FORMATTED FIRST using the “format” COMMAND !!)
# vxdisk list
(will list disks detected, disks marked as “error” have not been initialized for use by VxVM)
3. Intitialise the disk in a specific diskgroup.
# vxdiskadm
1. option one to initialiase the disks in the oracledg diskgroup
make sure to use the list option so you can see that the disk is in error ( not yet initialised by veritas)
Or use the following commands:
( # /usr/lib/vxvm/bin/vxdisksetup -i c2t32d8 )
(# vxdg -g oracledg adddisk oracled01=c2t32d8 oracled02=c2t32d9)
4. Find out how much space is available on these new disks.
# vxassist -g oracledg maxsize oracled01 oracled02
`
(gets maximum size available for creating volume on specific disks )
( suppose resulting number is 28000000 )
# vxassist -g oracledg make newvol 28000000 stripeunit=48k columns=2 oracled01 oracled02
(creates volume u01vol of 28GB size using only oracled01 and oracled02 disks in a stripe layout)
# mkfs -F vxfs -o largefiles,bsize=8192 /dev/vx/rdsk/oracledg/u01vol
(create filesystem with largefile option necessary to create datafiles bigger than 2g)
# vi /etc/vfstab
(add filesystem so it is auto-mounted)
# mount /newvol
# df -k
verify new filesystem size.