On Thu, Feb 17, 2011 at 07:07:26PM +0300, Alexey Shabalin <[email protected]> wrote: > But i have not some rule with "vgchange -a y", and have lv-disk as "LV > Status not available"
Here is what we use at the moment: [Unit] Description=LVM activation DefaultDependencies=no After=udev-settle.service Before=local-fs.target ConditionPathExists=/sbin/vgchange [Service] ExecStart=/sbin/vgchange --sysinit -a y Type=oneshot [Install] WantedBy=sysinit.target Would be nice to have this in upstream lvm2, though. (Mea culpa, I didn't try it, either. :) )
pgp4rYYl1L58Y.pgp
Description: PGP signature
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
