I did what you suggested below:

# ln -s /export/home /home

# cat /etc/auto.master
/export/home    /etc/auto.home --timeout 600

# cat /etc/auto.home
/home     -fstype=nfs lcars:/home

# /etc/rc.d/autofs stop; /etc/rc.d/autofs start

# tail -f /var/log/messages

automount[885]: starting automounter version 4.0.0, path = /export/home/,
maptype = program, mapname = /etc/auto.home
automount[885]: using kernel protocol version 4
automount[885]: using timeout 600 seconds; freq 150 secs
automount[885]: attempting to mount entry /export/home/kcallis
automount[890]: lookup(program): lookup for kcallis failed
automount[885]: attempting to mount entry /export/home/kcallis
automount[993]: lookup(program): lookup for kcallis failed

I have tried to make use of the suggestion of Thomas Schweikle (and yes, I
did read the docs! :?) ) by changing auto.home to the following:

*   -soft, rw    lcars:/home/&

Still no go... But I am trying every variation that I can come up with as
well as those that have come in as suggestions.


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "H. Peter Anvin" <[EMAIL PROTECTED]>
Cc: "Kim C. Callis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, April 07, 2001 2:15 PM
Subject: Re: Mounting problems...


>
> hi kim....
>
> i am assuming you want lcars:/home to be your home directory
> on lcars and on your linux box...
>
> my simple-minded solution for the above...
>
> linux#  mv /home /home.suse
> linux#  ln -s /.autofs/home /
>
> linux#  cat /etc/auto.master
>
> /.autofs  /etc/auto.home  --timeout 600
>
> linux#  cat /etc/auto.home
>
> home -fstype=nfs lcars:/home
>
> linux#  /etc/rc.d/init.d/autofs stop ;  /etc/rc.d/init.d/autofs start
>
> linux# ls -la /home/kim_stuff
> - should show your stuff...
> -
> if not...whats the content of /etc/auto.* and
> the entries in the log files
>
> have fun
> alvin
> http://www.Linux-Consulting.com/AutoFS/autofs-HOWTO
>
>
>
> On Sat, 7 Apr 2001, H. Peter Anvin wrote:
>
> > > "Kim C. Callis" wrote:
> > >
> > > I have been attempting to have Linux mount home directories from my
> > > fileserver. I am using SuSE Linux 7.1 and the FS is running FreeBSD
4.1
> > > CURRENT
> > >
> > > On the BSD box, I have a /etc/exports that looks like this
> > >
> > > /home    -alldirs    -network 192.168.0    -mask 255.255.255.0
> > >
> > > The BSD box does in fact export the directories. But it gets a little
> > > wierd when it gets to the Linux box. My auto.home on the Linux box
> > > looks like this:
> > >
> > > /home    -soft,rw    lcars:/home
> > >
> > > I fire up the autofs and nothing... Now, when I manually force a mount
> > > then everything seems to work somewhat ok. For whatever reason, /home
> > > doesn't mount at /home but /export/home. But if I don't manually mount
> > > the directory, then I get nothing. Although there is in fact something
> > > mounted at /export/home (this is shown when I do a mount command to
see
> > > what is mounted. Also on the BSD box, showmount says that it is
> > > exporting to the linux box.), when I do an ls, nothing shows up.
> > >
> > > I am not using NIS, and I have run out of ideas. Does anyone have a
> > > suggestion of what might be wrong?
> > >
> >
> > "Linux autofs does not support direct mounts."
> >
> > --
> > <[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
> > "Unix gives you enough rope to shoot yourself in the foot."
> > http://www.zytor.com/~hpa/puzzle.txt
> >
>

Reply via email to