From owner-freebsd-net@freebsd.org Fri Aug 16 13:20:17 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5A470CC075 for ; Fri, 16 Aug 2019 13:20:17 +0000 (UTC) (envelope-from lan@zato.ru) Received: from mail.zato.ru (mail.zato.ru [178.255.248.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.zato.ru", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4693pS2pWFz4Fln for ; Fri, 16 Aug 2019 13:20:16 +0000 (UTC) (envelope-from lan@zato.ru) Received: from ip198-125-245-80.broadband.crelcom.ru ([80.245.125.198] helo=[172.27.1.29]) by mail.zato.ru with esmtpsa (TLSv1.2:AES128-SHA:128) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1hyc9M-000Euu-5r for freebsd-net@freebsd.org; Fri, 16 Aug 2019 16:20:13 +0300 Cc: freebsd-net@freebsd.org References: <522283ee-dc4b-6439-fb05-7254511a214b@zato.ru> <20190816104222.GN47119@zxy.spb.ru> <20190816120157.GO47119@zxy.spb.ru> <19b8ad6d-ad07-e50e-75d1-ae554c87c384@zato.ru> <20190816121547.GP47119@zxy.spb.ru> From: Alexander Lunev Message-ID: Date: Fri, 16 Aug 2019 16:20:13 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: ru Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 80.245.125.198 X-SA-Exim-Mail-From: lan@zato.ru X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.zato.local X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, MISSING_HEADERS autolearn=no autolearn_force=no version=3.4.0 Subject: Re: NFSv4 without Kerberos X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail.zato.ru) X-Rspamd-Queue-Id: 4693pS2pWFz4Fln X-Spamd-Bar: + X-Spamd-Result: default: False [1.72 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[zato.ru:s=mailserverdkimkey]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:178.255.248.12:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.42)[0.425,0]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[zato.ru:+]; DMARC_POLICY_ALLOW(-0.50)[zato.ru,reject]; NEURAL_SPAM_LONG(0.34)[0.336,0]; MISSING_TO(2.00)[]; NEURAL_HAM_SHORT(-0.04)[-0.038,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.00)[country: RU(0.01)]; ASN(0.00)[asn:56868, ipnet:178.255.248.0/24, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2019 13:20:17 -0000 >> 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? No, diskless root is exported as /mnt/diskless10, while NFSv4 share is exported as /mnt/v4share problem is solved, should have use -o nfsv4 and not -o nfsvers=4. -- Best regards Alexander Lunev