From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dana Wellen Subject: Re: SOLVED?? Pls help on configuring autofs on NFS for home dir Date: Tue, 26 Sep 2006 10:50:51 -0400 Message-ID: <45193E4B.20402@onsemi.com> References: <200609261119.47084.fajarpri@cbn.net.id> <200609261143.12477.fajarpri@cbn.net.id> <45192426.3040108@onsemi.com> <200609262047.22505.fajarpri@cbn.net.id> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4239756126779797941==" Return-path: In-Reply-To: <200609262047.22505.fajarpri@cbn.net.id> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: autofs@linux.kernel.org --===============4239756126779797941== Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by hera.kernel.org id k922vZ99012554 Fajar,
=A0 Is your /home a mounted partition?=A0 Or /home exists before hand.=A0 Automounts will create
the directory as needed when autofs is started.=A0 In other words /home can't exist on ether
the root partition or have any other partitions mounted to /home.



Fajar Priyanto wrote:
On Tuesday 26 September 2006 19:59, Dana Wellen wrote:
  
 Fajar,
 =A0 I assume you want your nfstest user to mount their home directory in
/home.=A0 Your autofs files should be:
 auto.master
 /home=A0=A0 =A0=A0 /etc/auto.home --timeout=3D60
 auto.home
*       -rw,soft,intr   192.168.1.247:/home/&
    

Hi Dana,
Thank you very much for replying.
Actually, that was one of the first configurations I tried, but, when I t=
ried=20
it, autofs couldn't be started with error:
"Cannot start automount.=20
/home already mounted"

I don't know, maybe it's because I have done some mistakes before. But, I=
=20
couldn't restart the machine since it's my running mail server (shame on =
me=20
by experimenting on a production server).

I'll setup some boxes at home to try it again.
I'll post the result.
  

--

--===============4239756126779797941== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 7bit _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs --===============4239756126779797941==--