From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 26 17:06:29 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 735A05B1 for ; Thu, 26 Feb 2015 17:06:29 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 34B13357 for ; Thu, 26 Feb 2015 17:06:28 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id D903C989F1 for ; Thu, 26 Feb 2015 17:06:27 +0000 (UTC) Message-ID: <54EF529F.5030300@freebsd.org> Date: Thu, 26 Feb 2015 12:06:39 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Re: only the first two enteries in /etc/exports show up References: <54EF4E8E.1020801@freebsd.org> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mWeR6W53XKwfU5tBsuaWiGWrOSQi8KIEr" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2015 17:06:29 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mWeR6W53XKwfU5tBsuaWiGWrOSQi8KIEr Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-02-26 11:58, Aryeh Friedman wrote: > On Thu, Feb 26, 2015 at 11:49 AM, Allan Jude wr= ote: >> On 2015-02-26 11:37, Aryeh Friedman wrote: >>> having this in /etc/exports: >>> >>> >>> /data/home -maproot=3Droot -network 10.0.10.0/24 >>> /usr/src -maproot=3Droot -network 10.0.10.0/24 >>> /usr/ports -maproot=3Droot -network 10.0.10.0/24 >>> >>> produces the following results: >>> >>> >>> root@server:/usr/ports # showmount -e >>> Exports list on localhost: >>> /data/home 10.0.10.0 >>> /usr/src 10.0.10.0 >>> >>> >>> It doesn't matter what order I list them in only the first two show u= p >>> in showmount >>> >> >> Are you using NFSv3 or NFSv4? >=20 > what ever the base system has 10.1 >=20 >> >> What does your partitioning layout look like? >=20 > Running as a VM in bhyve >=20 >=20 > Filesystem 1024-blocks Used Avail Capacity Mounted on > /dev/vtbd0p2 9637788 8583820 282948 97% / > devfs 1 1 0 100% /dev > /dev/vtbd1 152334812 68 140147960 0% /data >=20 >=20 >> >> When you reload mountd, does it emit any errors? (check syslog as well= ) >=20 > No errors on the command line.... in syslog: >=20 > Feb 26 06:57:27 server mountd[1299]: can't change attributes for > /usr/ports: Invalid radix node head, rn: 0 0xfffff80003993100 > Feb 26 06:57:27 server mountd[1299]: bad exports list line /usr/ports -= maproot >=20 >> >> -- >> Allan Jude >> >=20 >=20 >=20 You can only have 1 export per mount point in NFSv3 (in V4, you can only export the root of a mount point) So what you want in your config file is: /data/home -maproot=3Droot -network 10.0.10.0/24 /usr/src /usr/ports -maproot=3Droot -network 10.0.10.0/24 --=20 Allan Jude --mWeR6W53XKwfU5tBsuaWiGWrOSQi8KIEr 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.22 (MingW32) iQIcBAEBAgAGBQJU71KjAAoJEJrBFpNRJZKf9bIP/RNk0mSM5Rm0FlE7oiDCXaGP E7r7nbAXtgEoJOQnmlJnHTMbx7PL+t1DfRaayAlOBOlFj5z/WpWm4vqmsKXs+d+e 8XoBjnCNRt2wRSbGlGToltqkO5KAieJqKKXYdlHNxy+2RPkI6/FGf5XTdV2QumYA GNwcvesS4H9nNdt8IS843HXz9bWhh9eK/Z/jMPdq/CY5W4DPArCz62pbyF3wNCOf 9Gma9EpajvYSnQe5j7aQwVGZerLOHJjK/pj6btrIURy+mE+VIabTnQcp0qqRR4T4 elhNX7pGwJQ7cIaCYjPU2UytM8kmMussBnLlIr9rD/8mFUmtucB3n0pGwfQLeSA9 etbMF11Zu0LEqH7GfzRLtRVa0MDwjsqjGw59fd7MLfhim6TnVVi9AgKJnuZAWgAt F7Zob7qx/gMyPbFM+bgf9ANliDm52VWP3ubG3rXq3OszOg7xiOQShhdNmNDLe20r Z5WUj/H71wBMQFmRImjY56A5f0Y3E7NZCOPVmwiiVBYzzBdr/GfU190FVDWreTU5 EsjqXVj0YdTNy0riNbyjpbh2FynDSIrnCgCaQoXD8ZTxKEhgPhCalTsod0YVeBF1 3KKL9zBKctGtscZrFmZTV1tto3WgK2PXgYYD0MlUsNj91tiTHAXPjCMwKMPHhQ9m 4ewBgcc8B9pHDMCz3GxS =FubM -----END PGP SIGNATURE----- --mWeR6W53XKwfU5tBsuaWiGWrOSQi8KIEr--