Today I wanted to destroy a disk group that was deported. A import fails because there were missing disks (it was just a test environment so loss of data was wanted):
# vxdg import testdg
VxVM vxdg ERROR V-5-1-10978 Disk group testdg: import failed:
Disk for disk group not found
When I try to destroy the disk group I got the following error:
# vxdg destroy testdg
VxVM vxdg ERROR V-5-1-581 Disk group testdg: No such disk group is imported
The solution was to force import the disk group:
# vxdg -f import testdg
VxVM vxdg WARNING V-5-1-560 Disk c1t5d0: Not found, last known location: c1t5d0
VxVM vxdg WARNING V-5-1-560 Disk c1t6d0: Not found, last known location: c1t6d0
Listing the the disk group gave me the following:
# vxdg list
NAME STATE ID
testdg enabled,cds 1376122179.20.localhost
And finally destroying the disk group worked too:
# vxdg destroy impaxdg
No comments:
Post a Comment