SUMMARY: NFS automounter on an RS6000 client with a sparc NIS server

From: vispi@lgc.com
Date: Tue Jan 14 1992 - 22:57:12 CST


Hi all

Sorry for the delay in posting the summary. This is my original response.
The summary follows. Its long.

==>
==>
==>
==>Hi Managers
==>
==>I'm trying to get an RS6000 set up as an NIS client using a sparc as an
==>NIS server.
==>
==>Client RS6000 530 running AIX 3.1
==>NIS server sparc 370 running SunOS 4.1.1
==>
==>Okay, here's the problem. It might be something obvious, or it might not ...
==>...
==>
==>According to InfoExplorer, (the IBM hypertext help system) a sample auto.mas
==>ter
==>file shows no mount option fields. On the sun there is a mount options field
==>.
==>
==>eg. (on suns)
==># cat /etc/auto.master
==>
==> /home /usr/share/automounter/auto.home -rw,hard,intr
==> ^^^^^^^^^^^^^
==>
==>and
==># cat /etc/auto.home (on suns)
==>
==> machine1 machine1:/export/home/machine1
==>
==>NOW note the difference on the RS6000's
==>
==>eg. (on RS6000)
==># cat /etc/auto.master
==>
==> /home /usr/share/automounter/auto.home
==>
==>
==> and
==># cat /etc/auto.home (on RS6000)
==>
==> machine1 -rw,hard,intr machine1:/export/home/machine1
==> ^^^^^^^^^^^^^
==>
==>The mount options are in different maps.
==>How does this affect me?? I have to use the NIS maps generated by the
==>NIS sun server on the RS6000 client.
==>
==>
==>What I have achieved:
==> a) I have configured the RS6000 to the point where ypcat mapname
==> shows the NIS maps. ypwhich, and ypmatch work as they should.
==>
==> b) The automounter is running and tries to mount the correct
==> filesystems, but fails for some unknown (to me) reason.
==>
==>Strange symptoms:
==> a) When the automounter is running /home gets created. That's fine.
==> If I cd to /home an ls results in the following message
==>
==> ls: 0653-343 Cannot read ..
==>
==>Any fixes, suggestions etc....
==>Any and all help will be greatly appreciated. If anyone has dealt with a
==>similar situation, please email me and I'll summarize.
==>
==>Thanks
==> -Vispi Dumasia
==> vdumasia@lgc.com
==>

-------

General opinion is, and I found it to be true is that auto.master is either
outdated or broken, and there is no point in messing with it.
However it is possible to run NIS and automounter on RS6000 clients.
Also many suggested badgering IBM for a fix.

Mark Miller suggested that I have a different set of maps for the RS6000
that are generated by the sun master. I didn't try that, but that seems like
it will work.

Walter Hartheimer's suggestion was the one I took.

I placed the mount points in /etc/rc.nfs on the RS6000 and created the
files /etc/auto.home auto.build etc with +auto.home and +auto.build in them.
The automount has to be invoked from the /etc/rc.nfs file as follows

/usr/etc/automount -m /home /etc/auto.home
The -m means don't refer to the NIS maps, thus it won't read auto.master.
==========

Below is a list of all the responses. Longish :-)

From: zjat02@trc.amoco.com (Jon A. Tankersley)
Message-Id: <9201070430.AA14369@trc.amoco.com>
To: vispi
Subject: Re: NFS automounter on an RS6000 client with a sparc NIS server

Surprise, surprise..... The RS6000 has automount based of 4.0.0 not 4.0.3
or 4.1 or 4.1.1.... This means it is severely broken. No NIS maps, etc....

Sorry. I've already fried IBM over this one. The were advertising it as 4.0.3
based.

From: eckhard@ikarus.ts.go.dlr.de (Eckhard Rueggeberg)
Message-Id: <9201070743.AA23733@ikarus.ts.go.dlr.de>
To: vispi
Subject: Re: NFS automounter on an RS6000 client with a sparc NIS server

An RS6000 is a semi-UNIX machine which you can't expect to
work as well as any other real UNIX machine in a UNIX environment.

Eckhard R"uggeberg
eckhard@ikarus.ts.go.dlr.de

From: birger@vest.sdata.no ( Birger Wathne)
Message-Id: <9201070800.AA05146@sdvest.vest.sdata.no>
To: vispi
Subject: Re: NFS automounter on an RS6000 client with a sparc NIS server

The options in auto.master are considered defaults for the auto.home
map, but can be overridden by entries in auto.home.

I have set up automount between RS6000 and Sun without any problems.
But i don't have any access to that setup anymore... I did it for a
customer.

Birger

From: Mark Miller <lumm@spot.cc.lehigh.edu>
To: vdumasia
Subject: automounter and aix
Message-Id: <CMM.0.90.2.694791310.lumm@spot.CC.Lehigh.EDU>

Hello,

About your question on NIS/autmounter/and Suns and AIX machines. We
are doing the same thing, using a Sun NIS server for the AIX machines
using the automounter. Yes, the IBM and Sun automount maps are
somewhat different.

We solved the problem by distributing a complete separate set of maps
for the AIX machines. For example, we created auto.master2 for the AIX
machines, then fired up the AIX automounters with the command:

/usr/etc/automount -m `/usr/bin/ypcat -k auto.master2`

The -m says to ignore the auto.master map, and the ypcat fills in the
command line with the alternate master map. Any maps referenced in
that master map are then picked up by the automounter automatically
(even though this doesn't seem to be documented).

Actually, we had a lot of trouble with the AIX automounter, and ended
up using AMD on the AIX machines. For that we have another set of maps
called amd.master1, etc.

mark

-----------------------------------------------------------------------------
Mark Miller
Network Analyst lumm@spot.CC.Lehigh.EDU
Lehigh University Computing Center LUMM@VAX1.CC.Lehigh.EDU
Bethlehem, PA 18015 LUMM@LEHIIBM1 (Bitnet)
-----------------------------------------------------------------------------

From: mcneill@eplrx7.es.dupont.com (Keith McNeill)
Message-Id: <9201071434.AA19086@eplrx7.es.duPont.com>
Received: by molson.es.duPont.com (4.1/kdm-082991-sub)
        id AA00421; Tue, 7 Jan 92 09:34:21 EST
To: vispi
Subject: Re: NFS automounter on an RS6000 client with a sparc NIS server

There is a fix to the IBM automounter that amoung other things enables it to
deal with unknown options more gracefully (unknown to the IBM at least). The
automounter that they supply is apparently a very very early one supplied by
Sun. Call them up to get a fix and to badger them to get the most recent
Sun automounter ported.

Keith

    Keith McNeill | Du Pont Company
    mcneill@eplrx7.es.duPont.com | Engineering Physics Laboratory
    (302) 695-9353/7395 | P.O. Box 80357
                                  | Wilmington, Delaware 19880-0357

From: walter@pins.com (Walter F. Hartheimer)
Received: by pins.com (4.1/3.2.083191-Precision Nesting Systems)
        id AA09494; Tue, 7 Jan 92 10:09:27 EST
Message-Id: <9201071509.AA09494@pins.com>
To: vispi
Subject: Re: NFS automounter on an RS6000 client with a sparc NIS server

My experience has shown that the auto.master does not work. I have placed the mount points
in the automount startup command in rc.nfs.

Note the line:

if [ -x /usr/etc/automount ]; then
        /usr/etc/automount /home auto.home /vol auto.vol
fi

is the last line in my rc.nfs which gives me two mount points for the automounter.

rc.nfs is spawned by an entry in inittab

Note the line:

rcnfs:2:wait:/etc/rc.nfs > /dev/console 2>&1 # Start NFS Daemons

Hope this helps!

From: johnb@edge (John Benjamins)
Date: Tue, 7 Jan 1992 23:41:57 -0500
In-Reply-To: vispi@lgc.com
       "NFS automounter on an RS6000 client with a sparc NIS server" (Jan 6, 5:29pm)
X-Mailer: Mail User's Shell (7.2.3 5/22/91)
To: vispi
Subject: Re: NFS automounter on an RS6000 client with a sparc NIS server

vispi@lgc.com,

On Jan 6, 5:29pm, you wrote:
} Subject: NFS automounter on an RS6000 client with a sparc NIS server
}
} Hi Managers
}
} I'm trying to get an RS6000 set up as an NIS client using a sparc as an
} NIS server.
}
} Client RS6000 530 running AIX 3.1
} NIS server sparc 370 running SunOS 4.1.1
}
} Okay, here's the problem. It might be something obvious, or it might not .....
}
} According to InfoExplorer, (the IBM hypertext help system) a sample auto.master
} file shows no mount option fields. On the sun there is a mount options field.
}
} eg. (on suns)
} # cat /etc/auto.master
}
} /home /usr/share/automounter/auto.home -rw,hard,intr
} ^^^^^^^^^^^^^
}
} and
} # cat /etc/auto.home (on suns)
}
} machine1 machine1:/export/home/machine1
}
} NOW note the difference on the RS6000's
}
} eg. (on RS6000)
} # cat /etc/auto.master
}
} /home /usr/share/automounter/auto.home
}
}
} and
} # cat /etc/auto.home (on RS6000)
}
} machine1 -rw,hard,intr machine1:/export/home/machine1
} ^^^^^^^^^^^^^
}
} The mount options are in different maps.
} How does this affect me?? I have to use the NIS maps generated by the
} NIS sun server on the RS6000 client.
}
}
} What I have achieved:
} a) I have configured the RS6000 to the point where ypcat mapname
} shows the NIS maps. ypwhich, and ypmatch work as they should.
}
} b) The automounter is running and tries to mount the correct
} filesystems, but fails for some unknown (to me) reason.
}
} Strange symptoms:
} a) When the automounter is running /home gets created. That's fine.
} If I cd to /home an ls results in the following message
}
} ls: 0653-343 Cannot read ..
}
} Any fixes, suggestions etc....
} Any and all help will be greatly appreciated. If anyone has dealt with a
} similar situation, please email me and I'll summarize.
}
} Thanks
} -Vispi Dumasia
} vdumasia@lgc.com
}
}-- End of excerpt of Jan 6, 5:29pm

I would call IBM and ask for a fix. My understanding is that the
version of NFS/NIS that they are using is of SunOS 3.5 vintage, and
has a number of bugs. What version of AIX are you running? At least
3.1.5 I hope:-)

I hope this helps.

-- 
E. John Benjamins                           BITNET: JOHNB@MCMASTER
Computing and Information Services,       Internet: johnb@edge.cis.mcmaster.ca
ABB 132, McMaster University,      << "Who can stand in the way,          >>
Hamilton, Ontario, Canada.         <<  When there's a dollar to be made?" >>

From: marc@aixwiz.austin.ibm.com (Marc Wiz) Message-Id: <9201082242.AA27825@aixwiz.austin.ibm.com> To: vdumasia Subject: Automounter on the RS/6000

The 6000 uses the old Sun automounter from SunOS 4.0.3.

Someone in my group is working on porting the 4.1.1 automounter.

You might want to ask your IBM SE about this or call the Austin Support Center. There are fixes to automounter bugs.

Hope this helps.

Marc Wiz MaBell (512)838-4028

Yes that really is my last name. The views expressed are my own.

marc@aixwiz.austin.ibm.com

--- Thanks all

-Vispi Dumasia vdumasia@lgc.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:34 CDT