cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete volume from Veritas

Ajwat_Hasan
Not applicable
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
2 REPLIES 2

Niclas_Blaback
Not applicable
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
Level 4
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>