Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

How to delete volume from Veritas

Created: 15 Jul 2005 • Updated: 21 May 2010 | 2 comments

Hi
We have a cluster name A and B . I am using Veritas Storage foundation for databases and when I am trying to delete one volume from volume list it says cannot delete the volume as it is in use.
This is on solaris os.

There is no file system on it . How can i find out that it is in use and also by whom?

Thanks
Ajwat

Discussion Filed Under:

Comments 2 CommentsJump to latest comment

Niclas Blaback's picture

Hello,
Try "fuser" command on the raw and special devices "/dev/vx/(r)dsk/diskgroup/volume" to see which process that holds the volume.


Best regards

Niclas Blåbäck

sunshine 2's picture
make sure the volume is not open and mounted by any filesystem
 
try running
 
# vxinfo -g <disk_group>
 
if you see the volume you want to delete is in started state then you want to stop that volume
 
# vxvol -g <disk_group> stop <volume_name>
 
then
 
# vxassist -g <disk_group> remove volume <volume_name>