Public bug reported: Exporting the following aufs mountpoint (which is mounted):
============================================================================== /mnt/omegafw_aufs_backup omega1(rw,sync,mountpoint,no_root_squash,no_subtree_check) ============================================================================== and then mounting on a client machine results in the following error on the server: ========================================= qword_eol: fflush failed: errno 22 (Invalid argument) ========================================= I have enabled debugging, the following is output: ======================================================================================== Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: nfsd_fh: inbuf 'omega1.omeganet 1 \x00000000' Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: nfsd_fh: found 0x95592e8 path / Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: nfsd_export: inbuf 'omega1.omeganet /mnt' Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: nfsd_export: found 0x9559778 path /mnt Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: nfsd_fh: inbuf 'omega1.omeganet 7 \x016008000000000057ab3e2836bf4055a6bd4a8399a01c5a' Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: nfsd_fh: found 0x9559780 path /mnt Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: nfsd_export: inbuf 'omega1.omeganet /mnt/omegafw_aufs_backup' Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: qword_eol: fprintf failed: errno 22 (Invalid argument) Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: Cannot export /mnt/omegafw_aufs_backup, possibly unsupported filesystem or fsid= required Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: nfsd_export: found 0x9558e48 path /mnt/omegafw_aufs_backup Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: from_local: updating local if addr list Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: from_local: checked 11 local if addrs; incoming address not found Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: check_default: access by 10.1.0.2 ALLOWED Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: Received NULL request from 10.1.0.2 Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: check_default: access by 10.1.0.2 ALLOWED (cached) Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: Received NULL request from 10.1.0.2 Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: check_default: access by 10.1.0.2 ALLOWED (cached) Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: Received MNT3(/mnt/omegafw_aufs_backup) request from 10.1.0.2 Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: authenticated mount request from 10.1.0.2:787 for /mnt/omegafw_aufs_backup (/mnt/omegafw_aufs_backup) Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: qword_eol: fflush failed: errno 22 (Invalid argument) Feb 15 16:25:16 OmegaFW rpc.mountd[4896]: Cannot export /mnt/omegafw_aufs_backup, possibly unsupported filesystem or fsid= required ======================================================================================== A normal trivial nfs export worked (a disk with a few directories on it). The aufs filesystem bridges 4 disks which maintain 1780822 files/directories, so is pretty large. Its possible that rpc.mountd can't cope, which is suggested in this Red Hat bug which appears to be semi-ignored: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=812364 I'll be trying to do the same thing in Samba now. -------------------------------------------------- uname -a: Linux OmegaFW 3.11.0-15-generic #25-Ubuntu SMP Thu Jan 30 17:25:07 UTC 2014 i686 i686 i686 GNU/Linux Ubuntu 13.10 nfs-kernel-server version: 1:1.2.8-2ubuntu2 ** Affects: nfs-utils (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1280633 Title: Unable to export aufs mountpoint - qword_eol: fflush failed: errno 22 (Invalid argument) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1280633/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs