This is Interesting: Free IT Magazines  
Home > Archive > Samba > June 2004 > [Samba] Frustrated...Samba on linux w/xfs SLOW problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [Samba] Frustrated...Samba on linux w/xfs SLOW problem
John Dollar

2004-06-28, 8:43 am

I have a very simple setup here that I have recently made some
modifications to and it has affected my ability to save files to the
linux samba server.

The recent changes are: converted all fs's to xfs from ext3.
Upgraded to latest kernel 2.6.7 from a 2.4 kernel.

Samba used to work fine. Now, I can copy files out of my linux samba
server to my windows machine at full speed. However, when I try
copying a file over 5 or 6 Megs from my Windows XP machine (or even
in DOS) to the linux samba server, when I watch the activity lights,
it starts out at a decent speed for a second, then slows and slows
and eventually stops. I then get the message "The specified
network name is no longer available."

Is there something with xfs that would be causing this?

I'm running samba 3.0.4.

Here is my smb.conf:

[global]
workgroup = Mystuff
server string = Samba Server
interfaces = 172.31.69.1/255.255.255.0
bind interfaces only = Yes
log file = /var/log/samba.%m
max log size = 50
dns proxy = No
ldap ssl = no
hosts allow = 172.31.69., 127.
hosts deny = all

[homes]
comment = Home Directories
read only = No
browseable = No

[mp3]
comment = Our MP3 Collection
path = /home/MP3
valid users = jim, sandy
read only = No
create mask = 0665
directory mask = 0775

[backup]
comment = Backups for everyone!
path = /backup
valid users = jim, sandy
read only = No
create mask = 0665
directory mask = 0775


--
________________________________________
___________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
David Brodbeck

2004-06-28, 7:27 pm

> -----Original Message-----
> From: John Dollar [mailto:johnnydollar@techie.com]


> Samba used to work fine. Now, I can copy files out of my linux samba
> server to my windows machine at full speed. However, when I try
> copying a file over 5 or 6 Megs from my Windows XP machine (or even
> in DOS) to the linux samba server, when I watch the activity lights,
> it starts out at a decent speed for a second, then slows and slows
> and eventually stops. I then get the message "The specified
> network name is no longer available."


Are you getting a lot of collisions when this happens? This sounds
suspiciously like a network problem, maybe mismatched duplex settings.

Try FTPing or SCPing a file to the server from your Windows machine. If
that transfer is affected as well, it's a network problem, not a Samba
problem.
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
John Dollar

2004-06-28, 8:46 pm

> > -----Original Message-----
>
>
> Are you getting a lot of collisions when this happens? This sounds
> suspiciously like a network problem, maybe mismatched duplex settings.
>
> Try FTPing or SCPing a file to the server from your Windows machine. If
> that transfer is affected as well, it's a network problem, not a Samba
> problem.


I had tried scping and that does work fine.

I tried the following test. I created a new ext2 file system on the computer, made it a samba share, and turned off all other samba shares except the ext2 one. I then wrote a 35M file from my windows machine to the linux server. It worked like it used
to.

This seems to prove to me that a) there is no network problem, b) samba is working correctly, c) there is DEFINATELY an issue with XFS and samba. From what I've read in some other places, it appears there is also an issue with ReiserFS and samba. What i
s it with samba that it only appears to like ext2/3 fs's?

Is *ANYONE* using XFS with samba and having it work at a normal rate of speed when writing to it?

Before anyone asks, I also did try mounting a drive from my windows machine via smbclient and copy a file on the linux box from the windows machine. That works fine, even to the xfs drives.

It seems to me that there's got to be some option in the samba configuration that I just don't have correct. If someone is currently successfully using linux xfs w/samba, please, share your config!

--
________________________________________
___________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
John Dollar

2004-06-30, 5:53 pm

Well...I found a (not necessarily THE) solution to my problem.

I grabbed kernel 2.4.26, compiled it and tried it instead of the 2.6.5/7 kernels I had been using.

Voila...everything worked as it used to.

Just wanted everyone to know what I had found.

Thanks to everyone for their help, I appreciated all of your assistance.

--
________________________________________
___________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2010 webservertalk.com