From owner-freebsd-questions@FreeBSD.ORG Wed Aug 10 17:51:15 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3982A16A41F for ; Wed, 10 Aug 2005 17:51:15 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4575643D6D for ; Wed, 10 Aug 2005 17:51:00 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout2.cac.washington.edu (8.13.4+UW05.04/8.13.4+UW05.05) with ESMTP id j7AHoxM8016131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 10 Aug 2005 10:50:59 -0700 X-Auth-Received: from [128.208.4.29] (shiina.dyn.cs.washington.edu [128.208.4.29]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.4+UW05.04/8.13.4+UW05.07) with ESMTP id j7AHovAl008398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 10 Aug 2005 10:50:58 -0700 Message-ID: <42FA3E82.8080400@u.washington.edu> Date: Wed, 10 Aug 2005 10:50:58 -0700 From: Garrett Cooper User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ewald Jenisch , FreeBSD Questions References: <20050810170409.GA5560@aurora.oekb.co.at> <42FA35DC.5060502@u.washington.edu> <20050810172840.GA5668@aurora.oekb.co.at> In-Reply-To: <20050810172840.GA5668@aurora.oekb.co.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: /home on a separate slice on cloned system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2005 17:51:15 -0000 Ewald Jenisch wrote: >> Where exactly is the /home directory you want to mount on your slave >>machine? If it's located on your 'master' machine, you can use NFS to >>share the directory and just create a reference in fstab to the location >>of the NFS mounted drive on your 'slave' machine. >> >> > >Hi Garrett, > >Sorry for not making that clear in the first place: I want to have an >*empty* /home on the slave machine, just a partition that can be >mounted under /home. My /home on the slave machine is /dev/hda2d like >on the slave machine albeit with a different size. > >(The reason is I want to clone installations having an empty /home on >the slave machines that can be "populated" later on) > >So my problem is on how to set up a partition, say /dev/hda2d on the >slave machine in order to be able to mount it as /home. > >-ewald > > Oh, that's simple then. Just run mkfs_ufs (or something like that) /dev/hda2d (that is if the slice exists... run sysinstall and modify where necessary to add the slice). Then on your next reboot everything should work just fine if you formatted the slice. Otherwise if you already have a slice formatted and ready to go, just use that slice in fstab. -Garrett