4 ms·
NFS diskless is the more common approach I've used but this is very cool.
by ggm 6mo ago
NFS diskless is the more common approach I've used but this is very cool.
- ahepp 6mo agoWhen I tried root-on-nfs I had a lot of issues. The Redhat and Arch package managers don't seem to like it (presumably a sqlite thing?).
- contingencies 6mo agoYou can download the rootfs, extract it to a ramdisk, and just run in memory. This is fast for everything. Unfortunately, memory just got super expensive. Fortunately, Linux requires ~no memory to do many useful things.
- KaiserPro 6mo agoNFS diskless was easier for me to setup when I was doing it. THe caveat was, you needed readonly root, so that meant freezing the OS, anything that needed changing was either stored in a ram disk (that you need to setup) or a per host nfs area (kinda like overlayfs, but not)
- yjftsjthsd-h 6mo agoWhy would you need a read-only root? Do you mean to share across multiple machines?
- KaiserPro 6mo agoYeah it makes things a bit easier to debug. Originally my system was designed to run on multiple machines at once. If you needed to update the root dir, you chrooted into it and did the (yum) update.