Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2005 18:46:56 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Bruce Campbell <bruce@engmail.uwaterloo.ca>
Cc:        Paul McKone <pdmckone@engmail.uwaterloo.ca>
Subject:   Re: flock failure on NFS from 5.3 client to 4.7 server
Message-ID:  <20050114024656.GA66730@xor.obsecurity.org>
In-Reply-To: <1105670575.41e731af8de9a@www.nexusmail.uwaterloo.ca>
References:  <1105670575.41e731af8de9a@www.nexusmail.uwaterloo.ca>

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

--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 13, 2005 at 09:42:55PM -0500, Bruce Campbell wrote:
>=20
> NFS server:      FreeBSD 4.7
> Old Mail server: FreeBSD 4.7, home directories mounted to NFS server
> New Mail server: FreeBSD 5.3, home directories mounted to NFS server
>=20
> After the mail server upgrade to 5.3, flock gives error "operation not su=
pported"=20
> on nfs mounted home directories.  Example:
>=20
> Jan 13 00:06:32 mail vacation[92816]: vacation: .vacation: Operation not =
supported
>=20
> output from "truss"
>=20
> open(".vacation.db",0x2,0640)                    =3D 3 (0x3)
> fstat(3,0xbfbfd350)                              =3D 0 (0x0)
> flock(0x3,0x2)                                   ERR#45 'Operation not su=
pported'
> close(3)                                         =3D 0 (0x0)
>=20
> It appears someone else has done substantially more debugging than I:
>=20
>   http://lists.freebsd.org/pipermail/freebsd-questions/2004-September/059=
777.html
>=20
> but is seemingly no further ahead.
>=20
> On our NFS server, rpc.statd is running, but rpc.lockd wasn't.  Started
> it, still no worky.  Killed it, other 4.7 clients still flock fine.

rpc.lockd needs to be running on *both* client *and* server.

4.x gets away with it because the rpc.lockd implementation does not in
fact implement locking on the client.

Kris

--tThc/1wpZn/ma/RB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB5zKgWry0BWjoQKURAjCfAJ4nIlRhScstnct/XAybpjPNWmU6EwCgqz8g
Cl0W8bjvR3bL3Tezl/UmK0o=
=pSD+
-----END PGP SIGNATURE-----

--tThc/1wpZn/ma/RB--



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