On 02/09/2017 09:19 AM, Patrick O'Callaghan wrote: > On Thu, 2017-02-09 at 18:07 +0100, Massimo Canonico wrote: >> Hi all, >> do you guys were able to hibernate your Fedora 25. >> In my previous fedora pm-hibernate worked perfectly but now it seems >> much more complicate. >> I tried to install this extension for gnome: >> https://extensions.gnome.org/extension/755/hibernate-status-button/ >> >> but probably I have something more to do. >> >> Any suggestion is more than welcome. > > pm-suspend and pm-hibernate are deprecated. Now it's done via systemd > (isn't everything?). I expect the Gnome extension just calls that but I > use KDE so I wouldn't know (the KDE hibernate/suspend does work). > > See 'man systemd-suspend.service'. > > One thing to check: you must have enough free space in swap or the > hibernation will fail (though suspend should still work). Use 'free' to > see how much free space there is and add some more if it's not enough. > How do you know how much is enough? It depends on your workload so you > basically guess, which is pretty much what you do with swap space > anyway. The old "rule of thumb" for swap space was twice your RAM size (16GB RAM = 32GB swap). Few people do that now, but disks are relatively cheap. I still use the 2x rule but I've been a Unix geek for 40 years and it's hard to teach this old dog new tricks: [root@prophead ~]# free total used free shared buff/cache available Mem: 16290516 7885948 974060 474628 7430508 7468044 Swap: 39047164 412 39046752 ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - Duct Tape + Magic Marker = Label Maker! - ---------------------------------------------------------------------- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx