[PLUG] Need some FreeBSD help
patrick.n.fitzgerald.1
pfitzge1@purdue.edu
Thu, 5 Oct 2000 18:41:03 -0500 (EST)
On Thu, 5 Oct 2000, Jason Dubrow wrote:
>
> I'de assume the same way as you do it on linux....make a minmal partion on
> both of them to accomidate the boot/basic system, then mirror the rest.
> Or maybe you can fit the boot up onto a floppy, good luck on the later!
Yeah, thats what most docs I've seen tell me. The boss, however, says
stuff like "well, if NT can do it, why can't FreeBSD?"
I think what I'm going to do is make two identical disks, each with around
100 megs at the beginning for /boot, /bin, /etc & so on, then mirror the
rest of the drives. Then if one fails, it can still boot off the other
(hopefully). Then, with a bit of scripting black magicks, I'll rig up
tripwire or something similar to make sure that the real root and the
spare root are always concurrent (or at least really close). Maybe a
nightly 'dd if=/dev/wd0s1a of=/dev/wd1s1a' would do it ( although that's
a really kludgy way of doing it. Come to think of it, user-space drive
mirroring in any form is a kludge, really).
Apparently, though, Linux can use an md device as a root fs. See:
http://www.linuxdoc.org/HOWTO/Root-RAID-HOWTO.html
ah well.
Concert tonight at the Java Roaster. Mike Kelsey, 8pm. All are welcome.
I know I'll be there.
P.
--
Gravity is a myth, the Earth sucks.
--fortune (5)