Forum Discussion

Ajwat_Hasan's avatar
20 years ago

How to delete volume from Veritas

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

  • 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
  • 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>