Re: [Samba] Difference in Samba and CIFS interms of keeping the deleted files opened

2009-07-21 Thread Nikhil
On Tue, Jul 21, 2009 at 5:06 PM, Gerald Carter wrote: > Nikhil, > > > I looked at the enabling kernel oplocks in the samba configuration file > and > > I have enabled "kernel oplocks = yes" in the [global] section on both of > > Linux-2.6.18-92 and Linux-2.4.21-47.0.1.ELsmp kernel machines runnin

Re: [Samba] Difference in Samba and CIFS interms of keeping the deleted files opened

2009-07-21 Thread Gerald Carter
Nikhil, > I looked at the enabling kernel oplocks in the samba configuration file and > I have enabled "kernel oplocks = yes" in the [global] section on both of > Linux-2.6.18-92 and Linux-2.4.21-47.0.1.ELsmp kernel machines running the > samba and I notice that the behaviour is not as what is sai

Re: [Samba] Difference in Samba and CIFS interms of keeping the deleted files opened

2009-07-21 Thread Nikhil
On Tue, Jul 21, 2009 at 12:10 PM, Nikhil wrote: > > > On Tue, Jul 21, 2009 at 12:12 AM, Jeremy Allison wrote: > >> On Mon, Jul 20, 2009 at 10:14:49PM +0530, Nikhil wrote: >> > Hi, >> > >> > We have a CIFS server running on a NetApp server and a Solaris host >> running >> > Samba-3.3.2. >> > >>

Re: [Samba] Difference in Samba and CIFS interms of keeping the deleted files opened

2009-07-20 Thread Nikhil
On Tue, Jul 21, 2009 at 12:12 AM, Jeremy Allison wrote: > On Mon, Jul 20, 2009 at 10:14:49PM +0530, Nikhil wrote: > > Hi, > > > > We have a CIFS server running on a NetApp server and a Solaris host > running > > Samba-3.3.2. > > > > When we mount both the filesystems to a Drive on a Windows usi

Re: [Samba] Difference in Samba and CIFS interms of keeping the deleted files opened

2009-07-20 Thread Jeremy Allison
On Mon, Jul 20, 2009 at 10:14:49PM +0530, Nikhil wrote: > Hi, > > We have a CIFS server running on a NetApp server and a Solaris host running > Samba-3.3.2. > > When we mount both the filesystems to a Drive on a Windows using the net use > command and then try to run a java program which basical

[Samba] Difference in Samba and CIFS interms of keeping the deleted files opened

2009-07-20 Thread Nikhil
Hi, We have a CIFS server running on a NetApp server and a Solaris host running Samba-3.3.2. When we mount both the filesystems to a Drive on a Windows using the net use command and then try to run a java program which basically does nothing but continuosly writes a data chunk to a file. On a si