Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2013 00:16:52 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        "Eggert, Lars" <lars@netapp.com>
Cc:        "current@freebsd.org" <current@freebsd.org>
Subject:   Re: newnfs pkgng database corruption?
Message-ID:  <20130410221652.GB95891@ithaqua.etoilebsd.net>
In-Reply-To: <2F60DB6E-768F-426C-9BE6-737B144D4776@netapp.com>
References:  <4C9A5BAE-8607-4E3A-8E69-E3993EA9873F@netapp.com> <20130410080228.GB74304@ithaqua.etoilebsd.net> <2F60DB6E-768F-426C-9BE6-737B144D4776@netapp.com>

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

--VrqPEDrXMn8OVzN4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 10, 2013 at 08:09:42AM +0000, Eggert, Lars wrote:
> Hi,
>=20
> On Apr 10, 2013, at 10:02, Baptiste Daroussin <bapt@freebsd.org> wrote:
> > This can usually happen when a user do not have the nfs lock system sta=
rted.
> > Are you sure that nfs lock is correctly started?
>=20
> with NFSv4, the locking system is integrated with the main protocol, it's=
 no longer separate.
>=20
> > If that is the case, there is anyway a bug in pkgng that should catch t=
he
> > problem and refuse to operate in such situation, I know sqlite to provi=
de a
> > mechanism that allow us to be able to catch this, I'm not sure yet to u=
se it.
>=20
> Not sure about that.
>=20
> In case anyone wonders, the corruption is quite substantial:
>=20

I think I know why let me a couple of days to test a patch.

Unfortunatly your database can't be recovered apparently sqlite has some
problems with the locking ystem of nfsv4 and has some workaround.

Will you be able to test it?

Just to warn you firefox may have the same problem with unbundled sqlite.

regards,
Bapt

--VrqPEDrXMn8OVzN4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlFl5NQACgkQ8kTtMUmk6EzFFwCfdYYQ17HvYQDozpgGycNEaUO2
5aIAoKOXq39NbGvfXOzV+Q913F1ZkIcM
=PbRH
-----END PGP SIGNATURE-----

--VrqPEDrXMn8OVzN4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130410221652.GB95891>