gmirror component disappears

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Oct 9 06:04:14 PDT 2006


On Mon, Oct 09, 2006 at 03:02:20PM +0200, Ferruccio Zamuner wrote:
> % gmirror list root
> Geom name: root
> State: COMPLETE
> Components: 1
> Balance: load
> Slice: 4096
> Flags: NOAUTOSYNC
> GenID: 2
> SyncID: 3
> ID: 316001977
> Providers:
> 1. Name: mirror/root
>   Mediasize: 629145088 (600M)
>   Sectorsize: 512
>   Mode: r0w0e0
> Consumers:
> 1. Name: ad2s1a
>   Mediasize: 629145600 (600M)
>   Sectorsize: 512
>   Mode: r1w1e1
>   State: ACTIVE
>   Priority: 0
>   Flags: NONE
>   GenID: 2
>   SyncID: 3
>   ID: 2315910758
> 
> % gmirror insert root ad6s1a
> % gmirror list root
> Geom name: root
> State: DEGRADED
> Components: 2
> Balance: load
> Slice: 4096
> Flags: NOAUTOSYNC
> GenID: 2
> SyncID: 3
> ID: 316001977
> Providers:
> 1. Name: mirror/root
>   Mediasize: 629145088 (600M)
>   Sectorsize: 512
>   Mode: r0w0e0
> Consumers:
> 1. Name: ad2s1a
>   Mediasize: 629145600 (600M)
>   Sectorsize: 512
>   Mode: r1w1e1
>   State: ACTIVE
>   Priority: 0
>   Flags: NONE
>   GenID: 2
>   SyncID: 3
>   ID: 2315910758
> 2. Name: ad6s1a
>   Mediasize: 629145600 (600M)
>   Sectorsize: 512
>   Mode: r1w1e1
>   State: STALE
>   Priority: 0
>   Flags: SYNCHRONIZING
>   GenID: 2
>   SyncID: 3
>   ID: 2476772769
> 
> % gmirror rebuild root ad6s1a
> % gmirror list root
> Geom name: root
> State: DEGRADED
> Components: 2
> Balance: load
> Slice: 4096
> Flags: NOAUTOSYNC
> GenID: 3
> SyncID: 3
> ID: 316001977
> Providers:
> 1. Name: mirror/root
>   Mediasize: 629145088 (600M)
>   Sectorsize: 512
>   Mode: r0w0e0
> Consumers:
> 1. Name: ad2s1a
>   Mediasize: 629145600 (600M)
>   Sectorsize: 512
>   Mode: r1w1e1
>   State: ACTIVE
>   Priority: 0
>   Flags: NONE
>   GenID: 3
>   SyncID: 3
>   ID: 2315910758
> 
> 
> 
> ad6s1a disappears!!!
> 
> I've try to reinsert it and I got "Not all disks connected." error, while if I use forget, I can add it again, but again it disappears with rebuild.
> 
> I'm on FreeBSD 6.1

Look into your logs, the disk has probably bad blocks.

-- 
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/20061009/d22664a2/attachment.pgp


More information about the freebsd-geom mailing list