[systemd-devel] Problems with SWAP in 204

Henrik /KaarPoSoft henrik at kaarposoft.dk
Wed Jun 19 01:02:01 PDT 2013


On 06/19/2013 03:39 AM, Tom Gundersen wrote:
> On Wed, Jun 19, 2013 at 12:16 AM, Henrik /KaarPoSoft
> <henrik at kaarposoft.dk> wrote:
>> When booting, I get a few errors related to swap; in particular:
>> Failed to reread /proc/swaps: File exists
>> swapon: /dev/sda3: swapon failed: Device or resource busy
>
> The output of "systemctl --full --all --type=swap" might be useful as well.

Attached.

/Henrik

-------------- next part --------------
sudo systemctl --full --all --type=swap
---------------------------------------

UNIT                                                                          LOAD   ACTIVE   SUB    JOB   DESCRIPTION
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\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\x2duuid-066af73a\x2dd8fd\x2d49b7\x2db806\x2d05f625681d4d.swap     loaded active   active       /dev/disk/by-uuid/066af73a-d8fd-49b7-b806-05f625681d4d
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

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
JOB    = Pending job for the unit.

11 loaded units listed.
To show all installed unit files use 'systemctl list-unit-files'.


More information about the systemd-devel mailing list