Talk:Diskless nodes

From Gentoo Wiki
Jump to:navigation Jump to:search
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions.


Talk status
This discussion is still ongoing.

I would appreciate if I/somebody could add a section like: NFS root an Suspend to RAM.

Why: I have a diskless node and I do suspend to RAM. Suspend works OK but resume freezes if certain steps, besides the ones already mentioned on the page, are not done.

When the machine wakes up, care should be taken that nothing puts down the network interface, since once the interface is down it will not become available again, due to the fact that all binaries are over NFS. Result is a frozen the machine. Several steps, besides the ones already mentioned on the page, need to be done to ensure this:

  • Uninstall any sys-apps/netplug or sys-apps/ifplugd if installed.
  • Add in /etc/rc.conf rc_hotplug="!net.*"

Diskless node advice

Talk status
This discussion is still ongoing.

Our School district has been using diskless clients for 13 or so years now. I've found Gentoo documentation is great for finding various optimizations and solutions to issues. I'd like to share back to Gentoo some optimizations that we have been using:

  • leverage a mix of nfs + nbd + squashfs + aufs + zram
    • nbd+squashfs on /usr and /opt give you a much faster desktop experience.
    • aufs allows for read(nfs/nbd) and write(ram) file system.
    • aufs allows for multiple versions of nvidia drivers plus open source drivers on a single base image.
    • zram-swap allows for compressed swap space - makes the thin clients more stable and graceful under pressure
  • Here are some Ubuntu-based scripts to optimize diskless

Thanks --Dmonty (talk) 20:26, 27 May 2016 (UTC)

Dmonty , thanks for the advice. Perhaps some of it will get merged into the main article. Please remember to sign your contributions using the "Signature and timestamp" button in the menu bar above! Kind regards, --Maffblaster (talk) 20:09, 27 May 2016 (UTC)