Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Apr 2005 21:30:18 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        freebsd-current@freebsd.org, freebsd-geom@freebsd.org
Subject:   Re: gmirror: Not all disks connected
Message-ID:  <20050424193018.GH837@darkness.comp.waw.pl>
In-Reply-To: <20050424190912.GA6743@laptoxa.toxa.lan>
References:  <20050424022434.GA3384@laptoxa.toxa.lan> <20050424094343.GA837@darkness.comp.waw.pl> <20050424190912.GA6743@laptoxa.toxa.lan>

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

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

On Sun, Apr 24, 2005 at 11:09:12PM +0400, Toxa wrote:
+> On Sun, Apr 24, 2005 at 11:43:43AM +0200, Pawel Jakub Dawidek wrote:
+>=20
+> > Please read description of 'forget' subcommand.
+>=20
+> Well, FYI, the problem *I THINK* was in the fact disks are not equal in
+> size (ad1 is 3 sectors bigger):
+>=20
+> ad0: 38203MB <SAMSUNG SP0411N/TW100-11> [77619/16/63] at ata0-master UDM=
A100
+> ad1: 38204MB <SAMSUNG SP0411N/TW100-11> [77622/16/63] at ata0-slave UDMA=
100
+>=20
+> In this case, fresh system was installed onto ad0, gm0 was created on ad=
1,=20
+> when synchronise with added ad0 (as described in your step-by-step guide=
).
+> The first synchronisation process (after addinbg ad0 into gm0) *was ok*,
+> but after reboot, *I THINK*, gmirror discovered ad0 is less size than
+> ad1 and refused to include it into gm0. Is this a bug or feature?
+>=20
+> The problem was solved by forget'ing gm0, creating gm1 on ad0, whet rebo=
oting and adding
+> ad1 (wthic is bigger than ad0) into it. Now everything seems to work
+> ok...

If you created gmirror giving first smaller disk and then connecting bigger
one it should be ok. If disk which you want to insert is smaller than
already existing components, gmirror should return an error, so this is
probably not the case.

PS. This step-by-step guide is not mine - Ralf S. Engelschall is its author.

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

--XmZLSFikexiR11mx
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFCa/PKForvXbEpPzQRAtqcAKDhhu9thufeS1tvdrgjgy97AhrqhgCfamS8
J/91pXXis4fb8xm52IbB5m4=
=67XO
-----END PGP SIGNATURE-----

--XmZLSFikexiR11mx--



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