hi, there!
On Fri, 22 Sep 2000, Daniel Eischen wrote:
> On Fri, 22 Sep 2000, Stephen Hocking wrote:
> > I've stumbling into the wonderful world of auto-mounting, and trying to
> > convert some maps from a Sun box to the FreeBSD format. I have amd.conf set up
> > OK as per the man page, but keep on getting errors when changing into the
> > relevant directorys (like amd can't find an appropriate match). Has anyone
> > been down this path?
>
> Somewhat related to this...
>
> I've tried to get FreeBSD to behave with Sun automount home directories.
> When all the (Sun) home directories are on one system, I could get
> by by exporting the home directory on the Sun and automounting this
> as /home on the FreeBSD box. But we're now expanding so that home
> directories will exist on 2 different Sun boxen, and this will no
> longer work. I've resorted to disable automounting of users home
> directories on the Suns (where /home/<user> could be automounted to
> any Sun box/filesystem) and am now auotmounting /home/<machinename>
> instead. So home directories are /home/box1/user23 or /home/box2/user134.
> FreeBSD can now deal with this by automounting box1 and box2 under /home.
>
> amd-utils doesn't seem to support the autofs mapping needed to
> allow FreeBSD to exist in such an environment where each users home
> directory is automounted. I remember searching the newsgroups
> regarding this issue, and there did seem to be some initial support
> for autofs though.
we do automounting user homes this way:
--- cut here (amd.home amd map) ---
/defaults
type:=nfs;opts:=rw,vers=3,proto=tcp,intr,soft,nodevs,nosuid,rsize=8192,wsize=8192;
#
# master users
ros host==master;type:=link;fs:=/usr/home/${key} ||
rhost:=master;rfs:=/usr/home;sublink:=${key}
oleg host==master;type:=link;fs:=/usr/home/${key} ||
rhost:=master;rfs:=/usr/home;sublink:=${key}
nik host==master;type:=link;fs:=/usr/home/${key} ||
rhost:=master;rfs:=/usr/home;sublink:=${key}
[...]
sol host==master;type:=link;fs:=/usr/home/${key} ||
rhost:=master;rfs:=/usr/home;sublink:=${key}
ilnar host==master;type:=link;fs:=/usr/home/${key} ||
rhost:=master;rfs:=/usr/home;sublink:=${key}
eug host==master;type:=link;fs:=/usr/home/${key} ||
rhost:=master;rfs:=/usr/home;sublink:=${key}
paul host==master;type:=link;fs:=/usr/home/${key} ||
rhost:=master;rfs:=/usr/home;sublink:=${key}
#
# biboca users
al host==biboca;type:=link;fs:=/usr/home/${key} ||
rhost:=biboca;rfs:=/usr;sublink:=home/${key}
#
# lark users
fjoe host==lark;type:=link;fs:=/usr/home/${key} ||
rhost:=lark;rfs:=/usr;sublink:=home/${key}
#
# tiamat users
osya host==tiamat;type:=link;fs:=/usr/home/${key} ||
rhost:=tiamat;rfs:=/usr;sublink:=home/${key}
#
# lizard users
cs host==lizard;type:=link;fs:=/usr/home/${key} ||
rhost:=lizard;rfs:=/usr;sublink:=home/${key}
#
# xaa users
xaa host==xaa;type:=link;fs:=/usr/home/${key} ||
rhost:=xaa;rfs:=/usr;sublink:=home/${key}
#
# drugon users
als host==drugon;type:=link;fs:=/usr/home/${key} ||
rhost:=drugon;rfs:=/usr;sublink:=home/${key}
blay host==drugon;type:=link;fs:=/usr/home/${key} ||
rhost:=drugon;rfs:=/usr/home;sublink:=${key}
plesk host==drugon;type:=link;fs:=/usr/home/${key} ||
rhost:=drugon;rfs:=/usr;sublink:=home/${key}
--- cut here ---
/fjoe
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message