Re: need help for locking with nfs4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 13, 2011 at 03:11:36PM +0530, Upendra Moturi wrote:
> i want  file to be locked and not accessed even from another nfs client.

The Linux client and server don't really support mandatory locking.

If that's a problem, then we'd need to understand why exactly you need
this, and why advisory locking isn't sufficient.

--b.

> 
> 
> On Thu, Dec 1, 2011 at 11:39 PM, J. Bruce Fields <bfields@xxxxxxxxxxxx> wrote:
> >
> > On Thu, Dec 01, 2011 at 03:43:03PM +0530, Upendra Moturi wrote:
> > > Hi
> > >
> > > I need some example to configure nfs4 mandatory locking.
> > > I have setup nfs4 server and client.
> > > I want to enable mandatory locking so that no two clients can access
> > > file at same time.
> >
> > What exactly do you mean by "mandatory locking", and why isn't advisory
> > fcntl-based locking sufficient?
> >
> > --b.
> 
> 
> 
> 
> --
> Thanks and Regards,
> Upendra.M
> 
> As a leading developer of IT infrastructure software solutions,
> Hexagrid developed the first cloud computing platform that directly
> aligns with the real-world IT delivery models of both solution
> providers and enterprises. Hexagrid provides all the software and
> support that IT organizations need to successfully build public,
> private, or hybrid clouds that fit their specific business and
> end-user requirements. Hexagrid cloud solutions truly simplify and
> expedite virtual IT management, empowering successful cloud computing
> strategies that quickly increase profits by pooling resources,
> delivering control, and building value. Our Software, Your Cloud.  For
> more information, visit www.hexagrid.com and follow @Hexagrid on
> Twitter
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux