LVM and VxVM

Re: Problem removing a volume..!!!!

 
rookie250
Occasional Contributor

Problem removing a volume..!!!!

Hi,

I need to remove a extra volume which is in disabled state as:

vxprint -v shows:
v dbdumps_NBt fsgen DISABLED 251658240 - NEEDSYNC - -

Volume is in NEEDSYNC state.

When i run the command
vxedit -f -r -g ossdg rm dbdumps_NBt

i get the error as:

ERROR code 13
Problem removing dbdumps_NBt!
vxedit -f -r -g ossdg rm dbdumps_NBt
VxVM vxedit ERROR V-5-1-1242 Volume dbdumps_NBt is opened, cannot remove


Pls help if how can i remove this volume.


3 REPLIES 3
Fabian Briseño
Esteemed Contributor

Re: Problem removing a volume..!!!!

Hello.
Check the follwing link.

http://www2.itrc.hp.com/service/iv/docDisplay.do?docId=prodITRC/DE_SW_UX_swrec_EN_01_E/VxVM.pdf

hope this helps, remember to award points.

Knowledge is power.
Jason Ray
Frequent Advisor

Re: Problem removing a volume..!!!!

Can you try resyncing the volume to get it out of NEEDSYNC?

Then you might be able to stop the volume and remove it.

You could check the man page for vxvol. You could try a forced resync or stop on the volume.
Robert-Jan Goossens
Honored Contributor

Re: Problem removing a volume..!!!!

Hi,

# vxvol stop dbdumps_NBt

# vxedit -rf rm dbdumps_NBt

Regards,
Robert-Jan