Re: LVM not removing LV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



nate wrote:
Mag Gam wrote:
I am using RHEL 5.1 with custom kernel.


Might be something about your custom kernel that affects lvm operations.
It could be you have a version mis-match in lvm components in your system.



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?


No snapshots still present for that lv?



Not really a hack but you need to deactivate it:

lvchange -a n <logical volume>

Verify that it's deactivated with the lvdisplay command


Current versions of lvm/lvremove will do that automatically.


--
Toby Bluhm
Alltech Medical Systems America, Inc.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux