Date: Wed, 10 Aug 2005 10:14:04 -0700 From: Garrett Cooper <youshi10@u.washington.edu> To: Ewald Jenisch <a@jenisch.at>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: /home on a separate slice on cloned system Message-ID: <42FA35DC.5060502@u.washington.edu> In-Reply-To: <20050810170409.GA5560@aurora.oekb.co.at> References: <20050810170409.GA5560@aurora.oekb.co.at>
next in thread | previous in thread | raw e-mail | index | archive | help
Ewald Jenisch wrote: >Hi, > >I'm currently in the process of cloning >FreeBSD-installations. Machines are (almost) identical - only HD-sizes >are different. > >So I installed the "master"-system as follows: > >I set up two slices on the HD. The first slice contains /, swap, /var, >/tmp, and /usr; the second slice only contains /home. During >installation I installed the FreeBSD boot manager. Everything's >running perfect on the master machine (besides the small issue that >the FreeBSD boot manager lets me choose between two (!) installations >- I assume this comes because I've got two slices). > >The next step was cloning: On the target machine ("slave") I set up >two FreeBSD partitions (i.e. "slices" in BSD-lingo: the first one >exactly equal to the first slice on the master machine, the second one >a little smaller. The cloning process itself went OK without problems >- I cloned the first slice from the master- to the slave-machine. > >After copying over the data I only had to boot with the FreeBSD >Install-CD on the slave-system one time in order to write the boot >manager and the machine booted without problems. > >Now for the problem: Upon boot the slave machine says it can't find >the /home-partition, i.e. hda2d, and goes into single-user mode. Sure >enough once I comment out the respective entry in /etc/fstab the box >runs without problems. > >In order to get /dev/hda2d mounted as root I've already tried writing >the partition table (sysinstall - Index - Partition - "w") and I've >also labelled the disk (Sysinstall - Index - Label) but that didn't >solve my problem either. > > >So my question: How do I prepare the second slice /dev/hda2d on the >slave machine in order to get mounted as /home? > >Thanks much in advance for any clue, >-ewald > > 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. -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42FA35DC.5060502>