add support for writeable read-only nfsroot through unionfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Incomplete
|
Wishlist
|
Unassigned |
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
Changed in initramfs-tools: | |
assignee: | adconrad → nobody |
Changed in initramfs-tools (Ubuntu): | |
status: | New → Confirmed |
I'm working on something very similar: public / on nfs and client-specify overlays using unionfs. If you still want to get this going, i can give you some pointers. Most of the work is already done. Since Ubuntu has bulletproof-x, it shouldn't be too hard to create a new xorg.conf.
Regards,
Michael