Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2004 10:33:56 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Michael Reifenberger <mike@Reifenberger.com>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: graid3 not working on partitions
Message-ID:  <20041124093356.GJ7232@darkness.comp.waw.pl>
In-Reply-To: <20041124091400.G74665@fw.reifenberger.com>
References:  <20041124091400.G74665@fw.reifenberger.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--XlS4q8O07AKt4+K1
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 24, 2004 at 09:20:33AM +0100, Michael Reifenberger wrote:
+> Hi,
+> since GEOM so a nicely layered framework (and I didnt want to loose my M=
BR)
+> I tried to setup a graid3 using using da1s1a... instead of da1...
+> getting the following negative results:
+> (not only trying to use da1/da1s1 for parity,
+>  it trashes the disklabel on da1s1 too)
+>=20
+> ...
+> (totum)(root) graid3 label -r -v data da3s1a da4s1a da1s1a
+> GEOM_RAID3: Device data created (id=3D224).
+> GEOM_RAID3: Device data: provider da3s1a detected.
+> Metadata value stored on da3s1a.
+> GEOM_RAID3: Device data: provider da4s1a detected.
+> Metadata value stored on da4s1a.
+> GEOM_RAID3: Device data: provider da1 detected.

The thing you have to avoid (probably it should be more clear in the
manual page) is to allow providers to share the same last sector.
The gradi3 class uses the last provider's sector to store metadata
and if you have 2 or more providers which share this sector you are
in troubles. In your case da1, da1s1 and da1s1a providers use the
same last sector and graid3 is confused and picks first provider
given by GEOM for taste.
You should create labels once again and leave the last sector on da1s1
unused, so da1s1 and da1s1a don't end at the same offset.

--=20
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

--XlS4q8O07AKt4+K1
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFBpFWEForvXbEpPzQRAm6mAJ4weSTauo+kIfm/KNJizl+5ul65nwCeI6iG
UVCCu42ZCXiNVfluJJvCb0M=
=17As
-----END PGP SIGNATURE-----

--XlS4q8O07AKt4+K1--



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