Other Drive disappearing from gmirror

Hello!

I have two gmirrors on my machine. Both are showing up as degraded. These are brand new drives that I just installed (so I don't mind blowing up the configuration and re-doing things).

I followed this guide to get going as I have no experience with gmirror:

newfs will run successfully, everything appears normal and then 10 minutes later, I get this:

Code:
[maketo@beast-server ~]$ gmirror status
              Name    Status  Components
mirror/datastore01  DEGRADED  ada2p1 (ACTIVE)
mirror/datastore02  DEGRADED  ada3p1 (ACTIVE)
and this:
Code:
[maketo@beast-server ~]$ gmirror list -a
Geom name: datastore01
State: DEGRADED
Components: 2
Balance: load
Slice: 4096
Flags: NONE
GenID: 1
SyncID: 3
ID: 2323668569
Type: AUTOMATIC
Providers:
1. Name: mirror/datastore01
   Mediasize: 3000592940544 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
Consumers:
1. Name: ada2p1
   Mediasize: 3000592941056 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   State: ACTIVE
   Priority: 1
   Flags: (null)
   GenID: 1
   SyncID: 3
   ID: 4278510845

Geom name: datastore01.sync

Geom name: datastore02
State: DEGRADED
Components: 2
Balance: load
Slice: 4096
Flags: NONE
GenID: 1
SyncID: 2
ID: 712168145
Type: AUTOMATIC
Providers:
1. Name: mirror/datastore02
   Mediasize: 3000592940544 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
Consumers:
1. Name: ada3p1
   Mediasize: 3000592941056 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: (null)
   GenID: 1
   SyncID: 2
   ID: 2250839157

Geom name: datastore02.sync
gpart shows this for the "missing" drives (the OS can see them just fine):
Code:
[maketo@beast-server ~]$ gpart list ada1
Geom name: ada1
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 5860533127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada1p1
   Mediasize: 3000592941056 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,48f30343-e59e-11eb-a49c-9c5c8e95611b,0x28,0x15d50a360)
   rawuuid: 48f30343-e59e-11eb-a49c-9c5c8e95611b
   rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
   label: ada1data
   length: 3000592941056
   offset: 20480
   type: freebsd-ufs
   index: 1
   end: 5860533127
   start: 40
Consumers:
1. Name: ada1
   Mediasize: 3000592982016 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
and
Code:
[maketo@beast-server ~]$ gpart list ada3
Geom name: ada3
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 5860533127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada3p1
   Mediasize: 3000592941056 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   efimedia: HD(1,GPT,09af8c82-e59f-11eb-a49c-9c5c8e95611b,0x28,0x15d50a360)
   rawuuid: 09af8c82-e59f-11eb-a49c-9c5c8e95611b
   rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
   label: ada3data
   length: 3000592941056
   offset: 20480
   type: freebsd-ufs
   index: 1
   end: 5860533127
   start: 40
Consumers:
1. Name: ada3
   Mediasize: 3000592982016 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
smartctl comes back with "PASSED" on all drives.

Any ideas?

Thanks!
 
Look in /var/log/messages, check if these drives aren't disappearing and quickly reappearing. That might indicate some issue with the hardware itself (power for example).
 
Back
Top