Operating System - HP-UX
1831259 Members
2845 Online
110022 Solutions
New Discussion

Cannot remove Logical Volume

 
SOLVED
Go to solution
dictum9
Super Advisor

Cannot remove Logical Volume

itanium 11.23


/#: lvremove -f /dev/vg02/lvol11
lvremove: Couldn't delete logical volume "/dev/vg02/lvol11":
The specified logical volume is open, or
a sparing operation is in progress.

4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: Cannot remove Logical Volume

Hi:

So, did you unmount any filesystem that is contained within the logical volume, first?

Regards!

...JRF...
Coolmar
Esteemed Contributor

Re: Cannot remove Logical Volume

You have to unmount the lv first, then you should be able to remove it.
dictum9
Super Advisor

Re: Cannot remove Logical Volume

The strange thing is, I don't think I never mounted it in the first place, or newfs'ed it even.


I created another LV on top of it and it seems to be fine now. It doesn't show up when I do vgdisplay anymore.
dictum9
Super Advisor

Re: Cannot remove Logical Volume

Ignore the above, I was looking at the wrong VG.
This LV, I was able to successfully delete without an error message. Thanks.