Re: ZFS: sharenfs and "zdb no such file" errors

From: Allan Jude <freebsd_at_allanjude.com>
Date: Tue, 26 Nov 2013 15:10:25 -0500
On 2013-11-26 15:07, Beeblebrox wrote:
> I had a previously discussed zpool related error on my susytem:
> (http://freebsd.1045724.n5.nabble.com/zpool-requires-re-import-on-reboot-td5861930.html#a5862468).
> This may be related.
>
> Now a different but equally odd error: On one of the pools with the import
> problem (poolname=da), I had:
> zfs set sharenfs="-network=192.168.2.0/24" da/data/amd64
> When I start nfsd + mountd, TTY0 shows this error:
> bad exports list line: /mnt/data/amd64
> bad exports list line: /mnt/amd64
>
> I can only assume that I had the da zpool mounted as altroot=/mnt at some
> point in its history. After I 
> zfs set sharenfs=off da/data/amd64 
> for debugging, the error persisted for some time then was gone when I first
> tried; now it persists even after a pool scrub. ZDB shows nothing odd with
> the "-Cl /dev/ada1p2" flag, but,
> zdb -d da/data/amd64
> zdb: can't open 'da/data/amd64': No such file or directory
> I have same error for all pool-type commands. "# zdb -C da" for example.
>
> Regards
>
>
>
>
> -----
> FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
> --
> View this message in context: http://freebsd.1045724.n5.nabble.com/ZFS-sharenfs-and-zdb-no-such-file-errors-tp5864187.html
> Sent from the freebsd-current mailing list archive at Nabble.com.
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
NFS related config for ZFS is stored in /etc/zfs/exports
and mountd just reads that in addition to the usual /etc/exports

you might want to check there

-- 
Allan Jude



Received on Tue Nov 26 2013 - 19:10:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC