03-18-2014 07:50 AM
Hi
I try to delete some of the disks from the disk groups but this error comes
[ is used by one or more subdisks ] .
there are no any mount on that disks or resources please help me .
Note . my veritas is 6.0 and installed on redhat 6.4 64bit .
Regards
03-18-2014 07:58 AM
Hello .. disk may be part of subdisk or some volume but may not be mounted
check
# vxprint -qthg <diskgroup> | grep -i <disk>
also check
# vxdisk -o alldgs list
above will tell you if disk is part of some subdisk
G
03-18-2014 09:07 AM
I found that the disk is referenced by a volume. The volume is unmounted and stopped, but I cannot remove it. When I issue the vxedit -rf rm command I get the response that the Volume is opened, cannot remove. Any ideas?
Solom
03-18-2014 09:15 AM
Are you directly hitting vxedit -rf rm on a volume or on the disk ? Are you sure that volume is not mounted in nested fashion anywhere ? nested mounts can cause mount point or volume to lock.
If above is not the case, try stopping the volume using "vxvol -g <diskgro> stop <vol>" command & then attempt a vxedit -rf rm on volume. Once above is done, take the disk out of diskgroup
G
03-18-2014 09:31 AM
I should have started by explaining what I am trying to do. I am distroying the entire diskgroup because I am changing the configunration of my Veritas enviornement. I managed to remove most of the volumes and the disks from the disk group. The Volumes I am having trouble removing are showing stopped both in VOM and on the command line. Yet when I try to remove them I get and error saying that the volume is opened. The only thing that comes to my mind is that the volumes that are causing problems for me where part of a nested path and I removed the parent volume before removing the child.
Ideas??
Solom
03-19-2014 08:20 PM
If the volume is stopped that shouldn't matter unless OS kernel is holding the information about the volumes are still mounted ..
Worth to try, run umount -f command on the mount points of the volumes in concern to ensure OS frees up the mount or stuck information & then retry
If above doesn't work, reboot should clear.
G
04-01-2014 05:47 PM
Please show us output of commands as requested by Gaurav:
# vxprint -qthg
# vxdisk -o alldgs list
and
# df -h
Mark problematic disk in bold.
PS:
Have you tried to reboot the server?
04-04-2014 01:54 AM
I m wondering if this issue is part of the same cluster where you clearly have nested mounts:
https://www-secure.symantec.com/connect/forums/disk-groups-stoping
Please let us know if you have managed to resolve this.
Have you perhaps rebooted yet?