Re: FreeBSD boot menu is missing



"Peter Steele" <psteele@xxxxxxxxxxxxx> writes:
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.

Just make sure you leave a few unallocated blocks at the end of the disk
(for gmirror metadata). In most cases, this happens automatically,
because the size of the disk is not a multiple of the (fake) cylinder
size. To pick one at random, I have a Maxtor 6B300S0 here with
586112591 LBA sectors where the fake c/h/s geometry only adds up to
586111680 sectors, leaving 911 sectors at the end.

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.

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

I would mirror the whole drive, though - 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)

DES
--
Dag-Erling Smørgrav - des@xxxxxx
_______________________________________________
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: Extending a slice
    ... Due to physical space restrictions I cannot put more drives into this box and yet I need more physical drive space. ... mirror and inserted one 40GB drive into the mirror and removed the remaining 6GB drive. ... I would like to extend the slice and add the 34GB of unused space to the current /data mount point. ... It will be necessary to do a dump for each file system (partition) you ...
    (freebsd-questions)
  • Re: Extending a slice
    ... mirror using gmirror. ... more drives into this box and yet I need more physical drive space. ... someone even "extend" an UFS slice? ... It will be necessary to do a dump for each file system (partition) you ...
    (freebsd-questions)
  • Re: Extending a slice
    ... mirror using gmirror. ... more drives into this box and yet I need more physical drive space. ... someone even "extend" an UFS slice? ... It will be necessary to do a dump for each file system (partition) you ...
    (freebsd-questions)
  • Re: Worst monday of my life - please help...
    ... If that's the case, restoring the SQL ... but it finally did install with a few hiccups. ... >> or just leave the mirrored drives in the server on the secondary IDE ... I decided it was time to re-add the mirror. ...
    (microsoft.public.windows.server.sbs)
  • Re: UFS to ZFS
    ... it over to ZFS? ... to do is ZFS the swap (slice 0 on both drives) and /export/home ... Do you intend to mirror them on ZFS as well? ...
    (comp.unix.solaris)