gmirror component disappears

Ferruccio Zamuner nonsolosoft at diff.org
Mon Oct 9 06:02:41 PDT 2006


% 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



More information about the freebsd-geom mailing list