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

Lennart Poettering lennart at poettering.net
Wed Feb 16 09:57:30 PST 2011


On Wed, 16.02.11 17:37, Alexey Shabalin (a.shabalin at gmail.com) wrote:

> You can see in log:
> Feb 16 16:04:51 host-29 kernel: [   11.636564] Adding 524284k swap on
> /dev/mapper/VG1-Swap.  Priority:-1 extents:1 across:524284k
> Feb 16 16:04:51 host-29 kernel: [   11.669141] clock[1954]: Setting
> system clock (localtime): succeeded
> Feb 16 16:04:51 host-29 kernel: [   11.770936] clock[1965]: Today's
> date: Wed Feb 16 16:03:48 MSK 2011 succeeded
> Feb 16 16:04:51 host-29 kernel: [   68.503001] systemd[1]: Job
> dev-disk-by\x2duuid-bf5d2d3e\x2d174c\x2d44ea\x2dbf89\x2dcd6ecead5f81.device/start
> timed out.
> 
> swap on lvm(VG1-Swap), and systemd run fsck on this partition.

This does not show anything related to fsck?

Also, systemd will invoke hwclock for you anyway. You need no additional
clock utilities.

> I know that swap on lvm no good practics, but need foolproof.

If you use LVM make sure to use a new version that properly installs its
udev rules.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list