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

Tao Wang Tao_Wang at symantec.com
Fri Dec 3 02:00:20 MST 2010


Hi Volker,

Very sorry for late reply. a little too busy on other tasks these day. I'm planning to redo the testing to make sure if my environment has problem. will update the details if need. 

Many thanks to you.

Thanks,
-----Original Message-----
From: Volker Lendecke [mailto:Volker.Lendecke at SerNet.DE] 
Sent: 2010年12月1日 18:20
To: Tao Wang
Cc: samba at 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
> 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 with
> CLEAR_IF_FIRST. This means, all entries which are by
> definition empty are wiped out. Alternatively, if you are
> running ctdb, then smbd should have either been able to send
> the kill message to the other node, or the code should have
> discovered that process 12924 is not around anymore and it
> should have removed the conflicting entry from the
> locking.tdb entry.

Can you give a few more details about your setup? Do you
have ctdb running? Do you have "clustering=yes" set in your
smb.conf?

Thanks,

Volker Lendecke

-- 
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


More information about the samba mailing list