I'm trying to setup an aufs branch that consists of another aufs branch
and a davfs mount. I'm using the latest CVS checkout (20090126), so I
realize I'm in unsupported territory, but I'm wondering if anyone has
gotten this to work. I can get it almost working, but I get corrupted
directory listings and inaccessible files.

Here's my system setup:

* OS. 2.6.22.9
* Config: attached
* Mounts:
rootfs / rootfs rw 0 0
/dev/root.old / ext2 rw 0 0
/proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
/dev/hdc /cdrom iso9660 ro 0 0
/dev/cloop /KNOPPIX iso9660 ro 0 0
/ramdisk /ramdisk tmpfs rw 0 0
/UNIONFS /UNIONFS aufs
rw,si=f78e2480,xino=/ramdisk/.aufs.xino,br:/ramdisk=rw:/KNOPPIX=rr 0 0
tmpfs /UNIONFS/lib/init/rw tmpfs rw,nosuid 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
/dev/root.old /dev/.static/dev ext2 rw 0 0
tmpfs /dev tmpfs rw 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
/dev/shm /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0
rpc_pipefs /UNIONFS/var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
http://bccd-ng.cluster.earlham.edu/svn/bccd-ng/trunk/trees/software/bccd/software/
/mnt/bccd coda rw,nosuid,nodev 0 0
none /UNIONFS/bccd/software.local aufs
rw,si=f60c8e80,xino=/UNIONFS/bccd/software.local/.aufs.xino,br:/UNIONFS/bccd/software.local=rw:/mnt/bccd=ro
0 0

I'm using /UNIONFS/bccd/software as my read/write branch, /mnt/bccd as
my read-only branch, and /UNIONFS/bccd/software.local as the mount point
for aufs. When I run "ls -l" on the mount, I get output like this:

ls: cannot access /UNIONFS/bccd/software.local/PSC_DX: Operation not
permitted
?????????? ? ? ? ?            ? PSC_DX

Running "ls -l" on the branches returns properly:

$ ls -l /mnt/bccd/
-rwxr-xr-x  1 root root  22 Dec 16 23:28 PSC_DX
$ ls -l /UNIONFS/bccd/software.local/
lrwxrwxrwx  1 root root   16 Apr 16 22:29 PSC_DX -> PSC_DX-04.3.3000

Has anyone got this working, or can confirm that this is completely
unworkable? Is branch-within-a-branch support going to be coming back
with the new git aufs?

Thanks,

-- 
-- Skylar Thompson ([email protected])
-- http://www.cs.earlham.edu/~skylar/

Attachment: config.gz
Description: application/gzip

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p

Reply via email to