[Bug 1280633] Re: Unable to export aufs mountpoint - qword_eol: fflush failed: errno 22 (Invalid argument)
Omega Weapon
1280633 at bugs.launchpad.net
Sat Feb 15 22:11:01 UTC 2014
Sigh, took me all day to work out that this is due to aufs not providing
a filesystem ID - add any old fsid to the export options, e.g:
/mnt/omegafw_aufs_backup/
omega1(rw,sync,no_root_squash,no_subtree_check,fsid=1337)
and suddenly it works!
This is also mentioned in aufs' documentation:
http://aufs.sourceforge.net/aufs3/man.html#Exporting%20Aufs%20via%20NFS
Hopefully now when someone gets the 'qword_eol: fflush failed' useless
error message they'll know what to do.
** Changed in: nfs-utils (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1280633
Title:
Unable to export aufs mountpoint - qword_eol: fflush failed: errno 22
(Invalid argument)
Status in “nfs-utils” package in Ubuntu:
Invalid
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1280633/+subscriptions
More information about the foundations-bugs
mailing list