[OT-ish] nfs v. samba

Todd Slater dontodd at gmail.com
Fri Oct 28 15:52:05 UTC 2005


On 10/28/05, Michael R. Head <burner at suppressingfire.org> wrote:
> On Fri, 2005-10-28 at 09:25 -0400, Todd Slater wrote:
> > I've been trying to come up with a system to share files in my home
> > network consisting of a desktop computer and a laptop, using a
> > wireless router. Both are Breezy, but I sometimes boot my laptop to
> > WindowsXP, but don't plan on needing to access files on my Breezy box
> > from XP.
>
> I use nfs to share my mp3s around my home network. I achieve very high
> transfer rates.
>
> > I recently set up NFS to share files linux to linux. After mounting
> > the shared directory I tried transferring some files; the transfer was
> > incredibly slow. A folder of jpegs about 5.5 MB took well over 4
> > minutes. I say this is incredibly slow because when I ran Mandrake
> > (RIP) with samba, I could transfer a 700 MB file in like 6 minutes or
> > something (Windows and linux).
>
> Do you have the sync option set? Here's my setup:
>
> server's /etc/exports line:
> /home/users/albums *.burner(ro,all_squash,anonuid=65534,anongid=100,async)

I don't have the sync option. Since I copy from client to server, I
need it writable. The options I have are (rw,async).

> client's /etc/fstab line:
> suppressingfire:/home/users/albums /albums nfs ro,auto  0       0

I didn't add the server to my fstab, preferring to mount it manually:

sudo mount serverip:/home/me/nfs

I basically followed the docs for NFS in the Ubuntu wiki.

Todd




More information about the ubuntu-users mailing list