Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2019 14:42:26 +0200
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        Alexander Lunev <lan@zato.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: NFSv4 without Kerberos
Message-ID:  <DAE187D9-FD1F-4FD9-BF0D-9F293531D1D1@punkt.de>
In-Reply-To: <d7f0e26d-2329-0472-f96b-cc6a7dbd91c6@zato.ru>
References:  <522283ee-dc4b-6439-fb05-7254511a214b@zato.ru> <20190816104222.GN47119@zxy.spb.ru> <c952fd4a-551a-01a0-2346-a4059a4bf73b@zato.ru> <20190816120157.GO47119@zxy.spb.ru> <19b8ad6d-ad07-e50e-75d1-ae554c87c384@zato.ru> <20190816121547.GP47119@zxy.spb.ru> <d7f0e26d-2329-0472-f96b-cc6a7dbd91c6@zato.ru>

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

i all,

> Am 16.08.2019 um 14:37 schrieb Alexander Lunev via freebsd-net <freebsd-net@freebsd.org>:
> 
>> /NFS -maproot=root -sec=krb5i
>> V4: /NFS -sec=krb5i
>> and this work ok for nfsv4 mount (mount -t nfsv4 host:/)
>> May be order is  important?
> 
> I've already tried in any order, it doesn't change anything.
> 
> In another place (11.2-R) i've already done NFSv4 mount where ubuntu mounts share from freebsd via nfsv4 with sec=sys without any problem, but here (11.3) i can't make it work - maybe the reason is that client is diskless and root mounted by NFSv3 from the same server?

Are the directories you are trying to export part of the same filesystem
as the client-root that is already mounted?

i don’t know for v4, but in traditional NFS exports are per FS and not
per directory. You need to export the toplevel FS with the -alldirs flag
set to mount multiple directories of the same FS.

HTH,
Patrick
-- 
punkt.de GmbH			Internet - Dienstleistungen - Beratung
Kaiserallee 13a			Tel.: 0721 9109-0 Fax: -100
76133 Karlsruhe			info@punkt.de	http://punkt.de
AG Mannheim 108285		Gf: Juergen Egeling




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DAE187D9-FD1F-4FD9-BF0D-9F293531D1D1>