Section 19.4 makes it sound scary to set up gmirror for a disk with
multiple slices. It cautions:
> It is possible to have separate partitions for other mount points;
> however, this will increase the difficulty level ten fold due to
> manual alteration of the bsdlabel(8) and fdisk(8) settings.
And after the fdisk and bsdlabel examples, it notes:
> Note: If multiple slices and partitions exist, the flags for the
> previous two commands will require alteration. They must match the
> slice and partition size of the other disk.
Why can't the fdisk and bsdlabel examples copy the configuration of
the original disk? For example:
# fdisk -p /dev/da0 | fdisk -vBI -f - /dev/mirror/gm0
# bsdlabel /dev/da0s1 | bsdlabel -RB /dev/mirror/gm0s1 -
Would those commands simplify gmirror setup?
--
Rocco Caputo - rcaputo@pobox.com
_______________________________________________
freebsd-doc@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"