[systemd-devel] how disable fsck on swap+lvm

Miklos Vajna vmiklos at frugalware.org
Thu Feb 17 16:37:20 PST 2011


On Thu, Feb 17, 2011 at 07:07:26PM +0300, Alexey Shabalin <a.shabalin at 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. :) )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110218/affd6913/attachment.pgp>


More information about the systemd-devel mailing list