Timeout Issue with Samba CIFS Share

Christopher R. Hertel crh at ubiqx.mn.org
Mon Apr 10 13:27:46 GMT 2006


Can you verify that your device is running Samba 3.x and not 2.2.x?
I am running a similar xscale server unit and have found that it is
shipped with an older version of 2.2.x.

Chris -)-----

Gruher, Joseph R wrote:
> Hello all, I'm hoping you could answer a question for me.
> 
>  
> 
> I have an x86 client running WinXP with a CIFS share mounted as drive Z.
> 
> The share comes off an xscale appliance running Linux kernel 2.6.10 and
> Samba (not sure of version, but recent).
> 
> The xscale appliance has a USB device attached and mounted, the CIFS
> share represents the USB device.
> 
> So, when copying files to the CIFS share on the client, they go to the
> USB device.
> 
>  
> 
> The problem I have is this:
> 
> When copying a file it appears space is allocated on the USB device
> equal to the size of the file and filled with zeros before the file copy
> actually begins.  The WinXP client just sits and waits while this
> happens.  If it waits to long I get an error message "Cannot copy X: The
> specified network name is no longer available."  The copy then fails
> (but allocation of space for the file on the USB device continues until
> it completes, eventually resulting a file full of zeros).  The timeout
> appears to be between 75 and 90 seconds.  For a large file and a slow
> USB device space allocation can take minutes.
> 
>  
> 
> The speed of the USB device then effectively determines the maximum file
> size that can be copied.
> 
>  
> 
> Question I have is:
> 
> Does this sound like normal behavior?  Is this behavior determined by
> Samba or another part of the system?
> 
> Why does a file full of blank data have to be created before data can
> begin to transfer from the client?
> 
>  
> 
> Thanks,
> 
> Joe
> 
> 


-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org


More information about the samba-technical mailing list