All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Swan <rswanster@gmail.com>
To: autofs@linux.kernel.org
Subject: debug failed automount
Date: Thu, 28 Apr 2005 10:19:34 -0400	[thread overview]
Message-ID: <11101302050428071921ec8bb7@mail.gmail.com> (raw)

I'm trying to debug automount refusal to mount volumes.  The manual
mount works fine:

> ypcat -k auto.home | grep robert
robert remotehost:/export/users/car073/robert

then

> mount remotehost:/export/users/car073/robert /home/robert

and ls /home/robert works as expected. However, if I

> automount /var/autofs/home/ yp auto.home

and then try to ls /var/autofs/home/robert, I get 

ls:/var/autofs/home/robert: No such file or directory, 

and /var/log/syslog contains

localhost automount[23333]: failed to mount /var/autofs/home/robert

I've also verified that I'm able to automount locally exported
directories (using a "file" map, however).

One point is that the remote host is accessed through a VPN tunnel.

I've attached automount syslog entries using the -d and -v automount
command line options. I suspect "winner=(null)" is a clue but I have
no idea what it means.

Thanks for any help,
Robert

Apr 28 07:52:28 localhost automount[12608]: handle_packet: type = 0
Apr 28 07:52:28 localhost automount[12608]: handle_packet_missing:
token 4, name robert
Apr 28 07:52:28 localhost automount[12608]: attempting to mount entry
/var/autofs/home/robert
Apr 28 07:52:28 localhost automount[12617]: lookup(yp): looking up robert
Apr 28 07:52:28 localhost automount[12617]: ret = 1
Apr 28 07:52:28 localhost automount[12617]: lookup(yp): robert ->
remotehost:/export/users/car073/robert
Apr 28 07:52:28 localhost automount[12617]: parse(sun): expanded
entry: remotehost:/export/users/car073/robert
Apr 28 07:52:28 localhost automount[12617]: parse(sun): gathered options:
Apr 28 07:52:28 localhost automount[12617]: parse(sun):
dequote("remotehost:/export/users/car073/robert") ->
remotehost:/export/users/car073/robert
Apr 28 07:52:28 localhost automount[12617]: parse(sun): core of entry:
options=, loc=remotehost:/export/users/car073/robert
Apr 28 07:52:28 localhost automount[12617]: parse(sun): mounting root
/var/autofs/home, mountpoint robert, what
remotehost:/export/users/car073/robert, fstype nfs, options (null)
Apr 28 07:52:28 localhost automount[12617]: mount(nfs):
root=/var/autofs/home name=robert
what=remotehost:/export/users/car073/robert, fstype=nfs,
options=(null)
Apr 28 07:52:29 localhost automount[12617]: mount(nfs): winner =
(null) local = 0
Apr 28 07:52:29 localhost automount[12617]: mount(nfs): no host elected
Apr 28 07:52:29 localhost automount[12617]: failed to mount
/var/autofs/home/robert
Apr 28 07:52:29 localhost automount[12617]: umount_multi:
path=/var/autofs/home/robert incl=1
Apr 28 07:52:29 localhost automount[12617]: umount_multi: no mounts
found under /var/autofs/home/robert
Apr 28 07:52:29 localhost automount[12608]: handle_child: got pid
12617, sig 0 (0), stat 1
Apr 28 07:52:29 localhost automount[12608]: sig_child: found pending
iop pid 12617: signalled 0 (sig 0), exit status 1
Apr 28 07:52:29 localhost automount[12608]: send_fail: token=4

             reply	other threads:[~2005-04-28 14:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-28 14:19 Robert Swan [this message]
2005-04-30  5:27 ` debug failed automount Robert Swan
2005-04-30 15:27   ` raven
2005-05-01 13:46     ` raven
2005-05-01 23:18       ` Robert Swan
2005-05-02  2:03         ` Ian Kent
2005-05-02  2:52           ` Robert Swan
2005-05-02 13:54             ` raven
2005-05-06  4:19           ` Steven Ihde

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=11101302050428071921ec8bb7@mail.gmail.com \
    --to=rswanster@gmail.com \
    --cc=autofs@linux.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 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.