[Samba] Partially transferred files keep locked for a while after client disconnected ungracefully
Volker.Lendecke at SerNet.DE
Mon Apr 16 23:47:55 MDT 2012
On Tue, Apr 17, 2012 at 11:22:33AM +0800, 赵培 wrote:
> When copying a big file from Windows to a Samba share working with the
> normal TDB mode rather than CTDB mode, the Windows client disconnected from
> the network ungracefully such as cable unplugging or network disabling.
> Then, try to delete the partial transferred file from another client, we
> will be prompted that another program is using this file. The lock can be
> easily observed by smbstatus as follows:
Try "reset on zero vc = yes" in the [global] section.
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba