05-03-2013 01:01 PM
Hello Everybody
I have a Veritas Cluster environment with two Nodes that can access two SUN Storedges 3320.
It was create 2 logical drives at the both Storedges, with NORAID.
One of this Logical Drives lost a drive and because the NORAID option the data was lost at all.
Because we have the Veritas Volume Manager e Veritas Clustes, the DG´s were detach and attach to the other Storedge.
A new disk was add in the bad Logical Drive and the Luns were recreated.
Now I have to recreate the disks in the Veritas Volume Manager. Can anyone help me?
Take a look at this commands:
root@svmmprod1 # vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:cdsdisk - - online
c0t0d1s2 auto:cdsdisk bgw1dgc0t0d1 bgw1dg online
c0t0d2s2 auto:cdsdisk - - online
c0t0d3s2 auto:cdsdisk - - online
c0t0d4s2 auto:cdsdisk - - online
c2t0d0s2 auto:sliced rootdisk rootdg online
c2t1d0s2 auto:sliced rootmirror rootdg online
c2t2d0s2 auto:cdsdisk - - online
c2t3d0s2 auto:cdsdisk - - online
c5t2d0s2 auto - - error
c5t2d1s2 auto - - error
c5t2d2s2 auto - - error
c5t2d3s2 auto:cdsdisk - - online
c5t2d4s2 auto:cdsdisk - - online
- - bgw1dgc5t2d1 bgw1dg failed was:c5t2d1s2
##############################################################################
root@svmmprod2 # vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t2d0s2 auto:cdsdisk ora1dgc0t0d0 ora1dg online
c0t2d1s2 auto:cdsdisk - - online
c0t2d2s2 auto:cdsdisk bgw2dgc0t2d2 bgw2dg online
c0t2d3s2 auto:cdsdisk - - online
c0t2d4s2 auto:cdsdisk - - online
c2t0d0s2 auto:sliced rootdisk rootdg online
c2t1d0s2 auto:sliced rootmirror rootdg online
c2t2d0s2 auto:cdsdisk oraarch1dg02 oraarch1dg online
c2t3d0s2 auto:cdsdisk oradata1dg02 oradata1dg online
c4t0d0s2 auto - - error
c4t0d1s2 auto - - error
c4t0d2s2 auto - - error
c4t0d3s2 auto:cdsdisk oradata1dg01 oradata1dg online
c4t0d4s2 auto:cdsdisk oraarch1dg01 oraarch1dg online
- - ora1dg01 ora1dg failed was:c4t0d0s2
- - bgw2dgc4t0d2 bgw2dg failed was:c4t0d2s2
Thanks for now
Alexandre Andrich
Solved! Go to Solution.
05-05-2013 02:45 AM
Hi Andrich,
Did you run a vxdisk scandisks after re-provisioning the luns at the array level?
Make sure the newly re-provisioned luns are available at the OS level (prtvtoc); Scan the luns for VxVM using vxdisk scandisks; Use vxreattach -c <disk_medianame> on each node to determine if each of the failed disks can be reattached to the disk groups: ora1dg, bgw1dg bgw2dg. If there are no errors with vxreattch -c, then go ahead to reattach the disks using vxreattach -br <disk_medianame>.
The following technote should provide more help: http://www.symantec.com/business/support/index?page=content&id=TECH200618p
05-05-2013 02:45 AM
Hi Andrich,
Did you run a vxdisk scandisks after re-provisioning the luns at the array level?
Make sure the newly re-provisioned luns are available at the OS level (prtvtoc); Scan the luns for VxVM using vxdisk scandisks; Use vxreattach -c <disk_medianame> on each node to determine if each of the failed disks can be reattached to the disk groups: ora1dg, bgw1dg bgw2dg. If there are no errors with vxreattch -c, then go ahead to reattach the disks using vxreattach -br <disk_medianame>.
The following technote should provide more help: http://www.symantec.com/business/support/index?page=content&id=TECH200618p
05-06-2013 04:38 AM
Hello rsharma1
It seems to work fine...
Take a look.
root@svmmprod1 # vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:cdsdisk - - online
c0t0d1s2 auto:cdsdisk bgw1dgc0t0d1 bgw1dg online
c0t0d2s2 auto:cdsdisk - - online
c0t0d3s2 auto:cdsdisk - - online
c0t0d4s2 auto:cdsdisk - - online
c2t0d0s2 auto:sliced rootdisk rootdg online
c2t1d0s2 auto:sliced rootmirror rootdg online
c2t2d0s2 auto:cdsdisk - - online
c2t3d0s2 auto:cdsdisk - - online
c5t2d0s2 auto:cdsdisk - - online
c5t2d1s2 auto:cdsdisk bgw1dgc5t2d1 bgw1dg online
c5t2d2s2 auto:sliced - - online
c5t2d3s2 auto:cdsdisk - - online
c5t2d4s2 auto:cdsdisk - - online
root@svmmprod2 # vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t2d0s2 auto:cdsdisk ora1dgc0t0d0 ora1dg online
c0t2d1s2 auto:cdsdisk - - online
c0t2d2s2 auto:cdsdisk bgw2dgc0t2d2 bgw2dg online
c0t2d3s2 auto:cdsdisk - - online
c0t2d4s2 auto:cdsdisk - - online
c2t0d0s2 auto:sliced rootdisk rootdg online
c2t1d0s2 auto:sliced rootmirror rootdg online
c2t2d0s2 auto:cdsdisk oraarch1dg02 oraarch1dg online
c2t3d0s2 auto:cdsdisk oradata1dg02 oradata1dg online
c4t0d0s2 auto:cdsdisk ora1dg01 ora1dg online
c4t0d1s2 auto:cdsdisk - - online
c4t0d2s2 auto:sliced bgw2dgc4t0d2 bgw2dg online
c4t0d3s2 auto:cdsdisk oradata1dg01 oradata1dg online
c4t0d4s2 auto:cdsdisk oraarch1dg01 oraarch1dg online
Thanks a lot.
Alexandre Andrich