Date: Tue, 29 Jan 2008 02:32:07 -0500 From: Rocco Caputo <rcaputo@pobox.com> To: doc@freebsd.org Subject: suggestion about fdisk/bsdlabel examples in handbook section 19.4 Message-ID: <B6FCE611-00B4-4543-88C0-818246E198F3@pobox.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B6FCE611-00B4-4543-88C0-818246E198F3>