RE: NFS-CIFS locking

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

 



Hi Jeff,

Thanks for your reply. Basically what I want is "the file which is used under CIFS share should not get overwritten from  a nfs share and vice versa." . I might be looking for mandatory file locking in nfs share. 

Thanks
Anoop

> -----Original Message-----
> From: Jeff Layton [mailto:jlayton@xxxxxxxxxx]
> Sent: Wednesday, May 20, 2009 8:53 PM
> To: Anoop P.A.
> Cc: linux-nfs@xxxxxxxxxxxxxxx
> Subject: Re: NFS-CIFS locking
> 
> On Tue, 19 May 2009 23:11:40 -0700
> "Anoop P.A." <Anoop_P.A@xxxxxxxxxxxxxx> wrote:
> 
> >
> > Hi List,
> > I have a use case where I will export one share through  samba, FTP and
> NFS. Is there any way to achieve cross protocol locking? I am using Linux
> kernel 2.6.18.
> > Any inputs highly appreciated.
> >
> 
> FTP doesn't really do any locking so that shouldn't be an issue. NFS
> just uses regular posix locks. I think samba by default uses posix
> locks on the backend (subject to the setting of the "posix locking"
> parameter in smb.conf), so I that that should also work there.
> 
> If you're having problems with that, then you may have better luck
> asking this question on one of the samba mailing lists...
> 
> Cheers,
> --
> Jeff Layton <jlayton@xxxxxxxxxx>
--
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