Re: rootnfs + dracut overlay (diskless client shutdown issue)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
Sent: Wednesday, October 30, 2019 7:18:03 AM
To: initramfs@xxxxxxxxxxxxxxx
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



[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux