My main dev machine is a FreeBSD R13 machine with an SSD for a main drive (OS install etc.) and 4x3TB Western Digital SATA drives in a RAID10-like backup (using gmirror/gstripe, instructions here: https://forums.freebsd.org/threads/...e-of-two-raid1-mirrors-on-freebsd-10-1.51277/)
Yesterday I was working on something and machine just rebooted out of nowhere. It failed complaining about one of the drives in the RAID array so I unplugged them all and rebooted. I started plugging them back in and when I reached the last one, it rebooted again. I am able to successfully reproduce the reboot every time I plug that drive in.
All other things aside, I would expect a robust, 21-century OS in almost year 2022 to NOT reboot when a non-critical drive fails. Has anyone experienced this?
The kernel crash dump is useless since the system is complaining about a "gdb inconsistency" so I cannot even figure out what actually caused the crash. What can I do to debug this? Thanks!
Attached is some gmirror output (datastore01 is missing the bad drive, obviously):
Yesterday I was working on something and machine just rebooted out of nowhere. It failed complaining about one of the drives in the RAID array so I unplugged them all and rebooted. I started plugging them back in and when I reached the last one, it rebooted again. I am able to successfully reproduce the reboot every time I plug that drive in.
All other things aside, I would expect a robust, 21-century OS in almost year 2022 to NOT reboot when a non-critical drive fails. Has anyone experienced this?
The kernel crash dump is useless since the system is complaining about a "gdb inconsistency" so I cannot even figure out what actually caused the crash. What can I do to debug this? Thanks!

Attached is some gmirror output (datastore01 is missing the bad drive, obviously):
Code:
> gmirror list
Geom name: datastore01
State: DEGRADED
Components: 2
Balance: load
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 4
ID: 897743119
Type: AUTOMATIC
Providers:
1. Name: mirror/datastore01
Mediasize: 3000592940544 (2.7T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
Consumers:
1. Name: ada1p1
Mediasize: 3000592941056 (2.7T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
State: ACTIVE
Priority: 0
Flags: (null)
GenID: 0
SyncID: 4
ID: 1580905567
Geom name: datastore02
State: DEGRADED
Components: 2
Balance: load
Slice: 4096
Flags: NONE
GenID: 1
SyncID: 10
ID: 2286728413
Type: AUTOMATIC
Providers:
1. Name: mirror/datastore02
Mediasize: 3000592940544 (2.7T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w0e0
Consumers:
1. Name: ada2p1
Mediasize: 3000592941056 (2.7T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
State: SYNCHRONIZING
Priority: 0
Flags: DIRTY, SYNCHRONIZING
GenID: 1
SyncID: 10
BytesSynced: 641964441600
Synchronized: 21%
ID: 3498563448
2. Name: ada3p1
Mediasize: 3000592941056 (2.7T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
State: ACTIVE
Priority: 1
Flags: (null)
GenID: 1
SyncID: 10
ID: 2269059054