network crash using smbclient

View: New views
3 Messages — Rating Filter:   Alert me  

network crash using smbclient

by Andrea Lanza :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
I am facing the following problem:

if I copy a large file (more than 8GB, i.e.) from a local linux workstation
to a SMB server (both samba N.A.S. than windows xp /2003), I have no
problems

If I try to copy back the same file, after a while (1GB... 2GB, sometimes 5
GB),
I got an error about smb server unavailable.

At this point I have no more network on the linux pc. I tried to
ifdown/ifup, I tried to change ip address via yast
(I am running on an opensuse 10.2 box): no net available !!

I also tried to uninstall anything installed (3.0.23) and install the latest
binaries 3.027: no changes !

I also tried both mounting locally the SMB remote via mount.cifs than using
smbclient
and using get command after: no changes !!

The only way I have to make the pc having back the net is to reboot it
(network light is on: ethtool see it connected: route sees the same thing
before and after crash !! )

If I try to ping a local net host, I get the error: Destination Host
Unreachable

What can I check ? kernel: 2.6.18.8-0.7-bigsmp #1 smbclient: both 3.023 than
3.027

thanks in advance,

Andrea


smime.p7s (4K) Download Attachment

Re: network crash using smbclient

by Philippe Bertin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrea,

Apparantly you loose your network ip address ? What does
/way/to/your/startup/scripts/network start
or
/sbin/ifup eth0 (your problematic network interface is eth0, I guess ?)
give as a result when you have these network problems ? Do you get your
network capabilities back ? I can hardly imagine that samba would be at
the origin of the problems that you describe ?

I may be (quite) wrong, but from what you tell, I'd rather suspect some
problems with your network interface(/driver) which probably only shows
up whenever *sending* big files over that interface ? Are you sure you
use the correct driver for your interface? Do you have an idea if the
same problem would occur when sending over the big file using NFS ? If
using samba for sending over the file, are you sure the problem really
doesn't always occur at the *very* same place ?

Kind regards

Andrea Lanza wrote:

>Hi all,
>I am facing the following problem:
>
>if I copy a large file (more than 8GB, i.e.) from a local linux workstation
>to a SMB server (both samba N.A.S. than windows xp /2003), I have no
>problems
>
>If I try to copy back the same file, after a while (1GB... 2GB, sometimes 5
>GB),
>I got an error about smb server unavailable.
>
>At this point I have no more network on the linux pc. I tried to
>ifdown/ifup, I tried to change ip address via yast
>(I am running on an opensuse 10.2 box): no net available !!
>
>I also tried to uninstall anything installed (3.0.23) and install the latest
>binaries 3.027: no changes !
>
>I also tried both mounting locally the SMB remote via mount.cifs than using
>smbclient
>and using get command after: no changes !!
>
>The only way I have to make the pc having back the net is to reboot it
>(network light is on: ethtool see it connected: route sees the same thing
>before and after crash !! )
>
>If I try to ping a local net host, I get the error: Destination Host
>Unreachable
>
>What can I check ? kernel: 2.6.18.8-0.7-bigsmp #1 smbclient: both 3.023 than
>3.027
>
>thanks in advance,
>
>Andrea
>  
>

Parent Message unknown R: R: network crash using smbclient

by Andrea Lanza :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 

> -----Messaggio originale-----
> Da: Philippe Bertin [mailto:philippe.bertin@...]
> Inviato: domenica 9 dicembre 2007 16.06
> A: Andrea Lanza
> Oggetto: Re: R: network crash using smbclient
>
> Andrea,
>
> I suppose the virtual machine are NOT running at this moment
> ?
YES, they are stopped when I try to copy the file

>If they would be, then you would surely have problems !
> You did not modify the network card hardware setup, have you
> ?
I didn't do anything differently. Anyway now there is a different OS version

(opensuse 10.2; in the past, when I had asterisk on that box, I had opensuse
10.1)

> If you kept the same hardware, then my suspicion on the
> network card's driver will most probably be something that
> can be excluded.
>

I tried to copy that big file from the storage to another linux box using
samba without any problem (3.0.24 version)

This last linux box I copied the file to is also an ftp server and a Samba
server.

At this point I tried to copy that big file from this ftp server to the box
having problem with samba client:
no problem, the file was perfectly received in short time (8.436.458.024
bytes in 2:45 (48.64 MB/s) )

At this point I tried to copy that big from this same Samba server to the
box having problem with samba client:
the crash was almost immediate !! (after reboot I see: 126.701.568 bytes the
size of the copied file.)

So I think the problem is really related to smb environment:
remember I have no problem in sending this same file via smbclient  !!
only getting via smbclient always get to crash !

The network card I am using is seen by opensuse 10.2 as

"ASUSTek Marvell 88E8053 Gigabit Ethernet controller"

the module name is "sky2"

What test do you suggest me to try ? Changing network card ? changing buffer
sixe ?

thank you,

Andrea



smime.p7s (4K) Download Attachment
LightInTheBox - Buy quality products at wholesale price