[linux-lvm] Safety of DM_DISABLE_UDEV=1 and --noudevsync

Zdenek Kabelac zdenek.kabelac at gmail.com
Mon Apr 4 08:13:33 UTC 2022


Dne 02. 04. 22 v 1:19 Demi Marie Obenour napsal(a):
> Under what circumstances are DM_DISABLE_UDEV=1 and --noudevsync safe?
> In Qubes OS, for example, I am considering using one or both of these,
> but only for operations performed by qubesd.  systemd-udevd will still
> be running, but it will be told to create no symlinks for the devices
> these commands create or destroy.  systemd-udevd will still be in charge
> of other devices, however, and other lvm2 commands may run that use
> neither of these.

This env variable is not meant to be use on system with running udev.

So it's never safe - and it's only purpose is to be able to make some progress 
in some critical system condition.

Regards

Zdenek



More information about the linux-lvm mailing list