All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ondrej Valousek <webserv@s3group.cz>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: Re: Ubuntu NFS automount problem
Date: Tue, 25 Nov 2008 11:27:10 +0100	[thread overview]
Message-ID: <492BD2FE.7050309@s3group.cz> (raw)
In-Reply-To: <1227576741.3009.12.camel@zeus.themaw.net>

Ian,
So what is the conclusion in terms of NFSv4 compatibility? Will the 
-hosts map work in autofs5?
Thanks,
Ondrej

Ian Kent wrote:
> On Mon, 2008-11-24 at 12:31 -0800, Bill Shannon wrote:
>   
>> Peter Staubach wrote:
>>     
>>> Bill, why aren't you using the -hosts map?
>>>       
>> That's a good question...
>>
>> I don't remember how I got to this point, but ...
>>
>> I just tried using -hosts, but it doesn't seem to be working:
>>
>> vostro# cat /etc/auto.master
>> # $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
>> # Sample auto.master file
>> # Format of this file:
>> # mountpoint map options
>> # For details of the format look at autofs(8).
>> # /misc	/etc/auto.misc	--timeout=60
>> /home	/etc/auto.home	-nosuid
>> #/net	/etc/auto.net	-nosuid
>> /net	-hosts		-nosuid
>> #/-	/etc/auto.direct	-nosuid
>> vostro# /etc/init.d/autofs reload
>> Reloading automounter: checking for changes ...
>> Reloading automounter map for: /home
>> Stopping automounter for: /smb
>> vostro# ls /net/nissan
>> ls: cannot access /net/nissan: No such file or directory
>> vostro# /etc/init.d/autofs restart
>> Stopping automounter:
>>    Couldn't stop automount for /home done.
>> Starting automounter:
>>   failed to start automount point /home
>>   done.
>> vostro# /etc/init.d/autofs reload
>> Reloading automounter: checking for changes ...
>> Reloading automounter map for: /home
>> vostro# ls /net/nissan
>> ls: cannot access /net/nissan: No such file or directory
>> vostro# grep nissan /etc/hosts
>> 192.168.1.2	nissan
>>
>> I think that's the reason I ended up with an auto.net map,
>> although it now seems likely that it never worked as intended.
>>
>> I started chasing this problem because my auto.home map wasn't
>> working, which I now understand is the expected behavior based
>> on the way I'm now exporting my /export/home filesystems.  My
>> mistake.
>>
>> I just fixed my auto.home map using multimounts.
>>
>> Still, any hints as to why the -hosts pseudo-map isn't working
>> would be appreciated.  Are you sure it's *supposed* to work?
>> It's not documented in the man page.
>>
>> I think this is the version of autofs I have:
>>
>> vostro# dpkg-query -l 'autofs*'
>> Desired=Unknown/Install/Remove/Purge/Hold
>> | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
>> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
>> ||/ Name           Version        Description
>> +++-==============-==============-============================================
>> ii  autofs         4.1.4+debian-2 kernel-based automounter for Linux
>>     
>
> Yep, that's version 4.
>
>   
>> Is there an "autofs5" package I should install instead?
>>     
>
> I'm not sure.
>
> There is an autofs5 in the package pool on the mirrors but I can't tell
> which release it belongs to.
>
> Perhaps an "apt-cache search" will give the answer.
>
> Ian
>
>
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs
>   

  reply	other threads:[~2008-11-25 10:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-23  2:27 Ubuntu NFS automount problem Bill Shannon
2008-11-24  4:08 ` Ian Kent
2008-11-24  7:25   ` Bill Shannon
2008-11-24 12:52     ` Ian Kent
2008-11-24 15:42       ` Bill Shannon
2008-11-24 16:00       ` Peter Staubach
2008-11-24 16:26         ` Ian Kent
2008-11-24 20:31         ` Bill Shannon
2008-11-25  1:32           ` Ian Kent
2008-11-25 10:27             ` Ondrej Valousek [this message]
2008-11-25 11:27               ` Ian Kent
2008-11-25 11:44                 ` Ondrej Valousek
2008-11-25 12:11                   ` Ian Kent
2008-11-24 15:59     ` Bill Shannon
2008-11-24 17:43       ` Ian Kent
2008-11-24 20:35         ` Bill Shannon
2008-11-25  1:21           ` Ian Kent
  -- strict thread matches above, loose matches on Subject: below --
2008-11-25  1:10 Brent Callaghan

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=492BD2FE.7050309@s3group.cz \
    --to=webserv@s3group.cz \
    --cc=autofs@linux.kernel.org \
    --cc=raven@themaw.net \
    /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 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.