Comment on ChatGPT fried my drive!?

<- View Parent
y0din@lemmy.world ⁨15⁩ ⁨hours⁩ ago

Thanks for the update, that’s helpful.

Confirming that the controller is a Broadcom / LSI SAS2308 and that it’s the same HBA that was used in the original TrueNAS system removes one major variable. It means the drive is now being tested under the same controller path it was previously attached to.

The device mapping you described is clear:

sda = known-good identical drive

sdb = the problematic drive

Running:

sudo sg_format --format --size=512 --fmtpinfo=0 --pfu=0 /dev/sdb

as you did is the correct next step to normalize the drive’s format and protection settings.

A few general notes while this is in progress:

At this point it makes sense to pause any further investigation until the current sg_format has fully completed and the system has been power-cycled.

Once that’s done, the next step will be a direct comparison between sdb and the known-good sda using:

sudo sg_readcap -lla

As a general note going forward: on Linux / FreeBSD it’s safer to reference disks by persistent identifiers (e.g. /dev/disk/by-id/ on Linux or glabel on FreeBSD) rather than /dev/sdX, as device names can change across boots or hardware reordering.

Post the results when you’re ready and the sg_format complete and we can continue from there.

source
Sort:hotnewtop