Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2013 15:10:25 -0500
From:      Allan Jude <freebsd@allanjude.com>
To:        freebsd-current@freebsd.org
Subject:   Re: ZFS: sharenfs and "zdb no such file" errors
Message-ID:  <52950031.2010108@allanjude.com>
In-Reply-To: <1385496434634-5864187.post@n5.nabble.com>
References:  <1385496434634-5864187.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@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



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSlQA0AAoJEJrBFpNRJZKf89QP/RFaz1RV9YOweoo4HM54VR2O
EY4U1fVlAatR6njHF5085WZ3ok9jpat8tlWkFsWXYDunnf+1dNoBxR5GsMsv2P8p
STAdHTZn2hdBYpds+HAsR0ZUkOXQgh02m1UvddRMB0H9JTcxi4PTfCTNwBEzoIu7
Efie2EifHRQ3EVCxBiIZRiQJb7l5cHGzbJjlbAYcI1IVJQsHmWiBuUltNUANGqFz
fptcLD9vDZvpKqrI7MDMewrD+84cthM9+qEo7dDPmpjcNwvwge2GY3f4LKNKhZGn
9Ib/6mq1Gdq7Tdt62ADtYvvupLObT3btYX+7RviaJz32l/HBLyTolR7sYuzZIUDX
Uji9hqoLP3WOoU66fMv5ZcjkUam3ZrZUtG70003b/2TJoQ8EnSjvjpEgMPSPDcsE
t0+oCBe8Xzloa2UEGOFcfD3L9emN21rN7i6rsGQjhNLbn96TxE6RNsxifGYIdRQr
E48NueRdWxrvcKg2XwoSqFry5jg0GKeTm1ZuTVYoJ0UdpKJYFWPOXMh+UO2ZG3ok
M5LrSN1l+HG3QE6qtLy0iPqT1rQcmUeyqvTxhAAfrB/XjH/oMwhUeTwoomOJ4rNN
Jm7vjKE9zRPn6uzQ9uMgMdCPeQSdeNXqrXnM8+Aljp4cPXTfzzd/FYnIE6ZR/31p
frSUSkBPZI4kNWDHPVQI
=0suX
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52950031.2010108>