From owner-freebsd-questions@freebsd.org Fri Aug 9 09:21:52 2019 Return-Path: Delivered-To: freebsd-questions@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 CA12FC3557 for ; Fri, 9 Aug 2019 09:21:52 +0000 (UTC) (envelope-from SRS0=iDvf=WF=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 464frb6q0tz4HsF for ; Fri, 9 Aug 2019 09:21:51 +0000 (UTC) (envelope-from SRS0=iDvf=WF=perdition.city=julien@bebif.be) Received: from home.lan (unknown [77.109.104.154]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id B18291D4FC23; Fri, 9 Aug 2019 11:21:49 +0200 (CEST) Date: Fri, 9 Aug 2019 11:21:42 +0200 From: Julien Cigar To: hw Cc: freebsd-questions@freebsd.org Subject: Re: Is NFS still broken in FreeBSD? Message-ID: <20190809092141.GA67645@home.lan> References: <87v9v7nru4.fsf@toy.adminart.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <87v9v7nru4.fsf@toy.adminart.net> User-Agent: Mutt/1.11.4 (2019-03-13) X-Rspamd-Queue-Id: 464frb6q0tz4HsF X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=iDvf=WF=perdition.city=julien@bebif.be designates 193.191.208.90 as permitted sender) smtp.mailfrom=SRS0=iDvf=WF=perdition.city=julien@bebif.be X-Spamd-Result: default: False [-6.78 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[perdition.city]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.997,0]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[90.208.191.193.list.dnswl.org : 127.0.10.0]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=iDvf=WF=perdition.city=julien@bebif.be]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[154.104.109.77.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=iDvf=WF=perdition.city=julien@bebif.be]; IP_SCORE(-2.79)[ip: (-8.57), ipnet: 193.191.192.0/19(-4.28), asn: 2611(-1.08), country: BE(-0.00)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Aug 2019 09:21:52 -0000 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 09, 2019 at 01:46:27AM +0200, hw wrote: > Hi, >=20 Hello, > according to [1], NFS in FreeBSD is broken, and I'm wondering if it > still is. >=20 define "broken"? NFS is used in production here for years and works like a charm. The only annoying issue was PR 205193 (as we use jails extensively), but it has now been fixed. > I need to export some directories rw and some ro with an /etc/exports > like this: >=20 >=20 > /b/tftpboot/FreeBSD/install -ro -maproot=3Droot > /p/default >=20 this is not a valid /etc/exports file, check man 5 exports >=20 > The "default" directory needs to be exported read-write. That seems to > be impossible with FreeBSD --- if that is really so, NFS is totally > broken in FreeBSD. To make it more strange, it worked as intended until > I restarted the server. NFS v4 doesn't seem to work at all. >=20 use something like: V4: /someroot -sec=3Dsys /someroot/default -rw -network somehost -mask somenetmask > This has cost me a whole day now :( also, for a NFS V4 only server/client you could set: vfs.nfsd.server_min_nfsvers=3D4 vfs.nfsd.server_max_nfsvers=3D4 >=20 >=20 > [1]: https://forums.freebsd.org/threads/nfs-exports.35966/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE7vn2l0to0nV7EWolsrs3EKIEI8AFAl1NOyIACgkQsrs3EKIE I8CShw//flrI9AojiheTjE+d9g/DRG8vrk+hStpNIN4GPlCM/bAQYv6tOjPE9C+z ckW1CTZWn5KP20bBiFgsaP8fjPebbbVDkMPNgxtBnTLv8pd2xWeEGbHy63eibYOs 0jlNtZSItXD/HC8hQajPmN7ThP5+NKMFet5H03ZqcoVQIMQpZjE6zhoHXQnCVTqs CPEosrBqYMKJpKrvaON1U/qDWHu8tne2hXbno4M42/UvWOLol+zEd4PCKs2yTl46 uQD827lBZGIfor4dpVNTCM/TeylOLPrFkn4ipE+Q39BcpNeihXQi1qTpFZewb4+G t0yhSheu/Ew6ll8MIrakfFmrBnhfFfz6rxQSexiSjt+1iBmXYc/mqwR2z4qB3NpJ P81A9sFeMy+6nIRSE4G/iIPWyQSlE4QFY3Tg90J58M3kcoeui1HG9AM3ApLC48tp tDGh+D1zT8Jp6X739AO11FCK/34Fg4ZCGb63tqC2Wi8uptJZ8TpmYtmrM/xiaHEl sfYSCDPFR3oQQASJ+2XYYEe2qaCLDnPl4/LLMjnlWFeCSOi5KRaysZU6pWs4VdkH aPAuR5dhvyMUfnNu69j36TCbC/Ao8sKtHVIGUeBRD6k8L6b8gRSlHz3unWMdw4Ku qjh1oI6XQxROau6G0zONe8Fp6GANQnl0qrh5uFMqBZA3s+nERDI= =nLDP -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X--