Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Root on NFS Suspend/Resume support
Date: Thu, 13 Dec 2018 21:03:37
Message-Id: 2886AB90-7A5D-4D36-9A9E-3C1E75561A8C@antarean.org
In Reply to: Re: [gentoo-user] Root on NFS Suspend/Resume support by Tsukasa Mcp_Reznor
1 On December 11, 2018 10:59:47 PM UTC, Tsukasa Mcp_Reznor <mcp_reznor@×××××××.com> wrote:
2 >_
3 >If you want to resume from NFS, you will need an initramfs that
4 >correctly passes the swap device for resuming.
5 >I would try the same method as resuming from encrypted swap.
6 >--
7 >Sent from my Android device with K-9 Mail. Please excuse my brevity.
8 ></mcp_reznor@×××××××.com></joost@××××××××.org>
9 >
10 >
11 >I appreciate the response, I'm not trying to use hibernate but rather
12 >suspend to ram. I don't use swap over NFS, the machines that do have
13 >hard drives installed use them for local swap and cachefilesd (which is
14 >amazingly performant)
15 >
16 >In the past when I've tried to use an initramfs, it's lead to boot
17 >hangs that I haven't quite figured out the root cause for, I was
18 >trying to use genkernel to build them, maybe I'll give dracut a shot
19 >and see if that fixes the problem, you could very well be on to
20 >something.
21
22 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.
23 Do the nodes have enough memory to load the filesystem into RAM and run from there? (Like sysresccd can do)
24 If yes, that might allow this to work.
25
26 --
27 Joost
28 --
29 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

Subject Author
Re: [gentoo-user] Root on NFS Suspend/Resume support Tsukasa Mcp_Reznor <mcp_reznor@×××××××.com>