I am trying to test aufs. I have given up on using unionfs, as it keeps panicing my kernel. Unfortunately, I can't get aufs to run at all.

I am using the latest source from CVS as of Friday, Oct. 24, and according to the output below the version is 20081020. Kernel version is a stock 2.6.26.5 release with patches for squashfs. I am using the standard local.mk. I made no changes to anything...I just typed make. This is on an x86_64 linux from scratch system. with a pure 64 bit gcc compiler.

When I run the following command it doesn't work,

root:/# mount -t aufs none /tmp/autest -o dirs=/tmp/aubr1/:/usbstick/root=ro
mount: wrong fs type, bad option, bad superblock on none,
     missing codepage or helper program, or other error
     (for several filesystems (e.g. nfs, cifs) you might
     need a /sbin/mount.<type> helper program)
     In some cases useful info is found in syslog - try
     dmesg | tail  or so

failure bad /proc/mounts 1

and I get the following on my console:

aufs test_add:412:mount[10624]: /usbstick/root is overlapped

Of course, this is blatantly untrue. Obviously /usbstick does not overlap with anything as I understand the meaning of the term. Has anyone seen this before, and can anyone offer me advice on how to get around this? Right now, I can't find any union file system that will actually run, and this is actually kind of important.

Various outputs below, and bzip2 kernel config is attached.

Any advice is appreciated. Thank you for any assistance and best regards,

Chris
----------------------------------

/proc/mounts shows the following:

root:/sys/fs/aufs# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,errors=continue,data=ordered 0 0
/proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
udev /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,gid=4,mode=620 0 0
shm /dev/shm tmpfs rw 0 0
/dev/sda1 /usbstick/root ext3 rw,errors=continue,data=ordered 0 0

root:/# cat /sys/fs/aufs/config
CONFIG_AUFS=m
CONFIG_AUFS_BRANCH_MAX_127=y
CONFIG_AUFS_RR_SQUASHFS=y
CONFIG_AUFS_DEBUG=y
CONFIG_AUFS_MAGIC_SYSRQ=y

root:/# find /sys/module/aufs -type f -print -exec cat {} \;
/sys/module/aufs/parameters/brs
0
/sys/module/aufs/parameters/nwkq
4
/sys/module/aufs/parameters/sysrq
a
/sys/module/aufs/version
20081020
/sys/module/aufs/srcversion
6FF7A235635093295BE44DB
/sys/module/aufs/initstate
live
/sys/module/aufs/refcnt
0
/sys/module/aufs/sections/.note.gnu.build-id
0xffffffffa0078428
/sys/module/aufs/sections/.text
0xffffffffa0044000
/sys/module/aufs/sections/.exit.text
0xffffffffa0078400
/sys/module/aufs/sections/.init.text
0xffffffffa0013000
/sys/module/aufs/sections/.rodata
0xffffffffa0078460
/sys/module/aufs/sections/.rodata.str1.1
0xffffffffa007a442
/sys/module/aufs/sections/__param
0xffffffffa007b8b0
/sys/module/aufs/sections/.rodata.str1.8
0xffffffffa007b928
/sys/module/aufs/sections/.smp_locks
0xffffffffa0080598
/sys/module/aufs/sections/__bug_table
0xffffffffa0080be8
/sys/module/aufs/sections/.data
0xffffffffa0093400
/sys/module/aufs/sections/.gnu.linkonce.this_module
0xffffffffa0094400
/sys/module/aufs/sections/.bss
0xffffffffa00946c0
/sys/module/aufs/sections/.symtab
0xffffffffa0089d38
/sys/module/aufs/sections/.strtab
0xffffffffa008fe40
/sys/module/aufs/notes/.note.gnu.build-id


Attachment: config.bz2
Description: Binary data

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Reply via email to