From: Luca Ferrari <fluca1978@infinito.it>
To: linux-admin@vger.kernel.org
Subject: Re: NFS & autofs problem
Date: Thu, 17 Mar 2005 09:40:27 +0100 [thread overview]
Message-ID: <200503170940.27338.fluca1978@infinito.it> (raw)
In-Reply-To: <200503101000.52982.fluca1978@infinito.it>
On Thursday 10 March 2005 10:00 Luca Ferrari's cat walking on the keyboard
wrote:
> Hi,
> I've got two machines that exports the user's homes and other dirs with
> NFS, and the clients mount them via automount.
> I've configured the client so that they can mount a directory from the main
> machine (main) or from the backup one (backup) if the main is not working.
> In other words, here there's an example of a client /etc/auto.home
>
> * main,backup:/export/home/&
>
>
> The problem, instead, is that clients are mounting directories from main
> and backup at the same time. In fact, I've shared another disk space,
> called shared, which autofs config file contains:
> * main,backup:/export/shared/home/&
>
> but when a user connects to a client, what happens is that the homes are
> mounted from main, while shared from backup. Now, I cannot see any
> difference in the configuration file, thus I cannot solve the problem. Any
> idea about it?
>
I solved the problem of the client mount thru weights, thus changing the
configuration file of the client in one like the below:
* main(0), backup(10):/export/home/&
produces the right mount of the main machine and, if it is not available, of
the backup one. However, I still don't know how to make the backup machine
mounting the main one, instead of its local copy. Here the weights are not
working.
Luca
--
Luca Ferrari,
fluca1978@infinito.it
prev parent reply other threads:[~2005-03-17 8:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-10 9:00 NFS & autofs problem Luca Ferrari
2005-03-17 8:40 ` Luca Ferrari [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200503170940.27338.fluca1978@infinito.it \
--to=fluca1978@infinito.it \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).