[prev in list] [next in list] [prev in thread] [next in thread]
List: initramfs
Subject: Re: rootnfs + dracut overlay (diskless client shutdown issue)
From: Matteo Guglielmi <Matteo.Guglielmi () dalco ! ch>
Date: 2019-10-30 14:48:48
Message-ID: 1d5815359ae34d9ba21a02b36842ed1d () dalco ! ch
[Download RAW message or body]
Based on the man page you sent,
the live booting involves the transfer of an image
from the server to the client... but we don't want
to transfer any image... I need it to be a rootnfs.
Please correct me if I missed the option that allows
for a live system + overlay over nfs.
Thank you.
________________________________
From: David Cassany <dcassany@suse.de>
Sent: Wednesday, October 30, 2019 7:18:03 AM
To: initramfs@vger.kernel.org
Cc: Matteo Guglielmi
Subject: Re: rootnfs + dracut overlay (diskless client shutdown issue)
Hi,
I am not really a dracut expert but a dracut user. I was suprised by your setup thus \
thought to give my 2 cents.
On Friday, October 25, 2019 1:14:11 PM CET Matteo Guglielmi wrote:
> On a live server I have a centos 8.0 installation
> which is exported via nfs to a bunch of diskless
> clients.
>
> In order to have an independent rw root file system
> on each client I have installed the a dracut module
> named:
>
> /usr/lib/dracut/modules.d/90overlay-root
>
> which I did manually import from the installation of
> the dracut package of a debian buster system.
I'd say this is likely to be the problem. overlay-root is not part of dracut
upstream and overly-root module seams to be Debian specific. I doubt it can work with \
CentOS out of the box. It might not be cross distro.
In order have a good systemd integration I'd say you should use sysroot.mount \
generator and I didn't see any in 90overlay-root. Note that since dracut v049 the \
livenet module supports overlay, I believe this might be an easier setup.
See http://man7.org/linux/man-pages/man7/dracut.cmdline.7.html live booting section \
for the parameters and configuration.
Again, just my 2 cents, I am not a dracut expert.
Regards,
David
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic