Date: Sat, 23 Sep 2000 16:27:47 +0700 (NSS) From: Max Khon <fjoe@iclub.nsu.ru> To: Daniel Eischen <eischen@vigrid.com> Cc: Stephen Hocking <shocking@houston.rr.com>, hackers@FreeBSD.ORG Subject: Re: Converting Sun Automounter maps Message-ID: <Pine.BSF.4.21.0009231624270.6942-100000@iclub.nsu.ru> In-Reply-To: <Pine.SUN.3.91.1000922110453.14704A-100000@pcnet1.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009231624270.6942-100000>