Re: autofs and /home/home

2007-02-18 Thread Jan C. Nordholz
Hi,

> I can't seem to figure out a *very* simple automount configuration
> (I've done this before, but it was over two years ago :-( ).
> 
> After much work (and not enough understanding!), I have succeed in
> automounting a remote /home directory on a local client using
> 'autofs'.
> 
> Unfortunately, the mounted directory on the client is under /home/home
> instead of /home.

usually automount is used like this:
* you create a dedicated directory where all your automounted directories
  shall live, e.g. /net, and tell the master map about it
] (/etc/auto.master)
] /net  /etc/auto.net
* you create that map specifying where each possible subdirectory should be
  mounted from upon request, e.g.
] (/etc/auto.net)
] share -fstype=nfs server1:/srv/share
  resulting in a working automounted share
] /net/share <-> server1:/srv/share.

This map (auto.net) is called "indirect". If you want to have /home itself
automounted, you won't get anywhere with indirect maps, because that
would mean that / had to be governed by an automount daemon. Have a look at

/usr/share/doc/autofs/README.direct

and pay attention to the warnings at the bottom of it. When everything
is set up, don't forget to edit /etc/default/autofs in order to switch off
DISABLE_DIRECT.


Regards,

Jan


signature.asc
Description: Digital signature


Re: autofs and /home/home

2007-02-18 Thread Mankuthimma

Hi,

In your config,


  /etc/auto.master:
  /home   /etc/auto.misc  --timeout 60


This should be fine ...



  /etc/auto.misc:
  home-fstype=nfs,hard,intr   1.2.3.4:/home


But, this line should be
*   -fstype=nfs,hard,intr   1.2.3.4:/home/&

I've a similar setup and it's working just fine.

--
- Shashishekhar S
Consultant - Debian GNU/Linux
Remote Administration, Deployments
Mail Services, Tips and Tricks


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: autofs and /home/home

2007-02-18 Thread Michael Pobega
Couldn't you just edit the /etc/fstab? Maybe I'm missing something but if you 
put an entry for your device in the /etc/fstab it should automatically mount it 
and put it in the right folder.

On Sun, 18 Feb 2007 12:10:43 -0500
Kenneth Jacker <[EMAIL PROTECTED]> wrote:

> Config:  Debian/etch
> 
> I can't seem to figure out a *very* simple automount configuration
> (I've done this before, but it was over two years ago :-( ).
> 
> After much work (and not enough understanding!), I have succeed in
> automounting a remote /home directory on a local client using
> 'autofs'.
> 
> Unfortunately, the mounted directory on the client is under /home/home
> instead of /home.
> 
> Here are the two key lines on the client:
> 
>   /etc/auto.master:
>   /home   /etc/auto.misc  --timeout 60
> 
>   /etc/auto.misc:
>   home-fstype=nfs,hard,intr   1.2.3.4:/home
> 
> 
> Can someone help me to have the remote /home on the server show up as
> just /home on the client?
> 
> Any other suggestions and/or comments are most welcomed ...
> 
> Thanks!
> -- 
> Prof Kenneth H Jacker   [EMAIL PROTECTED]
> Computer Science Dept   www.cs.appstate.edu/~khj
> Appalachian State Univ
> Boone, NC  28608  USA
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



autofs and /home/home

2007-02-18 Thread Kenneth Jacker
Config:  Debian/etch

I can't seem to figure out a *very* simple automount configuration
(I've done this before, but it was over two years ago :-( ).

After much work (and not enough understanding!), I have succeed in
automounting a remote /home directory on a local client using
'autofs'.

Unfortunately, the mounted directory on the client is under /home/home
instead of /home.

Here are the two key lines on the client:

  /etc/auto.master:
  /home   /etc/auto.misc  --timeout 60

  /etc/auto.misc:
  home-fstype=nfs,hard,intr   1.2.3.4:/home


Can someone help me to have the remote /home on the server show up as
just /home on the client?

Any other suggestions and/or comments are most welcomed ...

Thanks!
-- 
Prof Kenneth H Jacker   [EMAIL PROTECTED]
Computer Science Dept   www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC  28608  USA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]