Hi, I have an own filesystem, which is a read-only ODS5 filesystem for VMS. I want to combine its mount point with a directory on an ext3 filesystem. This worked for older versions of my filesystem and aufs. Older means a distro with kernel 2.6.36.1 or lower. Unfortunately I don't have the aufs version which was compiled into the kernel (no /sys/module/aufs/version). The changes in my filesystem were adjustments to kernel changes. For example I do not have an own llseek, so I had nothing specified in file_operations. But starting with 2.6.37 I had to adjust that to .llseek = default_llseek. Now I get an "Illegal seek" error when I do a simple ls for the aufs mount point. Any idea where to look and how to find out what's going wrong?
Hartmut # id uid=0(root) gid=0(root) groups=0(root) # mount -o ro,nomfd,loop /media/sda3/vms/arc1002.iso /vms # mount -t aufs -o ro,br:/media/sda3/vms/mnt=RO:/vms=RO none /H # ls /vms ARCHIVE.DIR;1 BADBLK.SYS;1 BITMAP.SYS;1 CORIMG.SYS;1 SECURITY.SYS;1 BACKUP.SYS;1 BADLOG.SYS;1 CONTIN.SYS;1 INDEXF.SYS;1 VOLSET.SYS;1 # ls /media/sda3/vms/mnt/ # ls /H ls: reading directory /H: Illegal seek # # cat /proc/mounts rootfs / rootfs rw,relatime 0 0 proc /proc proc rw,relatime 0 0 sysfs /sys sysfs rw,relatime 0 0 /dev/sdf1 /mnt-system vfat rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp850,iocharset=iso8859-1,shortname=winnt,errors=remount-ro 0 0 tmpfs /ramdisk tmpfs rw,relatime,size=2695168k 0 0 /dev/cloop /KNOPPIX iso9660 ro,relatime 0 0 unionfs /UNIONFS aufs rw,relatime,si=4de32722,noplink 0 0 unionfs /home aufs rw,relatime,si=4de32722,noplink 0 0 usbfs /proc/bus/usb usbfs rw,relatime 0 0 tmpfs /UNIONFS/var/run tmpfs rw,relatime,size=10240k 0 0 tmpfs /run tmpfs rw,relatime,size=10240k 0 0 tmpfs /UNIONFS/var/lock tmpfs rw,relatime,size=10240k 0 0 tmpfs /UNIONFS/var/log tmpfs rw,relatime,size=102400k 0 0 tmpfs /tmp tmpfs rw,relatime,size=2097152k 0 0 udev /dev tmpfs rw,relatime,size=20480k 0 0 tmpfs /dev/shm tmpfs rw,relatime,size=2097152k 0 0 devpts /dev/pts devpts rw,relatime,mode=1777 0 0 /dev/sda3 /media/sda3 ext3 rw,nosuid,nodev,relatime,errors=continue,barrier=0,data=writeback 0 0 /dev/loop0 /vms ods5 ro,relatime,nomfd,vtf7 0 0 none /H aufs ro,relatime,si=4a2ef122 0 0 # cat /sys/module/aufs/version 2.1-standalone.tree-39-rcN-20110418 # ls /sys/module/aufs/parameters/ brs # cat /sys/module/aufs/parameters/brs 1 # ls /sys/fs/aufs/* /sys/fs/aufs/si_4a2ef122: br0 br1 xi_path /sys/fs/aufs/si_4de32722: br0 br1 xi_path /sys/fs/aufs/si_6d3d7b22: xi_path /sys/fs/aufs/si_6d3f4b22: xi_path /sys/fs/aufs/si_6db1db22: xi_path # uname -a Linux Microknoppix 2.6.39.3 #21 SMP PREEMPT Sat Jul 23 09:48:39 CEST 2011 i686 GNU/Linux # grep CONFIG_AUFS_ /boot/config-2.6.39.3 CONFIG_AUFS_FS=y CONFIG_AUFS_BRANCH_MAX_127=y # CONFIG_AUFS_BRANCH_MAX_511 is not set # CONFIG_AUFS_BRANCH_MAX_1023 is not set # CONFIG_AUFS_BRANCH_MAX_32767 is not set CONFIG_AUFS_SBILIST=y # CONFIG_AUFS_HNOTIFY is not set CONFIG_AUFS_EXPORT=y # CONFIG_AUFS_RDU is not set # CONFIG_AUFS_SP_IATTR is not set # CONFIG_AUFS_SHWH is not set CONFIG_AUFS_BR_RAMFS=y CONFIG_AUFS_BR_FUSE=y CONFIG_AUFS_POLL=y CONFIG_AUFS_BR_HFSPLUS=y CONFIG_AUFS_BDEV_LOOP=y # CONFIG_AUFS_DEBUG is not set ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev