If you were me, you would have already had that heart attack. They are no fun. If you get to have a full open chest like mine, your body is so drained of energy, it is crazy. But get up, walk around, go home walk the block a few times with help, then all on your own.
As for Multi-Report, the current posted version on GitHub is usable. The real question you have to ask yourself is, are you willing to use root to run a script? I will not try to change anyone’s mind. Version 3.19 will be out as soon as I can figure out why a few people are having issues with FARM checks and then the odd sudo process error. With lots of luck, this weekend but it could be in 2 weeks.
As for reading the thread about Multi-Report, I’d ready the first posting as I do update this when a change occurs, and probably the last two pages.
SAS is compatible with SATA. You keep your drives, just make sure the breakout cables are not too long to remain within SATA specification.
A 9207/9208/9211/9300-8i (or even a 9200-8i, but that is getting really old) is fine.
A 9300-16i is good, but overkill, and uses a lot of power. If you were to need 16 SAS ports, preferably go for a 9305-16i.
Edit. ZFS has no issue with mixing and matching in the same pool drives attached to the HBA and drives attached to motherboard SATA ports.
Yep, this is is BAD™. Replace and RMA or (appropriately) bin the drive.
But sdf is also due for RMA or replacement.
You’re not running regular SMART drives. Run a long SMART test on each drive (except sdb, this one is done). As it may take a few days to get the HBA, you might launch the tests now: They run on the drive themselves, a working pool is not required.
Then power off, get a SAS HBA and cables, install it, and we’ll see about reparing the pool and replacing drives with the HBA rather than the dubious SATA card. (I did find a page which described it as a Marvell controller, but it would be typical for such hardware to have different batches with different components.)
Holy cow, I don’t want to have a real heart attack. I’m glad your still on this side of the dirt. I will need to figure out how to use the Multi-report moving forward. Again I’m still learning, so I’ll try to figure out how to get it running. Thanks for your work and help.
Reach out if you have any questions. The Quick Start Guide had a good deal of data in it to get you going. But do it when you feel comfortable and ready. There is no rush.
Great thing we have 3D printers that are easy to use. In the old days it would have been a fiberglass mould around a carefully cut block of wood. Or if you were really lucky, some heat formed plastic. I quite often used old cereal box cardboard and tape to make one. I actually have one like that in one of my computers now. It works, that is all that matters. Not sure it is worth 3D printing it. Maybe someday.
I start the long tests and they appear to be running but then when I go back to look at them, they all say aborted. What am I doing wrong? Suggestions beside yeeting myself off a cliff?
I tried running manual SMART tests on each drive except for the /dev/sdb bad drive. I ran these from the /storage/disks/ in the GUI by clicking on each drive and doing a manual test. That didn’t seem to do much. I’ve started the long tests using the shell command like smartctl -t long /dev/sda but I’m not sure how to see what the status of that is. Is there a command to check the status of the running tests? I’m just going to let it go and see what happens. I also unplugged the bad disk from the system as well.
smartctl returns the expected time to completion (could be different for each drive even if they are of the same model), you note it down and come back to see some time after that. The test is run by the drive itself, so TrueNAS cannot anything about progress.
You can just run smartctl -a /dev/sda to check on the current status.
Look for the section with info like this:
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 120) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: (1487) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
Notice that it says the “Extended self-test routine” has a recommended polling time of 1487 minutes, so just shy of 25 hours.
For information on the current progress look further down for this section:
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 25678 -
# 2 Short offline Completed without error 00% 25654 -
# 3 Short offline Completed without error 00% 25630 -
# 4 Extended offline Completed without error 00% 25607 -
# 5 Short offline Completed without error 00% 25558 -
# 6 Short offline Completed without error 00% 25534 -
# 7 Short offline Completed without error 00% 25510 -
# 8 Short offline Completed without error 00% 25486 -
# 9 Short offline Completed without error 00% 25462 -
This shows the history of the latest smart test with the latest one at the top and the amount of time remaining is shown as a percentage.
If you must abort a test for some reason I think a restart will do it, if not powering down will. smartctl -X /dev/sda should also abort normal smart tests.
Hello. I just received the 9305-16i. I saw that I need to flash into IT mode but from other forums I’ve been reading, they say that the LSI 9305-16i only comes in IT mode. I’m hoping that is true. I’m going to install the card and connect up the drives. Should I add the new drives I’ve received or should I wait. I’m hoping you have magic to help me restore my pool. Thank you in advance.
I have the LSI 9305-16i card installed. All the drive show up and I replaced the dead drive with a new drive. When I try to import the pool, it still doesn’t show up in the dropdown box. Please suggest what I should try next. Thank you!
This last one makes me feel like I’m hosed. Any way to get anything out even if there is corrupted data? I’m going to lose a whole bunch of my kids growing up pictures, drama competitions and other stuff I should backed up but didn’t do it yet because I was going to get to it later. (I’m so dumb.)
The HBA shows that it is now in IT mode, which is good news. (I don’t have the same model of HBA, but I’m like 80% certain it is latest firmware for that controller; should be good enough? Someone can correct me.)
This is going to sound silly - any chance that you can re-connect that drive for now? If here is any uncorrupted data on that drive, it could still be of use. (I am assuming that the drive still spins & powers on - if the drive is 100% dead as a door nail, skip this).
If you still can’t import after that, then lets go with what @Protopia suggested earlier:
Not yet by any means. It is RAIDZ2 so a fault on a single drive shouldn’t cause you to lose the pool.
However, what we need to avoid is doing anything that could make the situation worse.
I am not sure whether @Fleshmauler 's advice is perfect. Some drive failures are actually partial failures in a way that makes things hang, and removing the drive can be the only way to get things going again, but there is no indication that this is one of those cases. And in general leaving a drive in and putting a new drive in a spare slot is, as @Fleshmauler advised, the better approach.
At this stage, I would try to import the pool with the commands I mentioned previously and see what happens (no messages is normally an indication of success rather than failure - but post whatever output you get here). I don’t think these commands can create further issues - they will either succeed or fail but shouldn’t make things worse.
If they don’t work then there are some other things we can try to import the pool and more diagnostic commands we can run.