From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 4/5] lvm2: Create lock files in /run/lvm Date: Wed, 15 Jan 2020 15:20:11 +0000 Message-ID: <20200115152012.12345-4-michael.tremer@ipfire.org> In-Reply-To: <20200115152012.12345-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1070047696849974553==" List-Id: --===============1070047696849974553== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The default is /var/lock which is not mounted at the time when udev is initialising the volumes. Therefore after a reboot, LVM devices won't show up unless pvscan is executed manually. Signed-off-by: Michael Tremer --- lfs/lvm2 | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs/lvm2 b/lfs/lvm2 index b95c47517..a9e02b692 100644 --- a/lfs/lvm2 +++ b/lfs/lvm2 @@ -80,6 +80,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --with-usrlibdir=/usr/lib \ --enable-pkgconfig \ --with-udevdir=/lib/udev/rules.d \ + --with-default-locking-dir=/run/lvm \ --enable-lvmetad \ --enable-udev_rules \ --enable-udev_sync -- 2.20.1 --===============1070047696849974553==--