Networking Forums

Networking Forums > Computer Networking > Linux Networking > Nfs automount direct map

Reply
Thread Tools Display Modes

Nfs automount direct map

 
 
Valery Lang
Guest
Posts: n/a

 
      12-09-2003, 08:44 AM
Hello,

I need to use nfs with automount.

Nfs is ok now (work with mount and fstab)

Automount is ok with indirect map but not with direct map.

[root@linux etc]# cat auto.master
/- /etc/auto.direct --timeout=60


[root@linux etc]# cat auto.direct
/rep -fstype=nfs,soft,rw server.domain:/rep


At automount start, there is no error messages

Dec 8 15:16:38 linux automount[29584]: starting automounter version 3.1.7,
path = /-, maptype = file, mapname = /etc/auto.direct
Dec 8 15:16:38 linux automount[29584]: using kernel protocol version 3


but i can't go to /rep/1




with indirect map:

[root@linux etc]# cat auto.master
/tmp /etc/auto.direct --timeout=60
[root@linux etc]# cat auto.indirect
rep -fstype=nfs,soft,rw server.domain:/rep

i can go to /tmp/rep and mtab is ok


I forgot something for direct map ?
Is it working on fedora ?


Thanks a lot.


 
Reply With Quote
 
 
 
 
Andrei Ivanov
Guest
Posts: n/a

 
      12-09-2003, 11:14 PM
Valery Lang <valery.lang@(E-Mail Removed)> wrote:
> I forgot something for direct map ?
> Is it working on fedora ?


Direct maps are not supported by autofs (at least they weren't
supported three years ago). You might try to use am-utils instead.

--
andrei
 
Reply With Quote
 
P Gentry
Guest
Posts: n/a

 
      12-14-2003, 10:51 PM
(E-Mail Removed) (Andrei Ivanov) wrote in message news:<br5ohv$28vad1$(E-Mail Removed)>...
> Valery Lang <valery.lang@(E-Mail Removed)> wrote:
> > I forgot something for direct map ?
> > Is it working on fedora ?

>
> Direct maps are not supported by autofs (at least they weren't
> supported three years ago). You might try to use am-utils instead.


Haven't looked since I've returned to my computer -- was away from any
for 6 months (yes, it is possible to do it and survive).

Autofs on Linux is structured in such a way that it has no built-in
support for direct maps, but am-utils will NOT help because it cannot
set up the first stage to build the direct maps.

Direct maps are not encouraged on Solaris, anyway, as they are rather
fragile and difficult to administer after any physical changes.

Hopped over to the am-utils site and found the story has not changed:

# -*- text -*-
# This file is README.autofs
# am-utils-6.1
# Erez Zadok <(E-Mail Removed)> a.k.a. "The Lord of Darkness"
#
# modified by
# Ion Badulescu <(E-Mail Removed)> a.k.a. "The Autofs Master"

** General notes about the autofs support in am-utils
<snip>

* Caveats:
<snip>
Linux:
<snip> _about half way down_prg
- Direct maps cannot be supported since there is no kernel support for
them;
we might be able to get something eventually, but don't hold your
breath.
If anything, we may do it using a regular NFS mountpoint and
bind-mount on
top of it.

The gory details are buried in the kernel, and as he says, "don't hold
your breath".

HTH,
prg
email above disabled
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP and Automount? Charles Tryon Linux Networking 0 12-15-2007 08:48 PM
NIS, automount and offline Ole Jacob Taraldset Linux Networking 0 02-24-2006 05:50 PM
Linux NFS automount, Sun Solaris NIS YP, auto.direct Philip Sheng Linux Networking 7 07-22-2004 01:09 AM
nfs shutdown error (automount) ched Linux Networking 0 09-22-2003 10:47 PM
Re: nested amd automount yuhl Linux Networking 0 06-30-2003 09:47 AM



1 2 3 4 5 6 7 8 9 10 11