[ale] Fstab fails
Michael H. Warfield
mhw at WittsEnd.com
Mon Aug 29 17:57:52 EDT 2011
On Mon, 2011-08-29 at 15:20 -0400, Wolf Halton wrote:
> Thanks, Mike,
> I have got to find a better example of how it works. I have been all
> over the internet, but with no great success.
> This is usually the sort of thing I write how-tos about when I find a
> way to solve them.
MOST of the time, I get away with this for NFS (lines, not the whole
file):
/etc/auto.master:
/net -hosts
Should be in the default. Then there's a scripted, /etc/auto.net, for
managing some stuff that's also in the default.
Then you just create symlinks to ...
/mnt/wittsend/export -> /net/wittsend.com/export
And that mounts wittsend.com:/export automagically.
Don't create symlinks into vital areas (like / or /usr) where things
like ls will cause headaches trying to dereference unavailable resources
and symlinks.
You can get a LOT fancier and a LOT more complicated with SMB and other
mounts but start off simple and KISS.
> -Wolf
Regards,
Mike
> On Mon, Aug 29, 2011 at 11:04 AM, Michael H. Warfield <mhw at wittsend.com> wrote:
> > On Mon, 2011-08-29 at 10:04 -0400, Wolf Halton wrote:
> >> I have been trying to get my nfs thing to work, but it has proven so
> >> fragile that I am giving up on it.
> >
> >> So would it make sense to have the configs in a separate place from
> >> the spot on the local server where they are used, right
> >> /root/configs # git repo
> >> and push them to
> >> server-00:/configs # home server
> >> server-01:/configs # 1st remote server
> >> and so on.
> >> I don't know how to do it with git and/or puppet. I have been looking
> >> at autofs, which is more reminiscent of nfs (but nfs-style mount lines
> >> fail). The autofs solution is more aimed at what I think of as
> >> focus-clusters - 3-server groups that are linked in in their focus -
> >> for instance, to deliver a specific application suite.
> >
> > Definitely look closer at autofs. I use that for almost all NFS work
> > and, if you're really intent on very dynamic configurations, you can use
> > network maps or the /net auto directory. I really use the later pretty
> > extensively. You don't even need special configurations to make it work
> > and you simply open up your shares on your server, which you have to do
> > anyways!
> >
> >> I like the "update every five minutes" of puppet.
> >
> >> Does it make the most sense to have a central puppet server that
> >> pushes to all the other servers in the network segment, or would it be
> >> better to have a puppet server on each focus-cluster?
> >
> >> Wolf
> >
> > Regards,
> > Mike
> >
> --
> This Apt Has Super Cow Powers - http://sourcefreedom.com
>
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
Url : http://mail.ale.org/pipermail/ale/attachments/20110829/f9adca8d/attachment.bin
More information about the Ale
mailing list