Re: Creating files on Samba got weird

From: Gerald (Jerry) Carter (jerry@samba.org)
Date: Wed Oct 17 2001 - 08:56:18 EST


On Tue, 16 Oct 2001, vda wrote:

> (CC'ing to lkml in hope on advise why I've got ksymoops error)
>
> Hello Urban,
>
> My Samba server behaves strangely.
> Very frequently (but not always) when I try to create/copy
> files from win box to linux samba server it says that file/dir
> already exists or that connection terminated. It is indeed exists,
> in case of a file it is of zero length. Subsequent copy with
> overwrite succeeds.
>
> It seems that smbd dies after it has created dir/file but before
> reporting this fact to the client. New smbd gets spawned by inetd
> then.

Following my fading memory here, but....

What file system are you sharing? VFAT by chance? For some reason
this sounds vaguely like a truncate bug Tridge fixed a few monthds
back. Try 2.2.2 (released over the weekend).

If you are exporting a VFAT fs, try to reproduce the same behavior
using ext2.

cheers, jerry
 ---------------------------------------------------------------------
 www.samba.org SAMBA Team jerry_at_samba.org
 www.plainjoe.org jerry_at_plainjoe.org
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 23 2001 - 21:00:17 EST