Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2006 22:03:34 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Ferruccio Zamuner <nonsolosoft@diff.org>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: gmirror State: STALE
Message-ID:  <20060713200334.GB38014@garage.freebsd.pl>
In-Reply-To: <44B66213.4020603@diff.org>
References:  <44B66213.4020603@diff.org>

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

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

On Thu, Jul 13, 2006 at 05:09:07PM +0200, Ferruccio Zamuner wrote:
> Hi,
>=20
> I was using gvinum but I'd not discovered how to recover unused disk spac=
e, then I was trying gmirror and gstripe instead.
>=20
> Geom name: root
> State: DEGRADED
> Components: 2
> Balance: load
> Slice: 4096
> Flags: NOAUTOSYNC
> GenID: 0
> SyncID: 2
> ID: 316001977
> Providers:
> 1. Name: mirror/root
>   Mediasize: 629145088 (600M)
>   Sectorsize: 512
>   Mode: r1w1e1
> Consumers:
> 1. Name: ad6s1a
>   Mediasize: 629145600 (600M)
>   Sectorsize: 512
>   Mode: r1w1e1
>   State: ACTIVE
>   Priority: 1
>   Flags: NONE
>   GenID: 0
>   SyncID: 2
>   ID: 3526336860
> 2. Name: ad4s1a
>   Mediasize: 629145600 (600M)
>   Sectorsize: 512
>   Mode: r1w1e1
>   State: STALE
>   Priority: 0
>   Flags: SYNCHRONIZING
>   GenID: 0
>   SyncID: 1
>   ID: 2315910758
>=20
> How can I chage state of STALE from last one?
> It has been in SYNCHRONIZING for some hour and it still there.

SYNCHRONIZING is a flag only, not a state, it doesn't mean it is beeing
synchronized, but that it needs synchronization.

> Following cmds fails:
>=20
> gmirror rebuild root /dev/ad4s1a

Hmm, 'gmirror rebuild root ad4s1a' should work. I'll change it to accept
components with /dev/ also.

BTW. Are you sure you don't want to use autosynchronization?

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

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

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

iD8DBQFEtqcWForvXbEpPzQRAhdTAKCoA9Mj41jgstUkyaseVFJBZRSlnQCeKWm4
S1iazGUlBEuT7wbT7o2Hzm4=
=Mm16
-----END PGP SIGNATURE-----

--neYutvxvOLaeuPCA--



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