* basic question on "key"
@ 2004-10-05 16:19 es
2004-10-06 7:59 ` Ian Kent
0 siblings, 1 reply; 4+ messages in thread
From: es @ 2004-10-05 16:19 UTC (permalink / raw)
To: autofs
Hello there, I'm using autofs since a while and works very well.
Now I'd like to mount /home/milly and /home/es/Data from an NFS export.
This means I cannot simply have /home in auto.master otherwise /home/es
became inaccesible.
********* auto.master file
/home/milly /etc/autofs/auto.home.milly
/home/es /etc/autofs/auto.home.es
********* auto.home.milly
./ -fstype=nfs,rw myhost:/home/milly
It seems I can't use ./ as key nor I can have /home/es in auto.master
and have Data as key in auto.home.es because it will mount /home/es
hidding the content of /home/es.
I have read trought the docs but can't find an example of this basic
usage scenario.
TIA
Eli
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: basic question on "key"
@ 2004-10-05 16:35 Rigler, Stephen C.
0 siblings, 0 replies; 4+ messages in thread
From: Rigler, Stephen C. @ 2004-10-05 16:35 UTC (permalink / raw)
To: autofs
Does this work (you'd need to use the modern autofs)?
** auto.master:
/home /etc/autofs/auto.home
** /etc/autofs/auto.home:
milly -rw myhost:/home/milly
es -rw /Data -rw myhost:/home/es/Data
-Steve
-----Original Message-----
From: autofs-bounces@linux.kernel.org
[mailto:autofs-bounces@linux.kernel.org] On Behalf Of es
Sent: Tuesday, October 05, 2004 11:19 AM
To: autofs@linux.kernel.org
Subject: [autofs] basic question on "key"
Hello there, I'm using autofs since a while and works very well.
Now I'd like to mount /home/milly and /home/es/Data from an NFS export.
This means I cannot simply have /home in auto.master otherwise /home/es
became inaccesible.
********* auto.master file
/home/milly /etc/autofs/auto.home.milly
/home/es /etc/autofs/auto.home.es
********* auto.home.milly
./ -fstype=nfs,rw myhost:/home/milly
It seems I can't use ./ as key nor I can have /home/es in auto.master
and have Data as key in auto.home.es because it will mount /home/es
hidding the content of /home/es.
I have read trought the docs but can't find an example of this basic
usage scenario.
TIA
Eli
_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: basic question on "key"
2004-10-05 16:19 basic question on "key" es
@ 2004-10-06 7:59 ` Ian Kent
2004-10-06 8:08 ` Ian Kent
0 siblings, 1 reply; 4+ messages in thread
From: Ian Kent @ 2004-10-06 7:59 UTC (permalink / raw)
To: es; +Cc: autofs
On Tue, 5 Oct 2004, es wrote:
> Hello there, I'm using autofs since a while and works very well.
> Now I'd like to mount /home/milly and /home/es/Data from an NFS export.
> This means I cannot simply have /home in auto.master otherwise /home/es
> became inaccesible.
> ********* auto.master file
> /home/milly /etc/autofs/auto.home.milly
> /home/es /etc/autofs/auto.home.es
> ********* auto.home.milly
> ./ -fstype=nfs,rw myhost:/home/milly
>
> It seems I can't use ./ as key nor I can have /home/es in auto.master
> and have Data as key in auto.home.es because it will mount /home/es
> hidding the content of /home/es.
You might like to try a multi mount entry like
milly myhost:/home/milly
es / myhost:/home/es \
/data otherhost:/home/data
Note that multi mount map entries mount and umount all their entries as
a single unit because of the cross filesystem issues that can arise. So in
this case /home/es and /home/es/data would be mounted and umounted
together.
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: basic question on "key"
2004-10-06 7:59 ` Ian Kent
@ 2004-10-06 8:08 ` Ian Kent
0 siblings, 0 replies; 4+ messages in thread
From: Ian Kent @ 2004-10-06 8:08 UTC (permalink / raw)
To: es; +Cc: autofs
On Wed, 6 Oct 2004, Ian Kent wrote:
> On Tue, 5 Oct 2004, es wrote:
>
> > Hello there, I'm using autofs since a while and works very well.
> > Now I'd like to mount /home/milly and /home/es/Data from an NFS export.
> > This means I cannot simply have /home in auto.master otherwise /home/es
> > became inaccesible.
> > ********* auto.master file
> > /home/milly /etc/autofs/auto.home.milly
> > /home/es /etc/autofs/auto.home.es
> > ********* auto.home.milly
> > ./ -fstype=nfs,rw myhost:/home/milly
> >
> > It seems I can't use ./ as key nor I can have /home/es in auto.master
> > and have Data as key in auto.home.es because it will mount /home/es
> > hidding the content of /home/es.
>
> You might like to try a multi mount entry like
>
> milly myhost:/home/milly
> es / myhost:/home/es \
> /data otherhost:/home/data
>
> Note that multi mount map entries mount and umount all their entries as
> a single unit because of the cross filesystem issues that can arise. So in
> this case /home/es and /home/es/data would be mounted and umounted
> together.
And as Stephen says you need at least autofs version 4.0.0.
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-06 8:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-05 16:19 basic question on "key" es
2004-10-06 7:59 ` Ian Kent
2004-10-06 8:08 ` Ian Kent
-- strict thread matches above, loose matches on Subject: below --
2004-10-05 16:35 Rigler, Stephen C.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.