You are not logged in.
Pages: 1
If I have my swap fstab entry set, I've got errors as systemd suppouse to take care of it by it's own now. I've went through systemd's documentation on the topic and it suppouse to be an option as swap units can also be generated from fstab (and they are generated - just not working as it runs them after automatic swap mount, causing errors). It's fine my be but systemd mounts my swap partition with wrong priority:
[sms@sms ~]$ sudo swapon -s
Filename Type Size Used Priority
/dev/sda4 partition 16777212 0 -1
so it's actually useless, I can't hibernate and it's never used. I have to manually turn it off and set again:
[sms@sms ~]$ sudo swapoff -a
[sms@sms ~]$ sudo swapon -p 100 /dev/sda4
[sms@sms ~]$ sudo swapon -s
Filename Type Size Used Priority
/dev/sda4 partition 16777212 0 100
Edit: even after that, I can't really hibernate, it brings back -1 pariority after waking up...
Last edited by smsware (2014-01-22 18:36:40)
Offline
As far as I know, priority matters only when you have more than one swap. And it defaults to -1.
Offline
Hmm... then why hibernation is not working? After I wake up my PC, it just starts normally with Grub, KDM and applications turning on one by one, as usuall.
Offline
Do you have the "resume" hook in initcpio (remember to run mkinitcpio after adding it)? Do you have "resume=" in grub's kernel line?
Offline
Oh, thank you, I have resume in grub's kernel line but I didn't set up the hook...
Offline
Pages: 1