From: "Jeffrey S. Mulliken" <mulliken@v-stor.com>
To: nfs@lists.sourceforge.net
Subject: Help with NFS and automount
Date: Fri, 15 Mar 2002 23:41:13 -0800 [thread overview]
Message-ID: <3C92F719.2070507@v-stor.com> (raw)
Dear Brainiacs,
I am having a problem and have come to the end of what I can think
of to try. Scenario:
CLIENT MACHINE:
RH 7.2 Base
2.413-ac8 Kernel
autofs 4.0.0
mount 2.11g
pptp-linux v 1.0.3-1
Linksys BESFR41 4 port router
HOST MACHINES:
Gateway = RH 6.2 running firewall and VPN over PPTP
RH 6.2 machine serving NIS (yp) and DNS
SUN Ultras w/Solaris 2.51 and 2.6 serving NFS shares.
PROBLEM:
Client machine IPL's without any problems. All of the machines in
the host network are accessible via ftp or telnet.
Several nfs mounts are mounted via the /etc/fstab, and mount without
problems, and are useable
A particular nfs mount point gets mounted by the automounter
successfully via a file /etc/auto.ccwork. No problems there.
However, trying to access the same machine as above using the
program /etc/auto.net, results in "No such file or directory".
No errors in /var/log/messages, nor in /var/adm/messages on the
Solaris host. I will attach the pertinent files.
Any suggestions with be greatly appreciated.
/etc/auto.master
---------------------
/ccwork /etc/auto.ccwork -retrans=10,rsize=8192,wsize=8192,timeo=15
/net /etc/auto.net
-nosuid,retrans=10,rsize=8192,wsize=8192,timeo=15 etc/nsswitch.conf
/etc/auto.ccwork
----------------------
ccStore19 dev3:/ccStore19
ccStore20 dev3:/ccStore20
ccStore16 dev3:/ccStore16
ccStore22 dev3:/ccStore22
ccStore21 dev3:/ccStore21
/etc/modules.conf
------------------------
alias eth0 tulip
alias parport_lowlevel parport_pc
alias usb-controller usb-uhci
alias autofs autofs4
/etc/rc.d/init.d/autofs status
-------------------------------------
Configured Mount Points:
------------------------
/usr/sbin/automount /ccwork file /etc/auto.ccwork
retrans=10,rsize=8192,wsize=8192,timeo=15
/usr/sbin/automount /net program /etc/auto.net
nosuid,retrans=10,rsize=8192,wsize=8192,timeo=15
Active Mount Points:
--------------------
/usr/sbin/automount /ccwork file /etc/auto.ccwork
retrans=10,rsize=8192,wsize=8192,timeo=15
/usr/sbin/automount /net program /etc/auto.net
nosuid,retrans=10,rsize=8192,wsize=8192,timeo=15
/etc/auto.net
----------------
#!/bin/sh
# $Id: //depot/autofs-4.0/samples/auto.net#4 $
# Look at what a host is exporting to determine what we can mount.
# This is very simple, but it appears to work surprisingly well
key="$1"
# add "nosymlink" here if you want to suppress symlinking local filesystems
opts="-fstype=nfs,hard,intr,nodev,nosuid"
# Showmount comes in a number of names and varieties. "showmount" is
# typically an older version which accepts the '--no-headers' flag
# but ignores it. "kshowmount" is the newer version installed with knfsd,
# which both accepts and acts on the '--no-headers' flag.
#SHOWMOUNT="kshowmount --no-headers -e $key"
#SHOWMOUNT="showmount -e $key | tail +2"
# Newer distributions get this right
SHOWMOUNT="showmount --no-headers -e $key"
$SHOWMOUNT | sort +0 | \
awk -v key="$key" -v opts="$opts" -- '
BEGIN { ORS=""; print opts }
{ print " \\\n\t" $1, key ":" $1 }
END { print "\n" }
'
mount
---------
/dev/hda1 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda7 on /private type ext3 (rw)
/dev/hda5 on /usr type ext3 (rw)
none on /dev/shm type tmpfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
automount(pid837) on /net type autofs
(rw,fd=5,pgrp=837,minproto=2,maxproto=4)
automount(pid835) on /ccwork type autofs
(rw,fd=5,pgrp=835,minproto=2,maxproto=4)
nas1:/shared on /osd type nfs
(rw,retrans=10,rsize=8192,wsize=8192,timeo=15,bg,addr=10.200.10.2)
nas1:/h11 on /home/h11 type nfs
(rw,retrans=10,rsize=8192,wsize=8192,timeo=15,bg,addr=10.200.10.2)
nas1:/h12 on /home/h12 type nfs
(rw,retrans=10,rsize=8192,wsize=8192,timeo=15,bg,addr=10.200.10.2)
nas1:/h13 on /home/h13 type nfs
(rw,retrans=10,rsize=8192,wsize=8192,timeo=15,bg,addr=10.200.10.2)
dev3:/ccStore19 on /ccwork/ccStore19 type nfs
(rw,retrans=10,rsize=8192,wsize=8192,timeo=15,addr=10.200.10.4)
/etc/nsswitch.conf (comments removed)
----------------------------------------------------
passwd: files nis
shadow: files nis
group: files nis
hosts: files nis dns
bootparams: files nis
ethers: files nis
netmasks: files nis
networks: files nis
protocols: files nis
rpc: files nis
services: files nis
netgroup: files nis
publickey: files nis
automount: files
aliases: files nis
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next reply other threads:[~2002-03-16 7:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-16 7:41 Jeffrey S. Mulliken [this message]
2002-03-19 10:34 ` Help with NFS and automount Simon Burley
2002-03-19 21:07 ` Jeffrey S. Mulliken
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=3C92F719.2070507@v-stor.com \
--to=mulliken@v-stor.com \
--cc=nfs@lists.sourceforge.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.