At 11:54 AM -0800 1/6/03, Nate Lawson wrote:
On Mon, 6 Jan 2003, David O'Brien wrote:
 On Mon, Jan 06, 2003 at 10:27:21AM -0800, Nate Lawson wrote:
 > > I'd like to have a mirrored root partition.  I tried ccd(4)
 > > but the boot blocks couldn't find the fs.  Any idea how much
 > > work it would take to enable booting a ccd root?  Also, does
 > > vinum already support this?
 >
 > I've moved ccdconfig and ccd.conf to /boot and made /boot its
 > own FS, with the intention of doing what you want to do.  I
 > never got around to testing this setup. :-(

That is suboptimal for me since I'd still have to manually mirror
the /boot partition (dd) every time I updated the kernel.  Not a
huge problem but not quite what I want to do.
That is not necessarily a problem.  I've meant to setup something
where I would create a snapshot of the root partition, and then
duplicate data from that snapshot to a different partition.  My
thinking was that I could set this up as a cron job, and back up
the root partition every night.  Probably do a 'dd' or an 'rsync',
followed by a step to change /etc/fstab on the destination so it
would be right for the destination.

("create a snapshot" in the UFS/softupdates sense of the phrase)

This wouldn't be as up-to-date as official mirroring, but then my
root partition doesn't change all that much, so a daily snapshot
should be fine.  Of course, I've never actually gotten around to
implementing this, but my guess is that it's very doable and the
result would be very flexible.  (no special hardware, no special
software, no special configs)  About all I've done is that I always
create a spare partition that's the same size as my root partition,
and occasionally I test a backup to it...  :-)

--
Garance Alistair Drosehn            =   [EMAIL PROTECTED]
Senior Systems Programmer           or  [EMAIL PROTECTED]
Rensselaer Polytechnic Institute    or  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to