Appears Truenas crashed during scheduled scrubb

Setup: Dell R730 connected to two Netapp DS4246.
Pool: 3 Vdevs make up the single pool. Vdev 12 wide in Z2. Jbod1 has 24 drives and Jbod2 has 12 drives.

During routine scrub of ~243tib that had been running for 2 days with eta of 1 day, truenas appears to have crashed. Multiple files in the dataset became inaccessible to open but file could be seen. Only the truenas webui dashboard tab would load and only the cpu/ram widgets.

I am not good with truenas or linux but managed to hobble this thing together just following basic guides etc. I applied the usual rule of thumb of just shutting it down. Rebooting server, Disconnected the pool. When readding the pool, it puts an entire vdev into resilvering with ‘zpool status -xv’ showing 5055 errors. The webui continues to fail to function unless i physcially disconnect the pool. I am currently able to see and use my data via SMB but the webui is still failing and it took hours of reboots just to get to this point.

I am not sure where to go or what to do at this point. Any help would be appreciated. Due to the large data size, there isnt a backup of the data.

Edit: deleted and report as i forgot tags and couldnt edit

Update: Truenas webui seems to have found itself. Its now reporting that it is resilvering with an ETA 5months and 23 days. Storage devices now loads. All 36 drives are showing online - no errors.

Update with new error message:

Critical

Failed to check for alert SMBLegacyProtocol: (sqlite3.DatabaseError) database disk image is malformed [SQL: SELECT “audit_SMB_0_1”.audit_id, “audit_SMB_0_1”.message_timestamp, “audit_SMB_0_1”.timestamp, “audit_SMB_0_1”.address, “audit_SMB_0_1”.username, “audit_SMB_0_1”.session, “audit_SMB_0_1”.service, “audit_SMB_0_1”.service_data, “audit_SMB_0_1”.event, “audit_SMB_0_1”.event_data, “audit_SMB_0_1”.success FROM “audit_SMB_0_1” WHERE “audit_SMB_0_1”.event = ? AND “audit_SMB_0_1”.message_timestamp > ?] [parameters: (‘AUTHENTICATION’, 1753855213.7708714)] (Background on this error at:)

Update with another error variation.

Failed to check for alert NTLMv1Authentication: (sqlite3.DatabaseError) database disk image is malformed [SQL: SELECT “audit_SMB_0_1”.audit_id, “audit_SMB_0_1”.message_timestamp, “audit_SMB_0_1”.timestamp, “audit_SMB_0_1”.address, “audit_SMB_0_1”.username, “audit_SMB_0_1”.session, “audit_SMB_0_1”.service, “audit_SMB_0_1”.service_data, “audit_SMB_0_1”.event, “audit_SMB_0_1”.event_data, “audit_SMB_0_1”.success FROM “audit_SMB_0_1” WHERE “audit_SMB_0_1”.event = ? AND “audit_SMB_0_1”.message_timestamp > ?] [parameters: (‘AUTHENTICATION’, 1753938014.9933608)] (Background on this error at:)

2025-08-01 00:00:15 (America/Chicago)