You are not logged in.

#1 2011-09-16 21:47:11

doublerebel
Member
Registered: 2010-02-04
Posts: 6

NFS exports of ZFS filesystems broken in current version

I just recently did a system upgrade on my NAS to 3.0-ARCH and now ZFS (zfs-fuse) filesystem sharing over NFS is no longer working.  Sharing normal directories from my ext4 filesystem works correctly.

After attempting to export the filesystem with

exportfs -arv

I find this error in everything.log:

Sep 16 14:33:34 localhost rpc.mountd[998]: qword_eol: fflush failed: errno 9 (Bad file descriptor)
Sep 16 14:33:34 localhost rpc.mountd[998]: Cannot export /vol0, possibly unsupported filesystem or fsid= required

I do have an fsid specified.  The exact same configuration worked before the upgrade.

I suspect it's related to these very recent bugs which describe being unable to share various mounted filesystems over NFS:

https://bugzilla.novell.com/show_bug.cgi?id=714151
https://bugzilla.redhat.com/show_bug.cg … &id=735547

...but only btrfs and tmpfs are mentioned in those bugs.  I tried the workaround posted for btrfs on gentoo here (wrapping the ZFS mountpoint in another ext4 parent directory) but it did not work, I received the same error as above.

To be honest I don't understand the fix posted on the Novell bugtracker so I'm not sure how to resolve it.  Posting here in hopes that at least someone else searching will have some help.  Is there a better place to post a bug report?

Last edited by doublerebel (2011-09-16 21:50:30)

Offline

#2 2011-09-21 07:14:09

hydro
Member
Registered: 2011-09-21
Posts: 1
Website

Re: NFS exports of ZFS filesystems broken in current version

I had the same problem with NFS-exportable AUFS. I temporarily fixed it by downgrading util-linux to version 2.19. You could also use 2.20 from testing.
https://bugs.archlinux.org/task/26059

Offline

#3 2011-09-21 19:56:31

doublerebel
Member
Registered: 2010-02-04
Posts: 6

Re: NFS exports of ZFS filesystems broken in current version

Many thanks!  I pulled util-linux from the [testing] repo with ABS, compiled and installed.  It works!  (Note: Had to find my own copy of util-linux-2.20.tar.bz2 since kernel.org is down.)

Everything seems to be working normally.  Should I report the patch as a success anywhere?  The bug is closed.

Last edited by doublerebel (2011-09-21 19:58:54)

Offline

Board footer

Powered by FluxBB