Re: [Samba] Files in samba share cannot be deleted after copying failed.

2010-12-03 Thread Tao Wang
lende...@sernet.de] Sent: 2010年12月1日 18:20 To: Tao Wang Cc: samba@lists.samba.org Subject: Re: [Samba] Files in samba share cannot be deleted after copying failed. On Tue, Nov 30, 2010 at 11:01:13AM +0100, Volker Lendecke wrote: > Sure, that would be a possible reason. But something looks > n

Re: [Samba] Files in samba share cannot be deleted after copying failed.

2010-12-01 Thread Volker Lendecke
On Tue, Nov 30, 2010 at 11:01:13AM +0100, Volker Lendecke wrote: > Sure, that would be a possible reason. But something looks > not right in your setup. After a failover, locking.tdb > should be empty. When smbd is started on node2 after the > failover is done, it will open the locking.tdb file wit

Re: [Samba] Files in samba share cannot be deleted after copying failed.

2010-11-30 Thread Volker Lendecke
On Tue, Nov 30, 2010 at 01:34:24AM -0800, Tao Wang wrote: > the smbd process is still there, and cannot remove the file from Windows. > > The whole story is: > 1. mount the cifs share with a IP on node1 from Windows XP client. > 2. copy a big file from Windows XP to the share. > 3. during the copy

Re: [Samba] Files in samba share cannot be deleted after copying failed.

2010-11-30 Thread Tao Wang
failed? Thanks, -Original Message- From: Volker Lendecke [mailto:volker.lende...@sernet.de] Sent: 2010年11月30日 17:17 To: Tao Wang Cc: samba@lists.samba.org Subject: Re: [Samba] Files in samba share cannot be deleted after copying failed. On Mon, Nov 29, 2010 at 07:31:13PM -0800, Tao Wang

Re: [Samba] Files in samba share cannot be deleted after copying failed.

2010-11-30 Thread Volker Lendecke
On Mon, Nov 29, 2010 at 07:31:13PM -0800, Tao Wang wrote: > We tested many times again. Found sometime it's work, but > most times it's not work on our testing. Paste the smbd > log(debug level 3) && smbstatus output. Another interesting piece would be on the receiving side, i.e. the log file of s

Re: [Samba] Files in samba share cannot be deleted after copying failed.

2010-11-29 Thread Tao Wang
utput, process 12924 is still there. Thanks, -Original Message- From: Volker Lendecke [mailto:volker.lende...@sernet.de] Sent: 2010年11月29日 14:52 To: Tao Wang Cc: samba@lists.samba.org Subject: Re: [Samba] Files in samba share cannot be deleted after copying failed. On Sun, Nov 28, 2010 at 10

Re: [Samba] Files in samba share cannot be deleted after copying failed.

2010-11-28 Thread Volker Lendecke
On Sun, Nov 28, 2010 at 10:25:43PM -0800, Tao Wang wrote: > 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 > c

Re: [Samba] Files in samba share cannot be deleted after copying failed.

2010-11-28 Thread Tao Wang
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 &g

Re: [Samba] Files in samba share cannot be deleted after copying failed.

2010-11-26 Thread Volker Lendecke
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 he

[Samba] Files in samba share cannot be deleted after copying failed.

2010-11-26 Thread Tao Wang
Hi, We are using samba 3.5.3 and ctdb-1.0.114 on SuSe Linux. When we copy a big files from Windows XP into samba share, the network is down. copying failed. After repaired the network, mount the share again. we cannot remove the failed copying file in the samba share. It prompted 'there is anot