hi christoph

please asend me your /etc/auto.master and /etc/auto.* that 
auto.master refers to  and/or your rc.autofs ??
        - guess i can try to run a tests on my slackware-8.x boxes

also please send/excerpts of the remote_machines /etc/hosts file

slackware-8.x  uses a different autofs startup script than 
redhat, debian, etc..etc...
        - graph the example rc.autofs from
        http://www.Linux-Consulting.com/AutoFS

        - sh -x /etc/rc.d/rc.autofs  might help to see where its dying

        - tweek it till it works ... 
        automounter is running as listed under "ps auxw"

thanx
alvin
http://www.Linux-Consulting.com/AutoFS/autofs.html


Some quick excerpts ( for a couple of machines on the LAN ...


remote_server1:/etc/exports
        /home/christoph         192.168.1.1(rw)

remote_serverTWO:/etc/exports
        /home/somebodyElse      192.168.1.1(ro)


On the machine you are sitting at that imports /net/server1

See if manually mounting works... it it does...autofs will
work too

local#  mount remote_server1:/home/christoph  /mnt/server1
local#  mount remote_serverTWO:/home/somebodyElse  /mnt/server2
local#  df

------------------

local:/etc/auto.master
        /.autofs        /etc/auto.servers       --timeout=60

local:/etc/auto.servers
        server1  -fstype=nfs,soft,intr  192.168.1.2:/home/christoph
        server2  -fstype=nfs,soft,intr  192.168.1.3:/home/SomebodyElse

-- restart autofs and check for errors in /var/log/* ...

local# mkdir /net ; cd /net
local# ln -s /.autofs/server1 . 
local# ln -s /.autofs/serverTwo . 

local# ls -la /net/server1/     - listing of cristoph's home dir
local# ls -la /net/serverTwo/   - listing of SomebodyElse's home dir


On Tue, 27 Nov 2001, Christoph Bugel wrote:

> Hi,
> 
> I noticed many mails about /net already, but I can't get it to work
> yet..  Basically all I want (for starters) is to mount any random
> NFS server, I don't really care about permissions / NIS, etc.  First
> I tried the autofs-3.1.7 that came with my distro, and things like
> /auto/cdrom or /auto/some-wellknown-nfsserver worked fine, but /net
> - like functionality didn't.
> 
> I am running linux-2.4.16-pre1, and I just installed
> autofs-4.0.0-pre10. quite up to date I would say :). I have
> Slackware 8.0, so /autofs script complains about wrong distro, etc.
> 
> My question is, basically, is this type of functionality supposed to
> work, or is it still quite experimental? Also, if the autofs script
> is redhat/debian specific, can I run some automount commandline
> manually to accomplish the same?
> 
> Thanks for any hints,
> Christoph
> 

Reply via email to