Hello Volker, Thanks a lot for your help.
We figured out the reason. In our cluster environment, when the IP(Windows XP mounted the share by it) was down. It failed over to another box. This is not same as the IP is down and up on same box. It's the reason why smb cannot cleanup the share mode entry. The IP is up from another box. We tested it with IP down/up on same box. It can work. Thanks, -----Original Message----- From: Volker Lendecke [mailto:volker.lende...@sernet.de] Sent: 2010年11月26日 23:25 To: Tao Wang Cc: samba@lists.samba.org Subject: Re: [Samba] Files in samba share cannot be deleted after copying failed. On Fri, Nov 26, 2010 at 02:34:54AM -0800, Tao Wang wrote: > googled with 'DENY_ALL'. and tried server parameter(veto > oplock files/reset on zero vc/locking) of smb.conf, but > still cannot work. Am we missing something? Or, how we > solve this copying issue? reset on zero vc = yes should have helped. You should analyze the log files why the new smbd does not terminate the old, broken one or why the share mode entry is not cleaned up. Volker -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba