1832983 Members
2834 Online
110048 Solutions
New Discussion

NFS locking failed

 
vanamala
New Member

NFS locking failed

I'm using UNFS3 for my customised NFS based PFS filesystem. From the application I'm issuing fcntl() call, it returns with '-1'. lockd and statd are running on my client as well as server nodes. Also the underlying filesystem is a Parallel filesystem which is mounted as NFS filesystem on my local node. 'mount -V nfs local-node:/pfs /mnt/pfs'.

in application I've opened a file using open("/mnt/pfs/test-lock",..) call and i'm trying to lock using fcntl(fd,F_SETLK,&fl). It returns -1...

can anyone help me? I'm not very clear with working of lockd and statd and their interaction with nfsd(is any)... please throw some light on this topic...

thanks in advance!
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: NFS locking failed

Can you print the value of errno?