# grep swap /etc/fstab UUID="ce21a1d3-5394-4656-a3df-7f833d324202" none swap sw 0 0 # systemctl status dev-disk-by\x2duuid-ce...2d5394\x2d4656\x2da3df\x2d7f833d324202.swap dev-disk-byx2duuid-ce...2d5394x2d4656x2da3dfx2d7f833d324202.swap - /dev/disk/byx2duuid/ce...2d5394x2d4656x2da3dfx2d7f833d324202 Loaded: loaded Active: failed (Result: exit-code) since Wed 2013-11-20 18:43:41 CET; 2s ago What: /dev/disk/byx2duuid/ce...2d5394x2d4656x2da3dfx2d7f833d324202 Process: 2937 ExecActivate=/sbin/swapon /dev/disk/byx2duuid/ce...2d5394x2d4656x2da3dfx2d7f833d324202 (code=exited, status=255) Nov 20 18:43:41 leo.jlec.de swapon[2937]: swapon: stat failed /dev/disk/byx2duuid/ce...2d5394x2d4656x2da3dfx2d7f833d324202: No such file or directory Nov 20 18:43:41 leo.jlec.de systemd[1]: dev-disk-byx2duuid-ce...2d5394x2d4656x2da3dfx2d7f833d324202.swap swap process exited, code=exited status=255 Nov 20 18:43:41 leo.jlec.de systemd[1]: Failed to activate swap /dev/disk/byx2duuid/ce...2d5394x2d4656x2da3dfx2d7f833d324202. Nov 20 18:43:41 leo.jlec.de systemd[1]: Unit dev-disk-byx2duuid-ce...2d5394x2d4656x2da3dfx2d7f833d324202.swap entered failed state.
This is on gentoo using systemd-208
Please attach non-ellipsized logs and the output of 'udevadm info /dev/<swapdevice>'.
(In reply to comment #2) > Please attach non-ellipsized logs what is that?
# udevadm info /dev/sda2 P: /devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2 N: sda2 S: disk/by-id/ata-OCZ-VERTEX3_OCZ-FAY35739ZE386Q25-part2 S: disk/by-id/wwn-0x5e83a97e7cc787b8-part2 S: disk/by-label/swap S: disk/by-partlabel/Linux\x20swap S: disk/by-partuuid/7575515c-f849-4c2e-9755-cefc53db11f1 S: disk/by-uuid/ce21a1d3-5394-4656-a3df-7f833d324202 E: DEVLINKS=/dev/disk/by-id/ata-OCZ-VERTEX3_OCZ-FAY35739ZE386Q25-part2 /dev/disk/by-id/wwn-0x5e83a97e7cc787b8-part2 /dev/disk/by-label/swap /dev/disk/by-partlabel/Linux\x20swap /dev/disk/by-partuuid/7575515c-f849-4c2e-9755-cefc53db11f1 /dev/disk/by-uuid/ce21a1d3-5394-4656-a3df-7f833d324202 E: DEVNAME=/dev/sda2 E: DEVPATH=/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2 E: DEVTYPE=partition E: ID_ATA=1 E: ID_ATA_DOWNLOAD_MICROCODE=1 E: ID_ATA_FEATURE_SET_APM=1 E: ID_ATA_FEATURE_SET_APM_CURRENT_VALUE=254 E: ID_ATA_FEATURE_SET_APM_ENABLED=1 E: ID_ATA_FEATURE_SET_HPA=1 E: ID_ATA_FEATURE_SET_HPA_ENABLED=1 E: ID_ATA_FEATURE_SET_PM=1 E: ID_ATA_FEATURE_SET_PM_ENABLED=1 E: ID_ATA_FEATURE_SET_PUIS=1 E: ID_ATA_FEATURE_SET_PUIS_ENABLED=0 E: ID_ATA_FEATURE_SET_SECURITY=1 E: ID_ATA_FEATURE_SET_SECURITY_ENABLED=0 E: ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN=2 E: ID_ATA_FEATURE_SET_SECURITY_FROZEN=1 E: ID_ATA_FEATURE_SET_SMART=1 E: ID_ATA_FEATURE_SET_SMART_ENABLED=1 E: ID_ATA_ROTATION_RATE_RPM=0 E: ID_ATA_SATA=1 E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1 E: ID_ATA_SATA_SIGNAL_RATE_GEN2=1 E: ID_ATA_WRITE_CACHE=1 E: ID_ATA_WRITE_CACHE_ENABLED=1 E: ID_BUS=ata E: ID_FS_LABEL=swap E: ID_FS_LABEL_ENC=swap E: ID_FS_TYPE=swap E: ID_FS_USAGE=other E: ID_FS_UUID=ce21a1d3-5394-4656-a3df-7f833d324202 E: ID_FS_UUID_ENC=ce21a1d3-5394-4656-a3df-7f833d324202 E: ID_FS_VERSION=2 E: ID_MODEL=OCZ-VERTEX3 E: ID_MODEL_ENC=OCZ-VERTEX3\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 E: ID_PART_ENTRY_DISK=8:0 E: ID_PART_ENTRY_NAME=Linux\x20swap E: ID_PART_ENTRY_NUMBER=2 E: ID_PART_ENTRY_OFFSET=411648 E: ID_PART_ENTRY_SCHEME=gpt E: ID_PART_ENTRY_SIZE=7974912 E: ID_PART_ENTRY_TYPE=0657fd6d-a4ab-43c4-84e5-0933c84b4f4f E: ID_PART_ENTRY_UUID=7575515c-f849-4c2e-9755-cefc53db11f1 E: ID_PART_TABLE_TYPE=gpt E: ID_PART_TABLE_UUID=6d9bda84-2d6f-4585-90d0-1d86200735b9 E: ID_REVISION=2.22 E: ID_SERIAL=OCZ-VERTEX3_OCZ-FAY35739ZE386Q25 E: ID_SERIAL_SHORT=OCZ-FAY35739ZE386Q25 E: ID_TYPE=disk E: ID_WWN=0x5e83a97e7cc787b8 E: ID_WWN_WITH_EXTENSION=0x5e83a97e7cc787b8 E: MAJOR=8 E: MINOR=2 E: SUBSYSTEM=block E: TAGS=:systemd: E: UDISKS_PARTITION=1 E: UDISKS_PARTITION_ALIGNMENT_OFFSET=0 E: UDISKS_PARTITION_LABEL=Linux swap E: UDISKS_PARTITION_NUMBER=2 E: UDISKS_PARTITION_OFFSET=210763776 E: UDISKS_PARTITION_SCHEME=gpt E: UDISKS_PARTITION_SIZE=4083154944 E: UDISKS_PARTITION_SLAVE=/sys/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda E: UDISKS_PARTITION_TYPE=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F E: UDISKS_PARTITION_UUID=7575515C-F849-4C2E-9755-CEFC53DB11F1 E: UDISKS_PRESENTATION_NOPOLICY=0 E: USEC_INITIALIZED=80824
(In reply to comment #3) > (In reply to comment #2) > > Please attach non-ellipsized logs > > what is that? Without "...". If you use '-l' for 'systemctl status' and journalctl it should be enough.
Nov 20 18:44:13 leo.jlec.de swapon[461]: swapon: /dev/disk/by-uuid/ce21a1d3-5394-4656-a3df-7f833d324202: swapon failed: Device or resource busy Nov 20 18:44:13 leo.jlec.de systemd[1]: dev-disk-by\x2duuid-ce21a1d3\x2d5394\x2d4656\x2da3df\x2d7f833d324202.swap swap process exited, code=exited status=255 Nov 20 18:44:13 leo.jlec.de systemd[1]: Failed to activate swap /dev/disk/by-uuid/ce21a1d3-5394-4656-a3df-7f833d324202. Nov 20 18:44:13 leo.jlec.de systemd[1]: Dependency failed for Swap. Nov 20 18:44:13 leo.jlec.de systemd[1]: Unit dev-disk-by\x2duuid-ce21a1d3\x2d5394\x2d4656\x2da3df\x2d7f833d324202.swap entered failed state.
Interestingly it is activating the swap before: Nov 20 18:44:13 leo.jlec.de systemd[1]: Activating swap /dev/sda2... Nov 20 18:44:13 leo.jlec.de systemd[1]: Activating swap /dev/disk/by-uuid/ce21a1d3-5394-4656-a3df-7f833d324202...
Or as the timestamp is equal it is probably the start point of the action.
Can you post the full boot log, best in debug mode (add 'debug' on the kernel command line)?
Created attachment 89567 [details] boot.log
*** This bug has been marked as a duplicate of bug 69835 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.