Hi,

> You just want me to help solving your problem around aufs. It may or may
> not be a bug of aufs, currently we are not sure. And we are searching the
> cause now, aren't we?

Yes, I want to help. I think is a aufs bug for two reasons:

- unionfs don't have this bug
- It is the filesystem that be corrupted

> If it is a bug of aufs, I shall appriciate your report, answers, time,
> endurance and everything about that.

I try'ing to give all you need.

> Currently I do know nothing about nash, switch_root or switchroot. Where
> can I get those source code and check which systemcall was issued?

nash man:
http://www.die.net/doc/linux/man/man8/nash.8.html

switchroot is a internal command from nash, and it's like pivot_root but more 
complex (I think).

My initrd is like this:
mount -n -t aufs -o 
br=/etfw/.etfw_changes=rw:/cdrom/confs=ro:/cdrom/tmpdir/14=ro:/cdrom/tmpdir/13=ro:/cdrom/tmpdir/12=ro:/cdrom/tmpdir/11=ro:/cdrom/tmpdir/10=ro:/cdrom/tmpdir/9=ro:/cdrom/tmpdir/8=ro:/cdrom/tmpdir/7=ro:/cdrom/tmpdir/6=ro:/cdrom/tmpdir/5=ro:/cdrom/tmpdir/4=ro:/cdrom/tmpdir/3=ro:/cdrom/tmpdir/2=ro:/cdrom/tmpdir/1=ro:/etfw=ro
 
none /filesystem

mount --move /etfw/.etfw_changes /filesystem/.etfw_changes
/bin/chroot "/filesystem" /bin/bash -c 'echo radius:x:81:425:system user for 
freeradius:/var/log/radius/radacct:/bin/false' >> /etc/passwd
exit

exec nash /sbin/switch_root > /dev/null

After this, is a centos 4 startup alike.

Do you need tests/changes?

Regards,
Fernando Gomes

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Reply via email to