I created a PV in an LV, and initrd delays for about 2 minutes.

Debian 9.3, systemd is 232-25+deb9u3.

I added --debug to "systemd-udevd", and some additional tracing to
INITRD/scripts/init-top/udev.  timestamps show that "udevadm" is
exiting with error after 120 seconds (its default timeout).

+ date
Thu Apr 19 02:38:44 UTC 2018
+ udevadm --debug settle || echo "udevadm settle returned non-zero: $?"
...
seq 1248 queued, 'change' 'block'
...
seq 1248 running
...
seq 1248 '/devices/virtual/block/dm-4' is taking a long time
udevadm settle returned non-zero: 1
+ date
Thu Apr 19 02:40:44 UTC 2018

/dev/dm-4 is the PV of the nested VG:
$ ls -l  /dev/outer-vg/nested-pv
lrwxrwxrwx 1 root root 7 Apr 18 22:42 /dev/outer-vg/nested-pv -> ../dm-4

"seq 1281" is the "change block" event for one of the LVs in the
nested VG, and it completes, so it seems to be getting into the nested
VG and getting at least something done:

$ grep 1281 initramfs.debug
seq 1281 queued, 'change' 'block'
seq 1281 running
seq 1281 processed

I don't know how to read the --debug to figure out what 1248 is
waiting for.

-- 
-Justin
justinval...@gmail.com

Reply via email to