1 |
________________________________________ |
2 |
From: J. Roeleveld <joost@××××××××.org> |
3 |
Sent: Thursday, December 13, 2018 4:03 PM |
4 |
To: gentoo-user@l.g.o |
5 |
Subject: Re: [gentoo-user] Root on NFS Suspend/Resume support |
6 |
|
7 |
On December 11, 2018 10:59:47 PM UTC, Tsukasa Mcp_Reznor <mcp_reznor@×××××××.com> wrote: |
8 |
|
9 |
_ |
10 |
If you want to resume from NFS, you will need an initramfs that correctly passes the swap device for resuming. |
11 |
I would try the same method as resuming from encrypted swap. |
12 |
-- |
13 |
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
14 |
</mcp_reznor@×××××××.com></joost@××××××××.org> |
15 |
|
16 |
|
17 |
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) |
18 |
|
19 |
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. |
20 |
|
21 |
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. |
22 |
Do the nodes have enough memory to load the filesystem into RAM and run from there? (Like sysresccd can do) |
23 |
If yes, that might allow this to work. |
24 |
|
25 |
-- |
26 |
Joost |
27 |
-- |
28 |
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
29 |
|
30 |
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 :) |