/a/usr/sbin/luxadm display CIT1 - CIT1 is the name of the A5000
/a/usr/sbin/luxadm display CIT1,f0 - f0 (front 0)is the disk
Sync the firmware rev of the drives in A5K
vxdg init diskgroup diskname=devicename
For example
vxdg init oracledg oracle-d01=c1t0d0
Additional information can be found in the next section.vxdg [ -g groupname ] rmdisk diskname
the diskgroup needs to be specified if it is not rootdg
This is a two stage process, remove the disk from one diskgroup and and into the other disk group
vxdg [ -g oldgroupname ] rmdisk diskname
the diskgroup needs to be specified if it is not rootdg
vxdg [ -g newgroupname ] adddisk diskname=devicename
For example,
vxdg -g fsdg rmdisk oracle-d03 (veritas disk name of c0t3d0)
vxdg -g oracledg adddisk oracle-d01=c0t3d0
You can also achieve the same task by using vxdiskadm's main menu by selecting item 3 (remove disk) and then add/initialize disk
Note: All data on the disk would get distroyed
vxprint -h | get information about volumes |
vxprint -g sybdg | get information about diskgroup sybdg |
vxassist -g sybdg make t1 1200m layout=nolog disk04 | make volume in the disk group sybdg called syb_vol of size 1200m with layout as nolog, the disk to be used is disk04 |
vxassist -g sybdg make log_dev 1200m layout=nolog user=sybase group=dba | same as above but with user as sybase and group dba |
sudo /usr/sbin/vxassist growto sybs11-webs_dat1 300m | resize, grow the volume sybs11-webs_dat1 to a size 300m |
sudo /usr/sbin/vxassist -g sybasedg mirror dbccdb_log1 layout=nostripe sybd03 | create a mirror for the volume dbccdb_log1 on disk sybd03 |
sudo /usr/sbin/vxassist growby sybs11-webs_dat1 300m | resize, grow the volume sybs11-webs_dat1 by 300m |
/usr/sbin/vxedit -g sybasedg -fr rm act4_dat2 | remove the volume act4_dat2 from sybdg |
/usr/sbin/vxedit -g sybasedg -v rename act4_dat2.old act4_dat2.new | rename the sybdg volume act4_dat2 to act4_dat2.old |
/usr/sbin/vxedit -g sybasedg -v set user=sybase group=dba vol01 | Change ownership of the volume to sybase and group to dba |