Degraded Drive Solutions

Hello. I don’t normally encounter issues with my media server, as I don’t use it too often (maybe 2-4 times a week to watch some shows or a movie). It’s never on more than 6 hours in one day (I’m not ready yet for the 24/7 electric bills).

I have a raidz2 setup that I eventually plan to upgrade to minimize the amount of drives I currently have but at the moment, I still need my server to work to add more media to it but also ensure that it will be working when I do start the upgrade process.

My current issue is that one of my drives are degraded. It’s showing some errors but that’s it. The status claims that it’s resilvering but it has never moved past 0.04%. Now, I’m assuming it’s taking as long as it’s taking due to the amount of drives I have, but since I have only had degraded drive issues 3 times in the 6 years that I’ve had a server (this being the 3rd), I don’t fully know all the options I have. The last two times, I just bit the bullet and bought a new drive but with the current prices for a 4TB drive, I wanted to weigh out options and troubleshooting steps before spending more money. Lastly, when I try to do any commands regarding scrubbing, resilvering or unmounting the pool, I get the error regarding the I/O being suspended, so it can’t do anything.

My current server rig specs:
raid2z: 4TB x12 (somewhere in the range of 40TB of usable space)
I’m not in front of my server but I’m using up anywhere between 25 and 30TB of that space. IT could be less but I don’t fully remember.

I also have them connected to an LSI 9300-16i. I tried updating the BIOS as a way to potentially troubleshoot the matter. I was able to upgrade it, but I assume no one would have assumed that would help. It was done as more of a curiosity.

I’ve tried leaving the machine on (3 different times) for up to 3 days without shutting it down to see if it needed that time to resilver everything, but either the percentage never moved or the next times that I would try this, it would either say 0% was scanned (at different mb speeds) or the most was 0.04%. I also tried the clear pool command to see if that would help. It did but not enough ti improve the resilvering process.

Is there anything else I can try before replacing the drive outright? I plan to obtain logs today after work but I don’t know if I know what to look for when doing that. Would anyone before to assist with what information I would need to look for? Which logs?
I did make sure to check the sectors of all of the drives prior to me initially creating this pool, which I didn’t do with my previous setup (2TB x16)
Also, Are there specific settings and configurations I can use when setting up ZFS that I should be mindful of (when I upgrade)?

Thank you in advance.

Ouch. That is way too wide. But while that isn’t making your problem better, it doesn’t explain your problem either.

If this is the only drive that’s showing errors, then you’ve still got one drive worth of redundancy. So the next thing I would do is zpool offline the drive that’s showing a degraded status. Next, I’d check that drive thoroughly for problems. Running badblocks against it would be a great way to do that.

While you’re running badblocks against the drive you offlined, initiate a zpool scrub on the pool. The scrub should proceed at a reasonable rate and complete without errors, although with a vdev that wide and on rust drives, it’s likely to take a few days to complete. You should, however, see obvious drive activity and the scan and scrub percentages visibly going up, although probably on a scale of hours (to see percentages moving visibly) rather than minutes.

If your offlined drive gets through the badblocks run without error and the remainder of your pool gets through its zpool scrub without errors also, then you can zpool replace it right back into the pool.

With all this said, you should probably proactively replace any SATA/SFF cables right off the bat–because cables are cheap, it sounds like your pool got itself into a deeply weird place, and in my experience that usually means there’s some flaky hardware lurking somewhere in the build, with flaky cabling being the most common culprit.

Firstly, thank you for going into details on what you think would help.
I thought I tried zpool offline already and got the same suspended error but I will definitely try again when I get home. As far as the cables, I got those “new” on ebay. My hope was that, that wouldn’t cause any potential issues.