Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-07-2004, 04:21 AM   #1
Registered: Dec 2003
Location: New Zealand
Distribution: Mandriva 2006 64
Posts: 45

Rep: Reputation: 15
Slow or failed copy of large files to NFS

When I copy very large files (1.2G) to my fileserver these jam at around 200M. Alternatively, by either slowing down the link or using sync on both ends of the link I can get them to transfer but only at about 1/10th of the link speed. Configuration is Mandrake 10 (1G ram) on the client and Redhat 9 (512M ram) on the server both a switched 100mbps link. Prior to upgrading to Mandrake 10 from Redhat 9 on my desktop client this did not happen and i was able to upload at full speed.

I'm also unsure which end is causing the problem although i expect the desktop has I have made only minor changes to the server recently. Any help in tracking this down would be appreciated.

Client conflgs below

[david@dads david]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0D:61:69:5C:EC
inet addr: Bcast: Mask:
inet6 addr: fe80::20d:61ff:fe69:5cec/64 Scope:Link
RX packets:1514008 errors:0 dropped:0 overruns:0 frame:0
TX packets:1715992 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1420859425 (1355.0 Mb) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0xa000

[david@dads david]$ cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
LABEL=/home /home ext3 defaults 1 2
LABEL=/scratch /scratch ext3 defaults 1 2
/dev/hdc1 swap swap defaults 0 0
/dev/hda2 /mnt/windows ntfs umask=0,nls=iso8859-15,ro 0 0
none /dev/pts devpts mode=0620 0 0
none /proc proc defaults 0 0
/dev/hdd /mnt/cdrom auto user,unhide,umask=0,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0
/dev/fd0 /mnt/floppy auto codepage=850,iocharset=iso8859-15,noauto,nosuid,umask=0,sync,user,unhide,nodev 0 0
server:/home/shared /shared nfs soft,sync,intr,rsize=8192,wsize=8192,timeo=50 0 0
server:/home/david/Documents /home/david/Documents nfs soft,intr,sync,rsize=8192,wsize=8192,timeo=50 0 0
server:/home/shared/Movies /shared/Movies nfs soft,sync,intr,rsize=8192,wsize=8192,timeo=50 0 0
server:/var/backup /backup nfs soft,sync,intr,rsize=8192,wsize=8192,timeo=50 0 0

Server Configs
[david@server david]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:05:5D:7A:CD:59
inet addr: Bcast: Mask:
RX packets:39984759 errors:1 dropped:0 overruns:0 frame:1
TX packets:63250931 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4016945298 (3830.8 Mb) TX bytes:1917008343 (1828.2 Mb)
Interrupt:11 Base address:0x1000

[david@server david]$ cat /etc/exports
/home/shared *,no_wdelay,sync,no_root_squash)
/home/shared/Movies *,no_wdelay,sync,no_root_squash)
/home/david/Documents *,no_wdelay,sync,no_root_squash)
/var/backup *,no_wdelay,sync,no_root_squash)
Old 06-11-2006, 06:22 AM   #2
LQ Newbie
Registered: May 2006
Distribution: Slackware
Posts: 10

Rep: Reputation: 0
check /var/log/messages
and try to use mount -o tcp (kernels must be with nfs over tcp support) it sometimes do amazing things. check for my isssue:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee SUSE / openSUSE 20 10-31-2005 08:30 AM
nfs / nis problem - slow copy to servermounts but fast from server to local hdd krischeu Linux - Networking 1 06-09-2005 12:05 PM
Email Server slow with large files goldcougar Linux - Enterprise 2 08-06-2004 11:05 PM
Can't copy large files in SAMBA ghight Linux - Software 11 09-03-2003 02:59 PM
SAMBA refuses to copy large files roel Linux - Newbie 10 06-04-2002 05:29 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration