Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Oct 2006 15:02:20 +0200
From:      Ferruccio Zamuner <nonsolosoft@diff.org>
To:        freebsd-geom@freebsd.org
Subject:   gmirror component disappears
Message-ID:  <452A485C.4030507@diff.org>

next in thread | raw e-mail | index | archive | help
% 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


Bye,                        \fer




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