RE: FreeBSD boot menu is missing



He had you install a stock MBR on the second disk. You never copied
the boot loader from the first disk, so that's what you're going to
use when you boot from the second disk. You need to install the boot
block you want on the second disk. Which probably means
boot0. boot0cfg will do that for you. You probably want
boot0cfg -B -s 1 <diskdevice> # The device - ad1, not the
slice!

Okay, that makes sense. That's an easy change to my script.

Um, no. He reduced the size of one partition because he's overly
paranoid about gmirror failing to recognize the providers properly,
which forces him to dump and restore one partition - which leads to
doing them all to get them on one disk. If you don't need to resize
the partitions, you can just labelling the disk you're already using.
Once you've done that, you can gmirror insert the second drive into
the mirror, and it will resilver the second drive while providing full
access to the first one. No need to copy any data at all.

Man, I wish I'd known this. I built a whole automated framework around
this, assuming you couldn't set up the initial mirror drive with a live
file system. I'll have to try your solution; it is definitely the way to
go. We are dealing with identical size drives as well so this shouldn't
be a problem.

His analysis of the choices is pretty shallow as well. He lets wanting
to use different-sized disks dominate the analysis, which is great if
you're building your mirror with disks from the parts bin. I tend to
by drives to pairs if I want to mirror them, so that's
immaterial. Once that's gone, mirroring a full disk slice just doesn't
make sense at all - either mirror the entire disk (to get the MBR), or
mirror the partitions in the slice (for extra flexibility and less
painful resilvering).

We don't want to mirror the whole drive, just the OS partitions. I
decided to go with the full slice mirroring because of what was
described in this link. If mirroring the partitions in the slice is the
better way to go, then that's fine my me.

Better instructions for getting a full-disk mirror can be found here:
http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html

I look forward to reading this. Thanks for the help!

_______________________________________________
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: Realistic drive arrays
    ... > may be an opportunity to swap 2 of the disks for a pair of 143Gb drives ... >> two drives in the same mirror failing within the parts replacement SLA of ... >> How much memory the store.exe process uses really depends on how much ... >>> copy of the database on the disk. ...
    (microsoft.public.exchange.setup)
  • Re: Using mirroring to replace drive?
    ... I upgrade and rebuild it. ... drive which happens to be the system disk. ... and mirror the failing drive on the new drive. ... upgrade to 7.0 after establishing the new good drives). ...
    (freebsd-questions)
  • Re: Reinstall or restore with different disk config
    ... I use a Dell with the RAID 1 on th eonboard and it seems quite healthy but I have never done the pull the disk out test yet. ... One thing to do maybe is to disable write caching on the drives (see in properties of the drive itself in Windows) you may or may not have this option depending on driver. ... The boot.ini change relates to the fat that the path specifies a drive and partition to boot from - if the drive specified is off-line then the boot.ini path is invalid so you need to add a redundant entry pointing to the second mirror drive to start from. ...
    (microsoft.public.windows.server.sbs)
  • RE: Windows 2003 Mirror and Boot Partition
    ... For your complex hardware disk situation, ... How to mirror the system and boot partition in Windows ... | on the two new drives. ...
    (microsoft.public.windows.server.general)
  • Re: Maxtor one touch image?
    ... I want to know if a Maxtor One Touch III can make an image of your disk..? ... RAID 1 forms a mirror of two drives. ... RAID driver can "rebuild" the mirror. ... The mirroring operation has made an exact backup, ...
    (microsoft.public.windowsxp.hardware)