On Thu, Feb 17, 2011 at 07:07:26PM +0300, Alexey Shabalin 
<a.shaba...@gmail.com> 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. :) )

Attachment: pgp4rYYl1L58Y.pgp
Description: PGP signature

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to