Dear Junjiro,

after a _long_ time with absolutely no issues using an old but stable SuSE 
9.3 diskless setup with aufs, new hardware forces me to use newer kernels 
(and a newer distribution in the end). 

But at this point, I need to adapt a more current kernel to the old setup.

Stable setup: kernel 2.6.11.4 with aufs 20070327
New setup: kernel 2.6.27.39 with aufs2-standalone-27-20100111
The new kernel is from openSUSE 11.1, with (only) aufs2-base.patch and 
aufs2-standalone.patch applied, and the usual :( distro fallout fixed..

The root filesystem is assembled from initrd:

if [ "$rootfstype" = "nfs" ]; then
    base=$(basename $rootdev)
    rwroot=${rootdev%%$base}hosts/$base/$HOSTNAME
    if [ -n "$aufsmnt" ]; then
        insmod $aufs_module
        nfsmount -oro,intr $rootdev /roroot || die 1
        nfsmount -orw,intr $rwroot /rwroot || die 1
        mount -t aufs -o dirs=/rwroot=rw:/roroot=nfsro none /root || die 1
    else
        echo "Mounting root $rootdev"
        nfsmount $opt $rootdev /root || die 1
    fi
fi

for aufs2, I tried these mount variants:

        mount -t aufs -o br:/rwroot=rw:/roroot=ro none /root
resulted in:
        aufs au_xino_create:659:mount[206]: xino doesn't support 
/tmp/.aufs.xino(rootfs)

        mount -t aufs -o br:/rwroot=rw:/roroot=ro,xino=/rwroot/.aufs.xino none 
/root
resulted in:
        aufs au_xino_create:659:mount[206]: xino doesn't support 
/rwroot/.aufs.xino(nfs)

        mount -t aufs -o br:/rwroot=rw:/roroot=ro,noxino none /root
resulted in:
        aufs au_opts_mount:1456:mount[206]: no branches

So far, I'm unable to use aufs2 in my setup, which is a real pity.

Given, that tmpfs seems to be unable to carry the xino file, and so does
nfs, how is a NFS3 diskless setup supposed to work now?

Do you have any ideas or recommendations on how to precede?

Thanks,
Pete

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 

Reply via email to