Re: Libvirt storage api and lvm .cache issue

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

 



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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]