Samba replacing NFS

Christophe Dupre duprec at
Mon Oct 26 17:20:54 GMT 1998

if you have that slow a speed with NFS, you should check your configuration. 
While Linux doesn't have a very good NFS server, the client code is very fast. 
And Solaris is one of the best NFS server around, especially with a E450...
Check that your web server mounts the filesystems with the options 
"rsize=8192,wsize=8192", it's the only caveat we have here when mounting a 
filesystem on Linux from Solaris. And here, it runs a at near wire-speed.

> Date: Sat, 24 Oct 1998 12:06:12 +0200
> From: "Florian G. Pflug" <fgp at>
> To: samba at
> Subject: Samba replacing NFS
> Message-ID: <19981024120612.A204 at>
> > I have a number of web servers that mount their /htdocs (and /log and
> > /cgi-bin) directories from a large file server. I am currently using NFS
> > for this. The web servers are Linux, the file server a Sun E450. NFS seems
> > dreadfully slow, and I keep reading about how it doesn't do file locking.
> > 
> > Is there a good reason not to simply use samba, and share the volumes with
> > samba from the Sun, and use smbmount on the linux machines? Will this not
> > be faster? (It could hardly be slower).
> > 
> > It seems perverse to use a Win32 protocol between to *nix machines, but NFS
> > just seems very very slow.
> > 
> > Can anyone think of a good reason _not_ to use samba in this situation?
> I guess samba would be faster than NFS, but why don't you just put /htdocs
> and /cgi-bin on a local disk of the web-server. This seems much cleaner to
> me. If you need to change the web-site quite often, you could either export
> /htdoc and /cgi-bin from the web-server via NFS, samba,
> marw_nwe(novell-emulation),... or you edit the files on the Sun like you do
> now, and rsync them with the files on the web-server (you find info about
> rsync on the internet). 
> I guess you share the /log dir to have one machine, where every server
> logs... well syslogd has this feature already built-in.. it can log to any
> server you want it to...
> Hope this helps.... Florian


Christophe Dupre
Analyste de systemes, 
RISQ inc.
550 Sherbrooke ouest, suite 250-ouest    Tel: (514) 845-7181, ext 237
Montreal, QC CANADA                      FAX: (514) 845-8083

"Nous ne sommes pas libres de ne pas etre libres, nous sommes obliges de 
l'etre"  -  Fernando Savater

More information about the samba mailing list