Re: Can't NFS mount ZFS volume

From: Rick Macklem <rmacklem_at_uoguelph.ca>
Date: Sat, 30 Sep 2017 20:25:02 +0000
I have only done two NFS commits within that range.
1 - A trivial one that adds two new arguments always specified as 0,
     which has no change in semantics.
2 - One that only affects NFSv4 during dismount, so it shouldn't affect
     an NFSv3 mount.

Some things to try:
- get rid of rpc.statd and rpc.lockd and do the mount with the "nolockd"
  option
- capture packets during the mount and look at them in wireshark, to
  see what is going on the wire.
- see if there are any patches applied to your net interface driver during
  that commit rev. range
- if you have any kind of firewall setup, get rid of that and see if that
   helps

Good luck with it, rick
________________________________________
From: Michael Butler <imb_at_protected-networks.net>
Sent: Friday, September 29, 2017 9:09:35 PM
To: freebsd-current
Cc: rmacklem_at_freebsd.org
Subject: Can't NFS mount ZFS volume

Both client and server have been upgraded from SVN r324033 to r324089

Now I can't mount a ZFS dataset over NFS :-(

imb_at_toshi:/home/imb> sudo /sbin/mount -t nfs vm01:/usr/local/exports/ /mnt

imb_at_toshi:/home/imb> mount
/dev/ada0s3a on / (ufs, local, soft-updates)
devfs on /dev (devfs, local, multilabel)
procfs on /proc (procfs, local)
linprocfs on /usr/compat/linux/proc (linprocfs, local)
linsysfs on /usr/compat/linux/sys (linsysfs, local)
vm01:/usr/local/exports on /mnt (nfs)

imb_at_toshi:/home/imb> sudo ls -l /mnt
ls: /mnt: Input/output error

The server shows the mount as being registered ..

imb_at_vm01:/home/imb> showmount -a
All mount points on localhost:
toshi.auburn.protected-networks.net:/usr/local/exports

It takes some time to complete an umount request but it does complete,

Any thoughts?

        imb
Received on Sat Sep 30 2017 - 18:25:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC