RE: FreeBSD boot menu is missing



Mirroring the entire slice is far simpler. If you mirror individual
partitions, you have to label them *before* you newfs them.

What we're really trying to accomplish is an automated install via a PXE boot server. Unfortunately gmirror isn't available in mfsroot at the point the file systems need to be set up. So what we've ended up doing is doing is what amounts to a bootstrap install on the first disk, and then after the installCommit is done, gmirror is available and we have a post install script that runs gmirror on the other drives. Then the script copies the OS slice over to the gmirrored fs, reboots to this mirrored system, and finally adds the original disk to the mirror. It's fully automated and gives us a mirrored OS slice across four drives, and we even handle drives of different sizes.

I would mirror the whole drive, though

We can't do that. The data on the non-mirrored portion is different on each drive and we don't want it mirrored.

- and I would use ZFS, with which
you can easily transition to larger drives (just replace them one by one
and resilver in between - you can even do it online if your disks are
hot-swappable)

FreeBSD doesn't handle hot swap very well we've discovered, not unless you are using a RAID based backplane and drives. We cannot use RAID in our application, and don't in fact want to. We're still trying to figure out how to deal with drive removal in a live non-RAIDed system.

We plan to move to ZFS but we are too close to a release cycle to make the move now (QA would have to run through weeks of testing). ZFS will happen, though, sooner or later.

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"

Relevant Pages

  • RE: Help me select hardware....Some real world data that might help
    ... Less than 1 minute into a backup run of only 4 machines, I've got a fresh ZFS wedgie. ... As I understand it, the ZIL is not as much of an integrity boost as a speed boost, especially since we already have checksum-per-block. ... Array drives all live on the LSI right now. ... in the raidz datasets, and the pool as a whole. ...
    (freebsd-current)
  • Re: ZFS NAS configuration question
    ... I'm not booting off a ZFS root, though it does mount a ZFS file system once the system has booted from a UFS file system. ... Rather than dedicate drives, I simply partitioned each of the drives into a 1G partition, and another spanning the remainder of the disk. ... It's not too tricky to do the install; I certainly didn't need to burn a custom CD or anything. ...
    (freebsd-stable)
  • Re: Would ZFS and gmirror work well together in a two-node failover cluster?
    ... I want ZFS to ... manage the drives as a JDBOD in a RAIDZ2 configuration. ... gmirror would interact with ZFS. ... Which means your two node cluster won't be active/active. ...
    (freebsd-questions)
  • Re: GPT boot with ZFS RAIDZ "ZFS: i/o error - all block copies unavailable"
    ... I'm actually a bit concerned that it hinges on how many drives are ... When I install world from the 8.0-RC1 USB image I can boot from ... booting from the ZFS fails. ... i/o error - all block copies unavailable ...
    (freebsd-current)
  • RE: Sudden wierd SATA problem on RELENG_7 (Re: ZFS hanging at kernel boot now, but didnt before... (
    ... I saw really strange stuff with one bad SATA cable on my 6 drive ZFS array. ... kernel boot now, but didn't before... ... and the system booted just fine on the remaining 4 drives. ... (gmirror on 500Mb partition on each of five disks, ...
    (freebsd-stable)