[CentOS] LVM not removing LV

nate centos at linuxpowered.net
Fri Aug 22 13:51:49 UTC 2008

Mag Gam wrote:
> I am using RHEL 5.1 with custom kernel.
> I have a LV I am trying to remove and its keep complaining its open. I
> have unmounted the filesystem, lsof shows nothing, fuser shows
> nothing. I am certain a reboot will fix it, but I don't know why this
> occurs. Can anyone shed some light on this?
> Are there some other LVM hacks I can use for this?

Not really a hack but you need to deactivate it:

lvchange -a n <logical volume>

Verify that it's deactivated with the lvdisplay command


More information about the CentOS mailing list