You are not logged in.

#1 2013-09-19 06:09:02

89c51
Member
Registered: 2012-06-05
Posts: 741

dev-sda2.swap fail

i did a systemctl and saw this:

dev-sda2.swap                                                loaded failed failed    /dev/sda2
systemctl status dev-sda2.swap
dev-sda2.swap - /dev/sda2
   Loaded: loaded (/run/systemd/generator.late/dev-sda2.swap)
   Active: failed (Result: exit-code) since Thu 2013-09-19 09:00:38 EEST; 6min ago
     What: /dev/sda2
  Process: 273 ExecActivate=/sbin/swapon /dev/sda2 (code=exited, status=255)
tmpfs						/tmp		tmpfs		nodev,nosuid			0	0

UUID=33D6-79D6 					/boot/efi 	vfat 		defaults 			0	1
UUID=8fa200a9-4cd4-4967-853c-887ee6cae652 	none 		swap 		defaults			0	0
UUID=447f9004-da86-4f8b-b92a-2cdd4fc5b61b	/		ext4		defaults,noatime,discard	0	1

Any ideas on what can be wrong?

Offline

#2 2013-09-19 07:08:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: dev-sda2.swap fail

Known bug: search for swap here or on the bug tracker...


Moving to NC.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-09-19 09:23:47

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: dev-sda2.swap fail

Is it harmless??

Offline

#4 2013-09-19 14:03:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: dev-sda2.swap fail

89c51 wrote:

Is it harmless??

Yup, just activate swap by hand: https://mailman.archlinux.org/pipermail … 34149.html

Last edited by karol (2013-09-19 14:03:36)

Offline

#5 2013-09-19 14:07:24

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: dev-sda2.swap fail

It's OK after the latest reboot. If it's harmless it doesn't matter much. I ll wait for the devs to fix it.

Offline

#6 2013-09-19 21:26:46

gsgleason
Member
Registered: 2012-10-08
Posts: 72

Re: dev-sda2.swap fail

change 'defaults' to 'noauto' in your fstab for the swap device.

Offline

#7 2013-10-06 18:07:47

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: dev-sda2.swap fail

Sorry for bumping but wasn't this supposed to have been fixed with systemd 208??

 systemctl status dev-sda2.swap
dev-sda2.swap - /dev/sda2
   Loaded: loaded (/run/systemd/generator.late/dev-sda2.swap)
   Active: failed (Result: exit-code) since Sun 2013-10-06 21:02:46 EEST; 3min 22s ago
     What: /dev/sda2
  Process: 277 ExecActivate=/sbin/swapon /dev/sda2 (code=exited, status=255)

Last edited by 89c51 (2013-10-06 18:08:02)

Offline

Board footer

Powered by FluxBB