From owner-freebsd-current@FreeBSD.ORG Tue Nov 26 20:10:37 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F11A46B for ; Tue, 26 Nov 2013 20:10:37 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 6B0AF2978 for ; Tue, 26 Nov 2013 20:10:37 +0000 (UTC) Received: from [10.1.1.1] (S01060001abad1dea.hm.shawcable.net [50.70.108.129]) (Authenticated sender: allan.jude@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 5357238CAD for ; Tue, 26 Nov 2013 20:10:30 +0000 (UTC) Message-ID: <52950031.2010108@allanjude.com> Date: Tue, 26 Nov 2013 15:10:25 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: ZFS: sharenfs and "zdb no such file" errors References: <1385496434634-5864187.post@n5.nabble.com> In-Reply-To: <1385496434634-5864187.post@n5.nabble.com> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fnMcLCjUHOXPb9coK8Sx9bAUVr5bGXfG1" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2013 20:10:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --fnMcLCjUHOXPb9coK8Sx9bAUVr5bGXfG1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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-reboo= t-td5861930.html#a5862468). > This may be related. > > Now a different but equally odd error: On one of the pools with the imp= ort > problem (poolname=3Dda), I had: > zfs set sharenfs=3D"-network=3D192.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=3D/mnt at = some > point in its history. After I=20 > zfs set sharenfs=3Doff da/data/amd64=20 > for debugging, the error persisted for some time then was gone when I f= irst > tried; now it persists even after a pool scrub. ZDB shows nothing odd w= ith > 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= =2E > > 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.o= rg" 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 --=20 Allan Jude --fnMcLCjUHOXPb9coK8Sx9bAUVr5bGXfG1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --fnMcLCjUHOXPb9coK8Sx9bAUVr5bGXfG1--