LVM complains about /etc/lvm/cache/.cache it created

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

 



Hi,

while reworking how we activate LVM in Gentoo's genkernel initramfs init
script, I tested some commands at boot in the following order:

# /sbin/lvm vgscan
# /sbin/lvm vgchange -ay --sysinit
# /sbin/lvm vgmknodes --ignorelockingfailure --verbose

The last command (vgmknodes) will output

>     Failed to load existing device cache from /etc/lvm/cache/.cache

I can delete this file (/etc/lvm/cache/.cache), re-run the command twice
and on the second call, after cache file was recreated by LVM, the error
is back.

So this looks like LVM is creating a cache it cannot use by itself?!


# lvm version
  LVM version:     2.02.185(2) (2019-05-13)
  Library version: 1.02.158 (2019-05-13)
  Driver version:  4.35.0
  Configuration:   ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu
    --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc
    --localstatedir=/var/lib --disable-dependency-tracking
--docdir=/usr/share/doc/lvm-2.02.185
    --htmldir=/usr/share/doc/lvm-2.02.185/html --enable-static_link
--enable-pkgconfig --enable-dmeventd
    --enable-cmdlib --disable-lvmetad --with-clvmd=none
--with-cluster=none --disable-readline
    --disable-selinux --with-mirrors=internal --with-snapshots=internal
--with-thin=internal
    --with-cache=internal --disable-udev-systemd-background-jobs
--disable-udev_sync
    --disable-udev_rules


-- 
Regards,
Thomas Deutschmann / Gentoo Linux Developer
C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

_______________________________________________
linux-lvm mailing list
linux-lvm@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux