Member
Registered: Dec 2003
Location: New Zealand
Distribution: Mandriva 2006 64
Posts: 45
Rep:
|
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.
regards
David
Client conflgs below
[david@dads david]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:0D:61:69:5C:EC
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20d:61ff:fe69:5cec/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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
/etc/fstab
[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:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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
/etc/exports
[david@server david]$ cat /etc/exports
/home/shared *.skinner.co.nz(rw,no_wdelay,sync,no_root_squash)
/home/shared/Movies *.skinner.co.nz(rw,no_wdelay,sync,no_root_squash)
/home/david/Documents *.skinner.co.nz(rw,no_wdelay,sync,no_root_squash)
/var/backup *.skinner.co.nz(rw,no_wdelay,sync,no_root_squash)
|