gmirror State: STALE

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Jul 13 20:06:52 UTC 2006


On Thu, Jul 13, 2006 at 05:09:07PM +0200, Ferruccio Zamuner wrote:
> Hi,
> 
> I was using gvinum but I'd not discovered how to recover unused disk space, then I was trying gmirror and gstripe instead.
> 
> 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
> 
> 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:
> 
> 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?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20060713/4e197214/attachment.pgp


More information about the freebsd-geom mailing list