Re: 2.4.2-SMP: problem locking nfs files mounted on HPUX (ENOLCK)

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Thu Mar 07 2002 - 14:32:39 EST


>>>>> " " == Alex Riesen <Alexander.Riesen@synopsys.com> writes:

> Hi, all i'm trying to lock a file using advisory locks. The
> file is on the filesystem exported by a linux machine (RH 6.2,
> 2.4.2-SMP). The filesystem is mounted on HP-UX B.11.00 (HP-UX
> host1 B.11.00 A 9000/785 2011306912 two-user license). Right
> now i cannot try this with the newer kernels.

> The following simple program fails with ENOLCK.

HP clients require the 'insecure_locks' option to be set in the RedHat
server's /etc/exports file.

Cheers,
   Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:01:07 EST