Samba - slow copies

Kim Briggs patiodragon at gmail.com
Sun Dec 23 18:02:39 UTC 2007


On 12/19/07, NoOp <glgxg at sbcglobal.net> wrote:
> I'm having a bit of a problem with copying files from one Ubuntu to
> another (both Gutsy - 2.6.22-14-386 kernels). The problem is that when I
> copy a large file from this system to a laptop (fresh install + all
> updates) the copy is extremly slow
.......
>
> Any ideas on what might be causing this, and/or what I can try to tune
> to speed things up?

Hello,

Have you considered using NFS?  Since you are using two linux
machines...my experience has been that NFS is superior in every way.

After installing the NFS server with Synaptic, you only need to modify
/etc/exports on the server.  Here is an INSECURE example for a trusted
LAN and two additional machines with fixed IP addresses (which you can
give them even using DCHP).

# /etc/exports: the access control list for filesystems which may be exported
#		to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync) hostname2(ro,sync)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt)
# /srv/nfs4/homes  gss/krb5i(rw,sync)
#
/home/utree/documents 	 192.168.1.21(rw) 192.168.1.14 (rw)
/home/utree/audio 	 192.168.1.21(rw) 192.168.1.14 (rw)
/home/utree/music_CDs 	192.168.1.21(rw) 192.168.1.14 (rw)
/home/utree/photos 	 192.168.1.21(rw) 192.168.1.14 (rw)
/home/utree/public_html 192.168.1.21(rw) 192.168.1.14 (rw)
/home/utree/videos 	 192.168.1.21(rw) 192.168.1.14 (rw)

HTH.
-- 
http://kimbriggs.com




More information about the ubuntu-users mailing list