[Samba] Text file busy

Christine Lafrance christine.lafrance at ensmp.fr
Tue May 15 09:35:07 GMT 2007


Diego Woitasen wrote:
> Hi!
>
> somebody knows how to avoid that samba mantains the files open on the
> server side while the clients close them.
>
> I have problems with a samba file server and windows/linux clients
> with the message "text file busy". The clients doesn't have the files
> open, the problem is in the server.
>
> I tried with oplocks=no without sucess.
>
> regards,
>   diegows
>

 Hi,
We are using Samba 3.024 with a Linux Debian Etch
We had the same problems with a unix share mounted by NFS (homes)  on 
the samba server

"The process cannot access the file because another process has locked a
portion of the file"


The problem had been resolved adding these oplocks parameters in smb.conf  :

[global]
....
kernel oplocks = no
....

[homes]
       ......
       oplocks = yes
       level2 oplocks = yes
       ..........

Parameters in [homes] section  are default parameters

 Christine

-- 
Christine.Lafrance at ensmp.fr |Centre de Calcul, Ecole des Mines de Paris
      bureau L023           |60,Bd Saint-Michel, 75272 Paris Cedex 06 
  tel : 01-40-51-91-41      | fax : 01-40-51-93-01            



More information about the samba mailing list