Re: newnfs pkgng database corruption?

看板FB_current作者時間12年前 (2013/04/27 14:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串14/17 (看更多)
--MPkR1dXiUZqK+927 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 12, 2013 at 12:56:10PM +0000, Eggert, Lars wrote: > Hi, >=20 > On Apr 12, 2013, at 1:10, Rick Macklem <rmacklem@uoguelph.ca> wrote: > > Well, I have no idea why an NFS server would reply errno 70 if the file > > still exists, unless the client has somehow sent a bogus file handle > > to the server. (I am not aware of any client bug that might do that. I > > am almost suspicious that there might be a memory problem or something > > that corrupts bits in the network layer. Do you have TSO enabled for yo= ur > > network interface by any chance? If so, I'd try disabling that on the > > network interface. Same goes for checksum offload.) > >=20 > > rick > > ps: If you can capture packets between the client and server at the > > time this error occurs, looking at them in wireshark might be > > useful? >=20 > I will try all of those things. >=20 > But first, a question that someone who understands pkgng will be able to = answerr: Is this "fake-pkg" process even running on the NFS mount? The WRKD= IR is /tmp, which is an mfs mount. fake-pkg is run in WRKDIR, but it calls pkgng which will open /var/db/pkg/local.sqlite aka nfs mount. The Error 70 is EX_SOFTWARE returned by pkgng. Can you try the following patch: http://people.freebsd.org/~bapt/patch-libpkg__pkgdb.c Just add that file to /usr/ports/ports-mgmt/pkg/files/ If that works for you, that means the posix advisory locks is somehow faili= ng on nfsv4 files. Given it is already known to be failing on nfsv3 (because people often misconfigure it) I'll probablmy make unix-dotfile the default locking system when local.sqlite is stored on network filesystem. regards, Bapt --MPkR1dXiUZqK+927 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlFoB80ACgkQ8kTtMUmk6EyACwCfcIOtamgGFQV3BlcG5r2NdlRK HLgAn3uLrvcCDzPfhc6S1M8y+lFCz1R9 =hlLR -----END PGP SIGNATURE----- --MPkR1dXiUZqK+927--
文章代碼(AID): #1HUscfIS (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1HUscfIS (FB_current)