[systemd-devel] Problems with SWAP in 204

Henrik /KaarPoSoft henrik at kaarposoft.dk
Thu Jun 20 03:22:44 PDT 2013


On 06/19/2013 05:35 PM, Colin Guthrie wrote:
> 'Twas brillig, and Henrik /KaarPoSoft at 19/06/13 13:06 did gyre and gimble:
>> However, I do think that you are on to something important here!
>>
>> According to the output of systemctl --full --all --type=swap
>> (attached in previous mail)
>> it seems that systemd is trying to activate swap by every naming scheme
>> (id, uuid, partuuid, partlabel, /dev)
>> without realizing that they symlink to the the same (two) partitions.
>
> This did used to be a problem a while back but I thought it had been
> fixed... perhaps it's regressed in some capacity (or it could just be
> different but similar symptoms)
>
> Col
>
>
I did a few more experiments:

(1)
Boot with only one of the swap partitions in /etc/fstab
No error in journal.
6 swap units all marked as "loaded active active"

(2)
Boot with only the other swap partition in /etc/fstab
No error in journal.
5 swap units all marked as "loaded active active"

(3)
Boot with the other swap partition plus a swap partition on a different disk
in /etc/fstab.
No error in journal.
10 swap units all marked as "loaded active active"

(4)
Boot with all three swap partitions in /etc/fstab
No error in journal.
16 swap units all marked as "loaded active active"

Now this was a bit surprising.
I would have thought I would run into the problems here...
Let's try it again:

(5)
Reboot with no changes from (4)
This time a lot of errors in the journal
And a couple of "loaded inactive dead" / "loaded failed failed" units.
poweroff hangs.

So it would seem that the problem does not manifest itself consistently.

Detailed information is attached.

I earlier conjectured, that poweroff would hang if the swap had been
utilized (eg. by a couple of Virtual Machines with tmpfs disks).
But maybe this is not so.
 From the above it looks like initializing swap on boot may or may not fail,
but iff it does fail, it seems like poweroff also hangs.

I am confused )-:

/H
-------------- next part --------------
======================================================================
USING ONLY ONE SWAP PARTITION
======================================================================

/etc/fstab
----------
UUID=066af73a-d8fd-49b7-b806-05f625681d4d     swap         swap   pri=1           0     0
#UUID=e84600d2-060e-4758-a0aa-e31a069f3ac8     swap         swap   pri=1           0     0

journalctl -b | grep swap
-------------------------
Jun 20 11:28:13 komplett-20 kernel: ALSA sound/pci/hda/patch_realtek.c:402 SKU: swap=0x0
Jun 20 11:28:13 komplett-20 systemd[1]: Activating swap /dev/disk/by-uuid/066af73a-d8fd-49b7-b806-05f625681d4d...
Jun 20 11:28:13 komplett-20 kernel: Adding 67108860k swap on /dev/sda3.  Priority:1 extents:1 across:67108860k 
Jun 20 11:28:13 komplett-20 systemd[1]: Activated swap /dev/disk/by-uuid/066af73a-d8fd-49b7-b806-05f625681d4d.

systemctl --full --all --type=swap
----------------------------------
UNIT                                                                          LOAD   ACTIVE SUB    DESCRIPTION
dev-disk-by\x2did-ata\x2dST1000DM003\x2d1CH162_S1D5J022\x2dpart3.swap         loaded active active /dev/disk/by-id/ata-ST1000DM003-1CH162_S1D5J022-part3
dev-disk-by\x2did-wwn\x2d0x5000c5005b0246f0\x2dpart3.swap                     loaded active active /dev/disk/by-id/wwn-0x5000c5005b0246f0-part3
dev-disk-by\x2dpartlabel-Linux\x5cx20swap.swap                                loaded active active /dev/disk/by-partlabel/Linux\x20swap
dev-disk-by\x2dpartuuid-557e61b0\x2d28ee\x2d40cb\x2d9c06\x2d4d083a86e131.swap loaded active active /dev/disk/by-partuuid/557e61b0-28ee-40cb-9c06-4d083a86e131
dev-disk-by\x2duuid-066af73a\x2dd8fd\x2d49b7\x2db806\x2d05f625681d4d.swap     loaded active active /dev/disk/by-uuid/066af73a-d8fd-49b7-b806-05f625681d4d
dev-sda3.swap                                                                 loaded active active /dev/sda3


======================================================================
USING ONLY THE *OTHER* SWAP PARTITION
======================================================================

/etc/fstab
----------

#UUID=066af73a-d8fd-49b7-b806-05f625681d4d     swap         swap   pri=1           0     0
UUID=e84600d2-060e-4758-a0aa-e31a069f3ac8     swap         swap   pri=1           0     0

journalctl -b | grep swap
-------------------------
Jun 20 11:41:09 komplett-20 kernel: ALSA sound/pci/hda/patch_realtek.c:402 SKU: swap=0x0
Jun 20 11:41:10 komplett-20 systemd[1]: Activating swap /dev/disk/by-uuid/e84600d2-060e-4758-a0aa-e31a069f3ac8...
Jun 20 11:41:10 komplett-20 systemd[1]: Activated swap /dev/disk/by-uuid/e84600d2-060e-4758-a0aa-e31a069f3ac8.
Jun 20 11:41:10 komplett-20 kernel: Adding 67108860k swap on /dev/sda4.  Priority:1 extents:1 across:67108860k 

systemctl --full --all --type=swap
----------------------------------
UNIT                                                                          LOAD   ACTIVE SUB    DESCRIPTION
dev-disk-by\x2did-ata\x2dST1000DM003\x2d1CH162_S1D5J022\x2dpart4.swap         loaded active active /dev/disk/by-id/ata-ST1000DM003-1CH162_S1D5J022-part4
dev-disk-by\x2did-wwn\x2d0x5000c5005b0246f0\x2dpart4.swap                     loaded active active /dev/disk/by-id/wwn-0x5000c5005b0246f0-part4
dev-disk-by\x2dpartuuid-0febfdc2\x2d2901\x2d41ce\x2db9a3\x2d4eabb17d8a4c.swap loaded active active /dev/disk/by-partuuid/0febfdc2-2901-41ce-b9a3-4eabb17d8a4c
dev-disk-by\x2duuid-e84600d2\x2d060e\x2d4758\x2da0aa\x2de31a069f3ac8.swap     loaded active active /dev/disk/by-uuid/e84600d2-060e-4758-a0aa-e31a069f3ac8
dev-sda4.swap                                                                 loaded active active /dev/sda4


======================================================================
USING THE OTHER SWAP PARTITION PLUS ONE ON A DIFFERENT DISK
======================================================================

/etc/fstab
----------
#UUID=066af73a-d8fd-49b7-b806-05f625681d4d     swap         swap   pri=1           0     0
UUID=e84600d2-060e-4758-a0aa-e31a069f3ac8     swap         swap   pri=1           0     0
UUID=a306e5d1-9bd1-4b7a-96f4-70c2245dcd39     swap         swap   pri=1           0     0

journalctl -b | grep swap
-------------------------
Jun 20 11:46:59 komplett-20 kernel: ALSA sound/pci/hda/patch_realtek.c:402 SKU: swap=0x0
Jun 20 11:47:00 komplett-20 systemd[1]: Activating swap /dev/disk/by-uuid/a306e5d1-9bd1-4b7a-96f4-70c2245dcd39...
Jun 20 11:47:00 komplett-20 systemd[1]: Activating swap /dev/disk/by-uuid/e84600d2-060e-4758-a0aa-e31a069f3ac8...
Jun 20 11:47:00 komplett-20 kernel: Adding 67107840k swap on /dev/sdc39.  Priority:1 extents:1 across:67107840k 
Jun 20 11:47:00 komplett-20 systemd[1]: Activated swap /dev/disk/by-uuid/a306e5d1-9bd1-4b7a-96f4-70c2245dcd39.
Jun 20 11:47:00 komplett-20 kernel: Adding 67108860k swap on /dev/sda4.  Priority:1 extents:1 across:67108860k 
Jun 20 11:47:00 komplett-20 systemd[1]: Activated swap /dev/disk/by-uuid/e84600d2-060e-4758-a0aa-e31a069f3ac8.

systemctl --full --all --type=swap
----------------------------------
UNIT                                                                           LOAD   ACTIVE SUB    DESCRIPTION
dev-disk-by\x2did-ata\x2dHitachi_HUA721050KLA330_GTF400P6G6G6YF\x2dpart39.swap loaded active active /dev/disk/by-id/ata-Hitachi_HUA721050KLA330_GTF400P6G6G6YF-part39
dev-disk-by\x2did-ata\x2dST1000DM003\x2d1CH162_S1D5J022\x2dpart4.swap          loaded active active /dev/disk/by-id/ata-ST1000DM003-1CH162_S1D5J022-part4
dev-disk-by\x2did-wwn\x2d0x5000c5005b0246f0\x2dpart4.swap                      loaded active active /dev/disk/by-id/wwn-0x5000c5005b0246f0-part4
dev-disk-by\x2did-wwn\x2d0x5000cca214c2ef9f\x2dpart39.swap                     loaded active active /dev/disk/by-id/wwn-0x5000cca214c2ef9f-part39
dev-disk-by\x2dpartuuid-0febfdc2\x2d2901\x2d41ce\x2db9a3\x2d4eabb17d8a4c.swap  loaded active active /dev/disk/by-partuuid/0febfdc2-2901-41ce-b9a3-4eabb17d8a4c
dev-disk-by\x2dpartuuid-7cd59a88\x2d3c3d\x2d4516\x2dae69\x2d4f51b751a31a.swap  loaded active active /dev/disk/by-partuuid/7cd59a88-3c3d-4516-ae69-4f51b751a31a
dev-disk-by\x2duuid-a306e5d1\x2d9bd1\x2d4b7a\x2d96f4\x2d70c2245dcd39.swap      loaded active active /dev/disk/by-uuid/a306e5d1-9bd1-4b7a-96f4-70c2245dcd39
dev-disk-by\x2duuid-e84600d2\x2d060e\x2d4758\x2da0aa\x2de31a069f3ac8.swap      loaded active active /dev/disk/by-uuid/e84600d2-060e-4758-a0aa-e31a069f3ac8
dev-sda4.swap                                                                  loaded active active /dev/sda4
dev-sdc39.swap                                                                 loaded active active /dev/sdc39


======================================================================
USING ALL THREE SWAP PARTITIONS
======================================================================

/etc/fstab
----------
UUID=066af73a-d8fd-49b7-b806-05f625681d4d     swap         swap   pri=1           0     0
UUID=e84600d2-060e-4758-a0aa-e31a069f3ac8     swap         swap   pri=1           0     0
UUID=a306e5d1-9bd1-4b7a-96f4-70c2245dcd39     swap         swap   pri=1           0     0

journalctl -b | grep swap
-------------------------
Jun 20 11:51:18 komplett-20 kernel: ALSA sound/pci/hda/patch_realtek.c:402 SKU: swap=0x0
Jun 20 11:51:19 komplett-20 systemd[1]: Activating swap /dev/disk/by-uuid/a306e5d1-9bd1-4b7a-96f4-70c2245dcd39...
Jun 20 11:51:19 komplett-20 systemd[1]: Activating swap /dev/disk/by-uuid/066af73a-d8fd-49b7-b806-05f625681d4d...
Jun 20 11:51:19 komplett-20 systemd[1]: Activating swap /dev/disk/by-uuid/e84600d2-060e-4758-a0aa-e31a069f3ac8...
Jun 20 11:51:19 komplett-20 kernel: Adding 67107840k swap on /dev/sdc39.  Priority:1 extents:1 across:67107840k 
Jun 20 11:51:19 komplett-20 systemd[1]: Activated swap /dev/disk/by-uuid/a306e5d1-9bd1-4b7a-96f4-70c2245dcd39.
Jun 20 11:51:19 komplett-20 kernel: Adding 67108860k swap on /dev/sda3.  Priority:1 extents:1 across:67108860k 
Jun 20 11:51:19 komplett-20 systemd[1]: Activated swap /dev/disk/by-uuid/066af73a-d8fd-49b7-b806-05f625681d4d.
Jun 20 11:51:19 komplett-20 kernel: Adding 67108860k swap on /dev/sda4.  Priority:1 extents:1 across:67108860k 
Jun 20 11:51:19 komplett-20 systemd[1]: Activated swap /dev/disk/by-uuid/e84600d2-060e-4758-a0aa-e31a069f3ac8.

systemctl --full --all --type=swap
----------------------------------
UNIT                                                                           LOAD   ACTIVE SUB    DESCRIPTION
dev-disk-by\x2did-ata\x2dHitachi_HUA721050KLA330_GTF400P6G6G6YF\x2dpart39.swap loaded active active /dev/disk/by-id/ata-Hitachi_HUA721050KLA330_GTF400P6G6G6YF-part39
dev-disk-by\x2did-ata\x2dST1000DM003\x2d1CH162_S1D5J022\x2dpart3.swap          loaded active active /dev/disk/by-id/ata-ST1000DM003-1CH162_S1D5J022-part3
dev-disk-by\x2did-ata\x2dST1000DM003\x2d1CH162_S1D5J022\x2dpart4.swap          loaded active active /dev/disk/by-id/ata-ST1000DM003-1CH162_S1D5J022-part4
dev-disk-by\x2did-wwn\x2d0x5000c5005b0246f0\x2dpart3.swap                      loaded active active /dev/disk/by-id/wwn-0x5000c5005b0246f0-part3
dev-disk-by\x2did-wwn\x2d0x5000c5005b0246f0\x2dpart4.swap                      loaded active active /dev/disk/by-id/wwn-0x5000c5005b0246f0-part4
dev-disk-by\x2did-wwn\x2d0x5000cca214c2ef9f\x2dpart39.swap                     loaded active active /dev/disk/by-id/wwn-0x5000cca214c2ef9f-part39
dev-disk-by\x2dpartlabel-Linux\x5cx20swap.swap                                 loaded active active /dev/disk/by-partlabel/Linux\x20swap
dev-disk-by\x2dpartuuid-0febfdc2\x2d2901\x2d41ce\x2db9a3\x2d4eabb17d8a4c.swap  loaded active active /dev/disk/by-partuuid/0febfdc2-2901-41ce-b9a3-4eabb17d8a4c
dev-disk-by\x2dpartuuid-557e61b0\x2d28ee\x2d40cb\x2d9c06\x2d4d083a86e131.swap  loaded active active /dev/disk/by-partuuid/557e61b0-28ee-40cb-9c06-4d083a86e131
dev-disk-by\x2dpartuuid-7cd59a88\x2d3c3d\x2d4516\x2dae69\x2d4f51b751a31a.swap  loaded active active /dev/disk/by-partuuid/7cd59a88-3c3d-4516-ae69-4f51b751a31a
dev-disk-by\x2duuid-066af73a\x2dd8fd\x2d49b7\x2db806\x2d05f625681d4d.swap      loaded active active /dev/disk/by-uuid/066af73a-d8fd-49b7-b806-05f625681d4d
dev-disk-by\x2duuid-a306e5d1\x2d9bd1\x2d4b7a\x2d96f4\x2d70c2245dcd39.swap      loaded active active /dev/disk/by-uuid/a306e5d1-9bd1-4b7a-96f4-70c2245dcd39
dev-disk-by\x2duuid-e84600d2\x2d060e\x2d4758\x2da0aa\x2de31a069f3ac8.swap      loaded active active /dev/disk/by-uuid/e84600d2-060e-4758-a0aa-e31a069f3ac8
dev-sda3.swap                                                                  loaded active active /dev/sda3
dev-sda4.swap                                                                  loaded active active /dev/sda4
dev-sdc39.swap                                                                 loaded active active /dev/sdc39


======================================================================
USING ALL THREE SWAP PARTITIONS
======================================================================

Rebooted the box; exact same config as above, but now we have problems

/etc/fstab
----------
UUID=066af73a-d8fd-49b7-b806-05f625681d4d     swap         swap   pri=1           0     0
UUID=e84600d2-060e-4758-a0aa-e31a069f3ac8     swap         swap   pri=1           0     0
UUID=a306e5d1-9bd1-4b7a-96f4-70c2245dcd39     swap         swap   pri=1           0     0

journalctl -b | grep swap
-------------------------
Jun 20 11:55:06 komplett-20 kernel: ALSA sound/pci/hda/patch_realtek.c:402 SKU: swap=0x0
Jun 20 11:55:06 komplett-20 systemd[1]: Activating swap /dev/disk/by-uuid/e84600d2-060e-4758-a0aa-e31a069f3ac8...
Jun 20 11:55:06 komplett-20 systemd[1]: Activating swap /dev/disk/by-uuid/a306e5d1-9bd1-4b7a-96f4-70c2245dcd39...
Jun 20 11:55:06 komplett-20 systemd[1]: Activated swap /dev/disk/by-uuid/a306e5d1-9bd1-4b7a-96f4-70c2245dcd39.
Jun 20 11:55:06 komplett-20 kernel: Adding 67107840k swap on /dev/sdc39.  Priority:1 extents:1 across:67107840k 
Jun 20 11:55:06 komplett-20 kernel: Adding 67108860k swap on /dev/sda4.  Priority:1 extents:1 across:67108860k 
Jun 20 11:55:06 komplett-20 systemd[1]: Activated swap /dev/disk/by-uuid/e84600d2-060e-4758-a0aa-e31a069f3ac8.
Jun 20 11:55:06 komplett-20 systemd[1]: Activating swap /dev/disk/by-uuid/066af73a-d8fd-49b7-b806-05f625681d4d...
Jun 20 11:55:06 komplett-20 kernel: Adding 67108860k swap on /dev/sda3.  Priority:1 extents:1 across:67108860k 
Jun 20 11:55:06 komplett-20 systemd[1]: Failed to reread /proc/swaps: File exists
Jun 20 11:55:06 komplett-20 systemd[1]: Activated swap /dev/disk/by-uuid/066af73a-d8fd-49b7-b806-05f625681d4d.
Jun 20 11:55:06 komplett-20 systemd[1]: Failed to reread /proc/swaps: File exists
Jun 20 11:55:06 komplett-20 systemd[1]: Activating swap /dev/sda3...
Jun 20 11:55:06 komplett-20 systemd[1]: Activating swap /dev/sda3...
Jun 20 11:55:06 komplett-20 systemd[1]: Activating swap /dev/sda3...
Jun 20 11:55:06 komplett-20 systemd[1]: Activating swap /dev/sda3...
Jun 20 11:55:06 komplett-20 swapon[2610]: swapon: /dev/sda3: swapon failed: Device or resource busy
Jun 20 11:55:06 komplett-20 swapon[2618]: swapon: /dev/sda3: swapon failed: Device or resource busy
Jun 20 11:55:06 komplett-20 systemd[1]: dev-sda3.swap swap process exited, code=exited status=255
Jun 20 11:55:06 komplett-20 systemd[1]: Unit dev-sda3.swap entered failed state.
Jun 20 11:55:06 komplett-20 systemd[1]: Failed to reread /proc/swaps: File exists
Jun 20 11:55:06 komplett-20 systemd[1]: dev-sda3.swap swap process exited, code=exited status=255
Jun 20 11:55:06 komplett-20 systemd[1]: Unit dev-sda3.swap entered failed state.
Jun 20 11:55:06 komplett-20 systemd[1]: Failed to reread /proc/swaps: File exists
Jun 20 11:55:07 komplett-20 systemd[1]: Activating swap /dev/sda3...
Jun 20 11:55:07 komplett-20 swapon[2695]: swapon: /dev/sda3: swapon failed: Device or resource busy
Jun 20 11:55:07 komplett-20 systemd[1]: dev-sda3.swap swap process exited, code=exited status=255
Jun 20 11:55:07 komplett-20 systemd[1]: Failed to activate swap /dev/sda3.
Jun 20 11:55:07 komplett-20 systemd[1]: Unit dev-sda3.swap entered failed state.
Jun 20 11:55:07 komplett-20 systemd[1]: Failed to reread /proc/swaps: File exists
Jun 20 11:55:07 komplett-20 systemd[1]: Activating swap /dev/sda3...
Jun 20 11:55:07 komplett-20 systemd[1]: dev-sda3.swap swap process exited, code=exited status=255
Jun 20 11:55:07 komplett-20 systemd[1]: Failed to activate swap /dev/sda3.
Jun 20 11:55:07 komplett-20 systemd[1]: Unit dev-sda3.swap entered failed state.
Jun 20 11:55:07 komplett-20 systemd[1]: Failed to reread /proc/swaps: File exists
Jun 20 11:55:07 komplett-20 swapon[2704]: swapon: /dev/sda3: swapon failed: Device or resource busy
Jun 20 11:55:07 komplett-20 systemd[1]: Activating swap /dev/sda3...
Jun 20 11:55:07 komplett-20 swapon[2718]: swapon: /dev/sda3: swapon failed: Device or resource busy
Jun 20 11:55:07 komplett-20 systemd[1]: dev-sda3.swap swap process exited, code=exited status=255
Jun 20 11:55:07 komplett-20 systemd[1]: Failed to activate swap /dev/sda3.
Jun 20 11:55:07 komplett-20 systemd[1]: Unit dev-sda3.swap entered failed state.
Jun 20 11:55:07 komplett-20 systemd[1]: Failed to reread /proc/swaps: File exists
Jun 20 11:55:11 komplett-20 systemd[1]: Activating swap /dev/sda3...
Jun 20 11:55:11 komplett-20 swapon[2826]: swapon: /dev/sda3: swapon failed: Device or resource busy
Jun 20 11:55:11 komplett-20 systemd[1]: dev-sda3.swap swap process exited, code=exited status=255
Jun 20 11:55:11 komplett-20 systemd[1]: Failed to activate swap /dev/sda3.
Jun 20 11:55:11 komplett-20 systemd[1]: Unit dev-sda3.swap entered failed state.
Jun 20 11:55:11 komplett-20 systemd[1]: Failed to reread /proc/swaps: File exists

systemctl --full --all --type=swap
----------------------------------
UNIT                                                                           LOAD   ACTIVE   SUB    JOB   DESCRIPTION
dev-disk-by\x2did-ata\x2dHitachi_HUA721050KLA330_GTF400P6G6G6YF\x2dpart39.swap loaded active   active       /dev/disk/by-id/ata-Hitachi_HUA721050KLA330_GTF400P6G6G6YF-part39
dev-disk-by\x2did-ata\x2dST1000DM003\x2d1CH162_S1D5J022\x2dpart3.swap          loaded inactive dead   start /dev/disk/by-id/ata-ST1000DM003-1CH162_S1D5J022-part3
dev-disk-by\x2did-ata\x2dST1000DM003\x2d1CH162_S1D5J022\x2dpart4.swap          loaded active   active       /dev/disk/by-id/ata-ST1000DM003-1CH162_S1D5J022-part4
dev-disk-by\x2did-wwn\x2d0x5000c5005b0246f0\x2dpart3.swap                      loaded inactive dead   start /dev/disk/by-id/wwn-0x5000c5005b0246f0-part3
dev-disk-by\x2did-wwn\x2d0x5000c5005b0246f0\x2dpart4.swap                      loaded active   active       /dev/disk/by-id/wwn-0x5000c5005b0246f0-part4
dev-disk-by\x2did-wwn\x2d0x5000cca214c2ef9f\x2dpart39.swap                     loaded active   active       /dev/disk/by-id/wwn-0x5000cca214c2ef9f-part39
dev-disk-by\x2dpartlabel-Linux\x5cx20swap.swap                                 loaded active   active       /dev/disk/by-partlabel/Linux\x20swap
dev-disk-by\x2dpartuuid-0febfdc2\x2d2901\x2d41ce\x2db9a3\x2d4eabb17d8a4c.swap  loaded active   active       /dev/disk/by-partuuid/0febfdc2-2901-41ce-b9a3-4eabb17d8a4c
dev-disk-by\x2dpartuuid-557e61b0\x2d28ee\x2d40cb\x2d9c06\x2d4d083a86e131.swap  loaded inactive dead   start /dev/disk/by-partuuid/557e61b0-28ee-40cb-9c06-4d083a86e131
dev-disk-by\x2dpartuuid-7cd59a88\x2d3c3d\x2d4516\x2dae69\x2d4f51b751a31a.swap  loaded active   active       /dev/disk/by-partuuid/7cd59a88-3c3d-4516-ae69-4f51b751a31a
dev-disk-by\x2duuid-066af73a\x2dd8fd\x2d49b7\x2db806\x2d05f625681d4d.swap      loaded active   active       /dev/disk/by-uuid/066af73a-d8fd-49b7-b806-05f625681d4d
dev-disk-by\x2duuid-a306e5d1\x2d9bd1\x2d4b7a\x2d96f4\x2d70c2245dcd39.swap      loaded active   active       /dev/disk/by-uuid/a306e5d1-9bd1-4b7a-96f4-70c2245dcd39
dev-disk-by\x2duuid-e84600d2\x2d060e\x2d4758\x2da0aa\x2de31a069f3ac8.swap      loaded active   active       /dev/disk/by-uuid/e84600d2-060e-4758-a0aa-e31a069f3ac8
dev-sda3.swap                                                                  loaded failed   failed       /dev/sda3
dev-sda4.swap                                                                  loaded active   active       /dev/sda4
dev-sdc39.swap                                                                 loaded active   active       /dev/sdc39

cat /proc/swaps
---------------
Filename				Type		Size	Used	Priority
/dev/sdc39                              partition	67107840	0	1
/dev/sda4                               partition	67108860	0	1
/dev/sda3                               partition	67108860	0	1


More information about the systemd-devel mailing list