Dne 31. 07. 19 v 11:33 Julian Andres Klode napsal(a):
On Wed, Jul 31, 2019 at 11:21:10AM +0200, Zdenek Kabelac wrote:
Debian and Ubuntu, as Debian requires support for non-systemd inits, and
Ubuntu requires event-based root device finding in initramfs. Surely that's
This is nonsense. No Ubuntu release has systemd-based background scanning,
and all of them work fine. Also, it's still possible to not use backgrounding
by building lvm2 accordingly - so much for "not working".
lvm2 activation cannot be time-bounded by random udev-rule timeout
(being chosen by systemd/udev developers anywhere between 90-180seconds).
The fact it 'mostly' works is because majority of activations are finished
with this time constrain, but it doesn't make it 'a workable' solution.
So as long as there is 'randomly' killing udev timeout - we can't relocate
activation back into udev rule.
In our current development series, we did merge the new change to enable
the background handling from Debian, and this caused our initramfs to fail.
Sorry to say this, we are aware of several other non-upstream accepted
'workarounds' within Debian lvm2 packages - I can only wish users affected
with problems caused by these 'hacks' would be asking for repair and recovery
scenarios only and directly their authors...
Hence, this approach to revert to the previous behavior where needed (as it
was clearly working), and still use systemd if available.
When it appears to work on a system with a single disk really doesn't make it
'clearly working' - we are providing solution for thousands disks based
heavily loaded servers as well, so there is not much wish to 'hack-in'
occasionally working fix.
So some other proposal the offloads activation out of udev rule is needed.
Regards
Zdenek
_______________________________________________
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/