Home > Hardware, Storage > veritas vxdg disabled and cannot be deport – Some volumes in the disk group are in use

veritas vxdg disabled and cannot be deport – Some volumes in the disk group are in use

March 15th, 2012

root@doxer # vxdg list
NAME STATE ID
test_DG disabled 1115974897.107.doxer

root@doxer # vxdg deport test_DG
VxVM vxdg ERROR V-5-1-584 Disk group test_DG: Some volumes in the disk group are in use

And when using df -h, there's error message:
root@doxer # df -h
Filesystem size used avail capacity Mounted on
...........
df:cannot statvfs /doxer/archive: No such file or directory
.............

Using fuser to check which processes are using the filesystem, but also met error:
root@doxer # fuser -c /doxer/archive
/BCV/btch01: fuser: Invalid argument

Ok, then I tried several things but failed also. And finally, here's the resolution:
First, umount the error filesystem:
root@doxer # umount /doxer/archive

Second, deport the DG:
root@doxer # vxdg deport test_DG

Then, vxdg list showed me that the DG had been deported.
root@doxer # vxdg list
NULL

At last after using vxdg -C import test_DG, the DG is now in enabled status again.

root@doxer # vxdg list
NAME STATE ID
test_DG enabled,cds 1115974897.107.doxer

Good Luck!


Categories: Hardware, Storage Tags:
Comments are closed.