Hi Ilya, We bring up diskless clients via NFS using Gentoo and AUFS with tmpfs for rootfs, /var /etc and a few other folders.
We use a dracut generated initrd with custom dracut modules in order to mount rootfs, /var and /etc cleanly at boot. The issue is getting /var /etc and rootfs mounted with AUFS early enough in the init process to make it workable. The only way to do it is to have dracut mount it before init. Let me know if you would like more information about the Dracut modules. Cheers, Dan Quoting Ilya Sretensky <koichisen...@gmail.com>: > Hello, Junjiro! > > Thank you for your reply. > > So the mounting script is still necessary for the mounting of ro > branch, as your answer says. > That makes my attempt pointless, since it involves the boot time > mounting script again. > But why is the ro branch mounting necessary in the script precisely > and not in the fstab file? > > By the way, I am not using any custom initramfs or initrd. > I just compile the client boot image for the NFS server with > everything by a single command called genkernel there. > That is how other Gentoo users recommend me to do to keep things > clean and easy. > > Where can I read more examples of fstab files that mount aufs > filesystem and how everything depends on each other at the boot time? > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/