Re: NFS automounting. Stable for mail servers?



On Mon, Jun 19, 2006 at 05:24:01PM -0400, Francisco Reyes wrote:
Our setup has a number of front end mail machines accesing nfs servers.
To distribute the load we create directories like
/mail-server1
/mail-server2
/mail-server3

Each of the front end machines mounts all the servers from fstab. Problem
with that is that if loading from fstab if one of the nfs servers freezes
the front end machines may have problems while trying to access the downed
nfs server.

That's true, but you'd want to be a bit careful with an automounter; you
don't want your MTA to create /mail-server1/u/s/username/Maildir on the
front-end's local disk if /mail-server1 was not mounted!

What would you expect the front-end to do if a user whose mail is on
/mail-server1 connects, but /mail-server1 is down? You could add a check to
the application code to check for this case. Or, perhaps more simply, you
could just use a 'soft mount' for NFS, and let it fail. I've not tested this
myself. I've built clusters around Netapps and they are too reliable :-)

As for automount, I don't use that either, but I wouldn't expect much
problem if you were just auto-mounting /mail-server1, /mail-server2,
/mail-server3 and leaving them mounted. I expect the problems you refer to
are when user1 connects and you automount /mail-server1/u/s/user1/ (that is,
thousands of automounts and unmounts taking place all the time)

Regards,

Brian.
_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • /net and automountd problems
    ... We have some Sun servers where the automounter was ... servers which have a working /net facility. ... remote filesystem by hand works without problems and it's not possible to ...
    (SunManagers)
  • Re: SMC doesnt create home directory
    ... Automounter is a facility to allow directories to be placed anywhere on ... environment can be setup to reference all files on servers (projects, ... DeeDee, don't press that button! ...
    (comp.unix.solaris)
  • Re: Good practices with NFS sharing of binaries
    ... >In order to avoid having to install the same software on different ... >via NFS to all other servers, which then use the automounter. ... Now "all other servers" are dependent on this one server. ...
    (comp.unix.solaris)