Basically I have three loose disks and one lvm combined to form a
aufs-filesystem. I've then mounted this into /storage.
When I try to unmount the main aufs mount, I get a kernel oops and no
change in the mtab. (nor on the disk)
I've also had a problem with a directory suddenly appearing as neither a
directory nor a file. (ls -l shows the directory as a file (no 'd'
flag), rm on the directory says 'rm: cannot remove `dir': Is a
directory' - while rmdir on it says 'rmdir: dir: Not a directory')
The latter is not reproducible (I started using aufs today), but the
former is reproducible.

Information:
[EMAIL PROTECTED]:~$ cat /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
/dev/disk/by-uuid/5c6fcc95-c3c3-4526-a868-33cb76d79471 / ext3
rw,data=ordered 0 0
/dev/disk/by-uuid/5c6fcc95-c3c3-4526-a868-33cb76d79471 /dev/.static/dev
ext3 rw,data=ordered 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
usbfs /dev/bus/usb/.usbfs usbfs rw 0 0
udev /proc/bus/usb tmpfs rw 0 0
usbfs /proc/bus/usb/.usbfs usbfs rw 0 0
tmpfs /var/run tmpfs rw,nosuid,nodev,noexec 0 0
tmpfs /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
/dev/mapper/main-storage /vault/lvm ext3 rw,data=ordered 0 0
/dev/disk/by-uuid/d61a06e4-2830-44e6-95ba-5e54e64a9736 /vault/hdc ext3
rw,data=ordered 0 0
/dev/sdd1 /vault/sdd xfs rw 0 0
/dev/sda1 /vault/sda xfs rw 0 0
none /storage aufs
rw,xino=/vault/sdd/.aufs.xino,br:/vault/sdd=rw:/vault/sda=rw:/vault/hdc=rw:/vault/lvm=rw
 

0 0
[EMAIL PROTECTED]:~$ sudo umount /storage
Segmentation fault
[EMAIL PROTECTED]:~$ grep AUFS_VERSION
/root/aufs.wcvs/aufs/include/linux/aufs_type.h
#define AUFS_VERSION    "20070219"
[EMAIL PROTECTED]:~$ uname -a
Linux datamania 2.6.17-10-server #2 SMP Tue Dec 5 22:29:32 UTC 2006 i686
GNU/Linux
[EMAIL PROTECTED]:~$ dmesg|tail -n 24
[   78.453998] br0: port 1(eth0) entering forwarding state
[  209.826244] BUG: unable to handle kernel NULL pointer dereference at
virtual address 00000000
[  209.826369]  printing eip:
[  209.826421] d0b8a06e
[  209.826428] *pde = 08792001
[  209.826484] Oops: 0002 [#1]
[  209.826535] SMP
[  209.826650] Modules linked in: bridge aufs xfs dm_mod md_mod lp sg
psmouse parport_pc serio_raw evdev i2c_piix4 parport floppy i2c_core
r1000 r8169 shpchp pci_hotplug intel_agp agpgart 3c59x mii pcspkr ext3
jbd uhci_hcd usbcore ide_generic sd_mod sata_sil libata scsi_mod
ide_disk piix generic processor fbcon tileblit font bitblit softcursor
vesafb capability commoncap
[  209.828348] CPU:    0
[  209.828353] EIP:    0060:[<d0b8a06e>]    Not tainted VLI
[  209.828360] EFLAGS: 00010286   (2.6.17-10-server #2)
[  209.828569] EIP is at aufs_umount_begin+0xe/0x50 [aufs]
[  209.828630] eax: 00000000   ebx: ceb3ce40   ecx: d0b8a060   edx: ffff0001
[  209.828693] esi: c87a6000   edi: 00000000   ebp: c87a7f50   esp: c87a7f3c
[  209.828752] ds: 007b   es: 007b   ss: 0068
[  209.828810] Process umount (pid: 4296, threadinfo=c87a6000 task=cca4ba90)
[  209.828859] Stack: 00000000 c0187ea0 00000000 ceb3ce40 cf6bd600
c1326df8 ceb3ce40 00000000
[  209.829237]        00000286 c86011d8 00000001 00000001 00000000
b7d41000 cfaf1580 c015b236
[  209.829617]        ffffffff b7d42000 cfaf1584 c86013a4 b7d42000
c86013b0 c87a7f94 c87a7f94
[  209.829995] Call Trace:
[  209.830092]  <c0187ea0> sys_umount+0x110/0x2a0  <c015b236>
do_munmap+0x186/0x1e0
[  209.830429]  <c0188047> sys_oldumount+0x17/0x20  <c0102f93>
sysenter_past_esp+0x54/0x75
[  209.830738] Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 b9 30 f4 b9
d0 e9 56 11 60 ef 8d b6 00 00 00 00 53 89 c3 e8 d8 10 00 00 ba 01 00 ff
ff 90 <0f> c1 10 85 d2 0f 85 50 10 00 00 89 d8 e8 c0 10 00 00 f6 40 20
[  209.833015] EIP: [<d0b8a06e>] aufs_umount_begin+0xe/0x50 [aufs]
SS:ESP 0068:c87a7f3c


-------------------------------------------------------------------------
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