[Bug 28014] Re: add support for writeable read-only nfsroot through unionfs

Thomas Hotz thomas.hotz at gmail.com
Tue Oct 2 05:29:48 UTC 2012


** Changed in: initramfs-tools (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/28014

Title:
  add support for writeable read-only nfsroot through unionfs

Status in “initramfs-tools” package in Ubuntu:
  Confirmed

Bug description:
  I am willing to implement this and since I don't know a better place to discuss
  how to do it, I post it as an enhancement request.

  I would like to serve multiple ubuntu fat clients sharing one NFS root. The root
  would be ro, being unioned with writeable tmpfs getting changes to /etc, /tmp,
  /var, other dirs being ro. Changes would be lost at shutdown. What am I about to do:

  1. use the kernel command-line option saying that the nfsroot is ro.
  2. have a hook for including unionfs module (and userspace utils, if needed)
  3. put a simple script /scripts/nfs-bottom that would make the union of a rw
  tmpfs with /etc, /tmp and /var. (If there is another kernel cmdline option to do
  this, it could perhaps be included in the initrafs-tools discribution?)
  (4.) Custom init script on the real root that would generate xorg.conf for the
  client it runs on, as all the rest is pretty much autodetected.

  AFAIK something very similar is used for the live CD, are there some pointers
  for this?

  Regards,

  Vaclav Smilauer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/28014/+subscriptions




More information about the foundations-bugs mailing list