
On Tue, Aug 10, 2010 at 07:15:48AM -0700, Thomas Graves wrote:
Lvremove does not properly remove it from the .cache. Perhaps that is the bug. I'll investigate more ( I'm using lvm2-2.02.46-8.el5).
-bash-3.2$ sudo cat /etc/lvm/cache/.cache | grep tom "/dev/sys/tomtest2", "/dev/mapper/sys-tomtest2", -bash-3.2$ sudo lvremove /dev/sys/tomtest2 Do you really want to remove active logical volume tomtest2? [y/n]: y Logical volume "tomtest2" successfully removed -bash-3.2$ sudo cat /etc/lvm/cache/.cache | grep tom "/dev/sys/tomtest2", "/dev/mapper/sys-tomtest2",
Yeah that sounds like a lvm bug to me - users shouldn't have to be aware of LVM private cache files at all. Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|