linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM complains about /etc/lvm/cache/.cache it created
@ 2019-08-06 23:36 Thomas Deutschmann
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Deutschmann @ 2019-08-06 23:36 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [linux-lvm] LVM complains about /etc/lvm/cache/.cache it created
@ 2019-08-07 18:32 Thomas Deutschmann
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Deutschmann @ 2019-08-07 18:32 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-07 18:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-06 23:36 [linux-lvm] LVM complains about /etc/lvm/cache/.cache it created Thomas Deutschmann
2019-08-07 18:32 Thomas Deutschmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).