Veritas disk group disabled
Created: 10 Aug 2010 | Updated: 11 Sep 2010 | 16 comments
This issue has been solved. See solution.
hi all
After rebooting my host, disk group was disabled.it shows;
vxdg list
NAME STATE ID
dg1 disabled 1281004389.35.KS-SLES1
dg2 disabled 1281004425.37.KS-SLES1
How to enable it?
venkat
Discussion Filed Under:
Comments 16 Comments • Jump to latest comment
You can try deporting and importing the disk group.
Hi Venkat,
First thing is, is these diskgroups configured under Cluster ? If yes, you need to freeze the service groups..
# vxdg deport
# vxdg import
Then you can unfreeze your service groups...
Once you import diskgroups manually... you might need to start volumes manually..
# vxvol -g startall
Gaurav
PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
hi Gaurav
I didnt configured cluster.
~ Venkat
typo in command... # vxvol -g <diskgroup> startall
PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
hi ,
this Command not working
KS-SLES1:~ # vxvol -g dg1 startall
venkat
~ Venkat
what does vxdg list show ?
if the above does not shoe DG1 the you will have to import it.
then run the vxvol command.
Regards.
All the advice given above is summarized in this TechNote:
http://seer.entsupport.symantec.com/docs/229701.htm
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
vxdg deport dg1
~ Venkat
You will need to check if the volumes from that DG are still mounted. If yes, then unmount them.
Deport the DG and then Import them.
vxdg deport dgname
vxdg import dgname
then do
vxvol -g dgname startall
Regards.
Hai it s working fine.
Thanks a lot
~ Venkat
Hi Venkat.....
Check your df -k output, volumes from that DG would be mounted....
You will need to unmount all the filesystems from the diskgroup... then deport the diskgroup... import it back... start the volumes...... the start command is vxvol -g <diskgroup> startall...
Gaurav
PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
hi Gaurav , after unmounting i deported the dg1. then i tried to import.but it said no dg found.pls refer below:
KS-SLES1:~ # umount /mnt/vol1
venkat
~ Venkat
hi Gaurav,
it s working fine.but it takes some time.
KS-SLES1:~ # vxdg list
Thanks a lot
~ Venkat
Hi Gauav,
I tried it in another host,
It s working fine.
please find:
KS-SLES2:~ # vxdg list
Thanks a lot
~ Venkat
Venkat,
Is there a delay with the host detecting the storage when it is rebooted eg: were there any SAN issues occurring at the time? the vxdisk list output showed the disks in error, which suggests there were problems accessing the disk -- this would be why the dg went to dgdisabled state as it couldn't see the underlying disk
This was fixed / the disks came online when vxdctl enable was run so that implies the disk became available again / access was restored.
I would recommend looking at why the disks weren't online to ensure the underlying problem is resolved so this won't be recurring situation.
regards,
Grace
If this post has helped you, please vote or mark as solution
Thanks Grace.
~ Venkat
Would you like to reply?
Login or Register to post your comment.