________________________________________
From: J. Roeleveld <jo...@antarean.org>
Sent: Thursday, December 13, 2018 4:03 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Root on NFS Suspend/Resume support

On December 11, 2018 10:59:47 PM UTC, Tsukasa Mcp_Reznor 
<mcp_rez...@hotmail.com> wrote:

_
If you want to resume from NFS, you will need an initramfs that correctly 
passes the swap device for resuming.
I would try the same method as resuming from encrypted swap.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
</mcp_rez...@hotmail.com></jo...@antarean.org>


I appreciate the response, I'm not trying to use hibernate but rather suspend 
to ram.  I don't use swap over NFS, the machines that do have hard drives 
installed use them for local swap and cachefilesd (which is amazingly 
performant)

In the past when I've tried to use an initramfs, it's lead to boot hangs that I 
haven't quite figured out the root cause for,  I was trying to use genkernel to 
build them, maybe I'll give dracut a shot and see if that fixes the problem, 
you could very well be on to something.

I believe "suspend to ram" might switch off the network (and kill a NFS 
connection in the process). This might be the cause of the issue.
Do the nodes have enough memory to load the filesystem into RAM and run from 
there? (Like sysresccd can do)
If yes, that might allow this to work.

--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Probably not enough ram, the lowest machine has 4 gigs, as an update I 
installed and tried out dracut, that didn't make any difference but each system 
booted fine an initrd which is a change for sure.  If I manually suspend for up 
to say 10 seconds, they resume just fine.  I like the idea S2ram killing the 
network as the cause, I thought enabling wake on lan would keep it from being 
switched off, I'll see if I can research the suspending/resuming routines and 
blacklist or whatever to keep it running, thanks for the tip :)

Reply via email to