Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2000 15:20:40 -0600
From:      Lyndon Nerenberg <lyndon@orthanc.ab.ca>
To:        Edward Elhauge <ee@uncanny.net>
Cc:        freebsd-hackers@FreeBSD.ORG, freebsd-isp@FreeBSD.ORG
Subject:   mirroring / (was Re: Frustration with SCSI system)
Message-ID:  <200009202120.e8KLKe109103@orthanc.ab.ca>
In-Reply-To: Your message of "Wed, 20 Sep 2000 13:24:34 PDT." <200009202024.NAA45822@ns2.uncanny.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Edward" == Edward Elhauge <ee@uncanny.net> writes:

    Edward> OK, vinum is good. But my understanding is that you can't
    Edward> use vinum on your root partition. By Murphy's Law it
    Edward> always seems to be root that gets screwed up. And that
    Edward> also causes the biggest problems because then you have to
    Edward> yank the system apart and find another host disk for
    Edward> booting.

Keep a spare root partition on another disk. If both disks (real root and
spare root) have the same geometry, and you allocated identically sized
root filesystems, you can dd the live root partition to the spare from
cron. If they aren't the same size you would need to keep the spare
mounted and do a 'dump ... | restore ...' instead.

Alternatively, forgo all the cron-based sync magic (which *is* a bit
dodgy when you're copying a live filesystem) and just manually sync the
spare root to the real root whenever you make significant changes (new
kernel, password file updates, etc).

--lyndon


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




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