Date: Tue, 14 Jun 2005 11:37:16 -0400 From: "dave" <dmehler26@woh.rr.com> To: <freebsd-questions@freebsd.org> Subject: gmirror trouble with bsdlabel Message-ID: <000801c570f6$f1bbf560$0200a8c0@satellite>
next in thread | raw e-mail | index | archive | help
Hello, I'm running a 5.4 box and trying to get gmirror going. I'm following the howto at: http://people.freebsd.org/~rse/mirror/ I'm following procedure1 as i want to mirror the entire drive. My situation, i have two identical 80 gb IDE drives, ad0 and ad1, when i try to edit the disk label, i took it from ad0 and change partition a's offset to 16 and try to save bsdlabel informs me that partitions a and b overlap and it won't commit changes. My commands are as follows: dd if=/dev/zero of=/dev/ad1 bs=512 count=79 gmirror label -v -n -b round-robin gm0 /dev/ad1 gmirror load fdisk -v -B -I /dev/mirror/gm0 bsdlabel -w -B /dev/mirror/gm0s1 bsdlabel ad0s1 > label1 bsdlabel -R /dev/mirror/gm0s1 label1 bsdlabel -e /dev/mirror/gm0s1 change offset of partition a to 16 and save. This is where i get the error. Thanks. Dave.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801c570f6$f1bbf560$0200a8c0>