Public bug reported:
Jaunty, kernel 2.6.28-11-generic, aufs
Usecase: machines bootet via PXE with an NFS r/o Root filesystem; an aufs
branch that overlays a local r/w ext3 partition.
Expected results (as was before with feisty, hardy and unionfs): everything
works as expected.
Actual results: df reports 0 bytes free (which is false, as I can write to /
until the ext3-overaly is full), so apt-get install and other applications that
depend on knowing the amount of free space available beforehand fail.
We tested a few different flavours:
aufs r/o branch on CDROM, r/w branch on local ext3 -> works as expected
aufs r/o branch on local ext3, r/w branch on local ext3 -> works as expected
aufs r/o branch on CDROM, r/w branch on ramdisk -> works as expected
aufs r/o branch on NFS, r/w branch on ramdisk -> works as expected
For this configuration, the corresponding entries from /proc/mounts:
aufsroot / aufs
rw,si=e2d0eebb2bca55d4,xino=/local-root/.aufs.xino,br:/local-root=rw:/net-root=ro+wh
0 0
tmpfs /local-root tmpfs rw,size=786432k 0 0
129.70.xxx.xxx:/readonly-jaunty64 /etc/netboot/readonly nfs
ro,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,nointr,nolock,proto=tcp,timeo=7,retrans=10,sec=sys,addr=129.70.xxx.xxx
0 0
aufs r/o branch on NFS, r/w branch on local ext3 -> reports 0 bytes free
For this configuration, the corresponding entries from /proc/mounts:
rootfs / rootfs rw 0 0
129.70.xxx.xx:/readonly-jaunty64 /net-root nfs
ro,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,nointr,nolock,proto=tcp,timeo=7,retrans=10,sec=sys,addr=129.70.xxx.xxx
0 0
aufsroot / aufs
rw,si=b196f1ef99f70379,xino=/local-root/.aufs.xino,br:/local-root=rw:/net-root=ro+wh
0 0
/dev/sda8 /local-root ext2 rw,errors=continue 0 0
129.70.xxx.xxx:/readonly-jaunty64 /etc/netboot/readonly nfs
ro,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,nointr,nolock,proto=tcp,timeo=7,retrans=10,sec=sys,addr=129.70.xxx.xxx
0 0
/dev/sda8 /etc/netboot/writeable ext2 rw,errors=continue 0 0
lin...@kaboom:/tmp$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
aufs fails to report free space when the readonly-branch comes via nfs and the
readwrite-branch via a local ext3
https://bugs.launchpad.net/bugs/382842
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs