Date: Thu, 26 Feb 2015 12:06:39 -0500 From: Allan Jude <allanjude@freebsd.org> To: freebsd-hackers@freebsd.org Subject: Re: only the first two enteries in /etc/exports show up Message-ID: <54EF529F.5030300@freebsd.org> In-Reply-To: <CAGBxaXn6BgyNA9zFGoCd-9x6ZRdkwn3fzDY%2BN6Qe%2BfWJuQnYVg@mail.gmail.com> References: <CAGBxaX==t_JMzE54bdtJt83BOhW%2BJ3pcSjBnvyBQrySKOqS3iA@mail.gmail.com> <54EF4E8E.1020801@freebsd.org> <CAGBxaXn6BgyNA9zFGoCd-9x6ZRdkwn3fzDY%2BN6Qe%2BfWJuQnYVg@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 2015-02-26 11:58, Aryeh Friedman wrote: > On Thu, Feb 26, 2015 at 11:49 AM, Allan Jude <allanjude@freebsd.org> wrote: >> On 2015-02-26 11:37, Aryeh Friedman wrote: >>> having this in /etc/exports: >>> >>> >>> /data/home -maproot=root -network 10.0.10.0/24 >>> /usr/src -maproot=root -network 10.0.10.0/24 >>> /usr/ports -maproot=root -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 up >>> in showmount >>> >> >> Are you using NFSv3 or NFSv4? > > what ever the base system has 10.1 > >> >> What does your partitioning layout look like? > > Running as a VM in bhyve > > > 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 > > >> >> When you reload mountd, does it emit any errors? (check syslog as well) > > No errors on the command line.... in syslog: > > 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 > >> >> -- >> Allan Jude >> > > > 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=root -network 10.0.10.0/24 /usr/src /usr/ports -maproot=root -network 10.0.10.0/24 -- Allan Jude [-- Attachment #2 --] -----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-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54EF529F.5030300>
