Date: Fri, 11 Dec 2020 23:39:17 +0000 From: Rick Macklem <rmacklem@uoguelph.ca> To: Alan Somers <asomers@freebsd.org>, J David <j.david.lists@gmail.com> Cc: "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: Re: Major issues with nfsv4 Message-ID: <YTOPR0101MB09705212940D2AEDFA6D9B0ADDCA0@YTOPR0101MB0970.CANPRD01.PROD.OUTLOOK.COM> In-Reply-To: <CAOtMX2h82vU6Tt5eOCCEz=iOGhxHdL1XBnjvCTqqFEsaSMTjaA@mail.gmail.com> References: <CABXB=RRB2nUk0pPDisBQPdicUA3ooHpg8QvBwjG_nFU4cHvCYw@mail.gmail.com> <YQXPR0101MB096849ADF24051F7479E565CDDCA0@YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM> <CABXB=RSyN%2Bo2yXcpmYw8sCSUUDhN-w28Vu9v_cCWa-2=pLZmHg@mail.gmail.com>, <CAOtMX2h82vU6Tt5eOCCEz=iOGhxHdL1XBnjvCTqqFEsaSMTjaA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Alan Somers wrote:=0A= [stuff snipped]=0A= >That's some good information. However, it must not be the whole story. I= 've >been nullfs mounting my NFS mounts for years. For example, right now = on a >FreeBSD 12.2-RC2 machine:=0A= If I recall, you were one of the two people that needed to switch to=0A= "minorversion=3D1" to get rid of NFSERR_BADSEQID (10026) errors.=0A= Is that correct?=0A= =0A= >> sudo nfsstat -m=0A= >Password:=0A= >192.168.0.2:/home on /usr/home=0A= >nfsv4,minorversion=3D1,tcp,resvport,soft,cto,sec=3Dsys,acdirmin=3D3,acdirm= ax=3D60,acreg>min=3D5,acregmax=3D60,nametimeo=3D60,negnametimeo=3D60,rsize= =3D65536,wsize=3D6553>6,readdirsize=3D65536,readahead=3D1,wcommitsize=3D167= 77216,timeout=3D120,retrans=3D>2147483647=0A= Btw, using "soft" with NFSv4 mounts is a bad idea. (See the BUGS section of= =0A= "man mount_nfs".)=0A= =0A= If you have a hung NFSv4 mount, you can use=0A= # umount -N /usr/home=0A= to dismount it. (It may take a couple of minutes.)=0A= =0A= rick=0A= =0A= > mount | grep home=0A= 192.168.0.2:/home on /usr/home (nfs, nfsv4acls)=0A= /usr/home on /iocage/jails/rustup2/root/usr/home (nullfs)=0A= =0A= Are you using any mount options with nullfs? It might be worth trying to m= ake the read-only mount into read-write, to see if that helps. And what do= es "jls -n" show?=0A= -Alan=0A=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YTOPR0101MB09705212940D2AEDFA6D9B0ADDCA0>