Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2006 07:42:25 -0400
From:      Michael Butler <imb@protected-networks.net>
To:        Jared Ring <jared@little-miracles.org>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: gmirror RAID-1: rebuilding freezes machine
Message-ID:  <45094021.70109@protected-networks.net>
In-Reply-To: <45091426.2090709@little-miracles.org>
References:  <44FF4909.9020108@vwsoft.com> <44FF5B02.3090804@vwsoft.com> <44FF6FE6.4080602@protected-networks.net> <45091426.2090709@little-miracles.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jared Ring wrote:
| I have cvsup'd today to make sure I get the updated g_mirror.c, have
| rebuilt world and kernel, installed both. however when i rebuild the
| degraded drive the same thing happens.
|
| during the rebuild the good drive is reading, but the dirty drive is not
| gettin written to according to gstat.

I've been bitten by this - make sure that the first slice on the
mirrored partition does not start at offset 0.

For example, this disk is mirrored on slice 2 ..

imb@aaron:/home/imb> sudo bsdlabel mirror/gm0s2
# /dev/mirror/gm0s2:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
~  a:   524272       16    4.2BSD     2048 16384 32768
~                ^^^^^^^
~  c: 284655734        0    unused        0     0    # "raw" part ..
~  d:  1048576   524288    4.2BSD        0     0     0
~  e:  1048576  1572864    4.2BSD        0     0     0
~  f: 282034294  2621440    4.2BSD        0     0     0

	Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFCUAhQv9rrgRC1JIRAnPHAJ9AMnr1PzCfqJBx99zs6BhWSHI4NwCggUpo
aI3LrwU8cHDmyLZpKB98EKw=
=QPtF
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45094021.70109>