FS#31367 - [systemd] Fails to mount swap partition

Attached to Project: Arch Linux
Opened by Sujeevan Vijayakumaran (svij) - Friday, 31 August 2012, 20:13 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 01 November 2012, 11:20 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

I switched to systemd (Version: 189-3) today. I've got an issue with mounting the swap-partition. It fails with a timeout after 90 Seconds:

Aug 31 22:00:03 svij-laptop kernel: [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
Aug 31 22:01:31 svij-laptop systemd[1]: Job dev-disk-by\x2duuid-8b4ba41d\x2dc4ce\x2d4b2b\x2d9bdc\x2d53070c65a13a.device/start timed out.
Aug 31 22:01:31 svij-laptop systemd[1]: Job dev-disk-by\x2duuid-8b4ba41d\x2dc4ce\x2d4b2b\x2d9bdc\x2d53070c65a13a.swap/start failed with result 'dependency'.
Aug 31 22:01:31 svij-laptop systemd[1]: Job dev-disk-by\x2duuid-8b4ba41d\x2dc4ce\x2d4b2b\x2d9bdc\x2d53070c65a13a.device/start failed with result 'timeout'.

If I delete the line for the swap-partition in /etc/fstab everything just works fine. Only swap isn't working.
This task depends upon

Closed by  Dave Reisner (falconindy)
Thursday, 01 November 2012, 11:20 GMT
Reason for closing:  Fixed
Comment by Scott Force (Scooby10) - Thursday, 27 September 2012, 17:25 GMT
Linux version 3.5.3-1-ARCH
systemd 189

I just made the move to systemd (mixed system) & have what appears to be the exact same issue except it is occurring for my /var partition. NOTE: This is an LVM partition but I am not sure that is the issue as my root partition (LVM as well) mounts fine via UUID.

Found the same /var issue reported for Mandrake (http://www.digipedia.pl/usenet/thread/18920/216970/).

I tried posting to the forums first but had no response after about 1 week. (https://bbs.archlinux.org/viewtopic.php?pid=1166574#p1166574)

Attached is a debug log file from systemd.
Comment by Scott Force (Scooby10) - Saturday, 29 September 2012, 14:48 GMT
I just edited my fstab for the /var partition changing the UUID to /dev/mapper/vgArchie-lvolVar and everything works fine now. I am not sure why this works as the UUID is correct as it works fine when using sysV and the UUID's for my other volumes work fine as-is.
   fstab (1.3 KiB)
Comment by Dave Reisner (falconindy) - Saturday, 20 October 2012, 16:37 GMT
Is this still a problem?
Comment by Sujeevan Vijayakumaran (svij) - Thursday, 01 November 2012, 01:23 GMT
  • Field changed: Percent Complete (100% → 0%)
This is still a problem.
Comment by Dave Reisner (falconindy) - Thursday, 01 November 2012, 01:23 GMT
Please retry with lvm2 from testing.
Comment by Sujeevan Vijayakumaran (svij) - Thursday, 01 November 2012, 08:27 GMT
Hmm, it works, even with the package lvm2 in Core. I don't know why, but it seems that my UUID from my swap partition changed after moving to systemd. I changed the UUID in my fstab today, so it works now.

Loading...