Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2005 10:50:58 -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:  <42FA3E82.8080400@u.washington.edu>
In-Reply-To: <20050810172840.GA5668@aurora.oekb.co.at>
References:  <20050810170409.GA5560@aurora.oekb.co.at> <42FA35DC.5060502@u.washington.edu> <20050810172840.GA5668@aurora.oekb.co.at>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42FA3E82.8080400>