TOS Version: 5.1
Drive config: 4x WD Red SA500 4TB
Background:
I was expanding my TRAID storage pool from 2 drives to 4 drives by adding two new drives one at a time. The first drive addition completed successfully on 3/24. After the second drive sync completed on 3/25, I was not notified, and a reshape began automatically.
What happened:
Approximately 14 hours into the reshape (stuck at 56.9%), I noticed the TOS web UI was showing "No valid data" for the storage pool. Via SSH I confirmed the array was in a "clean, degraded, reshaping" state with sdd4 demoted to spare rebuilding. I received an abnormal shutdown notification approximately 4 hours ago which appears to have interrupted the process.
Current state:
md0 is now inactive and disassembled
All 4 drives are physically present and showing healthy
Superblock is intact and readable on sda4
mdadm --examine /dev/sda4 output:
Magic : a92b4efc
Version : 1.2
Array UUID : b04dbc30:a85ebf81:b8169337:ec1733d3
Raid Level : raid5
Raid Devices : 4
Array Size : 116897800044 (11148.24 GiB)
State : clean
Checksum : 7cebbea6 - correct
Reshape pos'n : 66482817748 (6340.30 GiB)
Delta Devices : 1 (3->4)
Bad Block Log : 512 entries available - bad blocks present
mdadm --detail /dev/md0 output:
Version :
Raid Level : raid0
Total Devices : 0
State : inactive
dmesg | grep md0 | tail -20 output:
md: md0: reshape done.
md: detected capacity change
md: resync of RAID array md0
md: resync done.
md: recovery of RAID array md0
md: md0: recovery interrupted.
md: reshape of RAID array md0
Questions:
- Is it safe to attempt reassembly of md0 given the bad blocks present on sda4?
What is the recommended procedure to resume/complete the reshape after an abnormal shutdown?
Should sda4 be tested for bad sectors before attempting reassembly?

