Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 16:34:37 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Nate Lawson <nate@root.org>, "David O'Brien" <obrien@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG
Subject:   Re: mirrored root fs?
Message-ID:  <p05200f00ba3fa500e34f@[128.113.24.47]>
In-Reply-To: <Pine.BSF.4.21.0301061144320.11096-100000@root.org>
References:  <Pine.BSF.4.21.0301061144320.11096-100000@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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