-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Harddrive missed and unknown message #24
Comments
Does |
Hi,
|
Gotcha, it shows up there, so that's good. The script then checks |
Sorry, is it |
here is the output of the command === START OF INFORMATION SECTION === Andreas |
Sorry, I missed the notification from your reply and this fell off my radar. I'm kind of at a loss for why this disk is getting excluded. Try copying this whole block of code into your terminal and see what it spits out:
This is the code the script uses to figure out which drives should be included in the report. It looks at the |
Ive been having the same issue. It started when one of my drives started getting Current Pending Sectors errors. The error i got was and its excluded in the smart summary table that the script outputs. However smartctl and freenas can see the drive and the pool and disks all show up fine with the above commands and in the GUI |
I also tried https://github.com/Spearfoot/FreeNAS-scripts this smart report script and get the "same awk error". The interesting part with either this smart script or the one i linked is the script outputs is has the drive only excluded from the smart summary table not the details. |
ran into this today as well. issue comes from these two lines Line 311 in cfc6bcb
Line 312 in cfc6bcb
when a drive starts to have an error this command
so
and
Here's a sample output of
|
I also face the same issue with 3 drives being skipped. If I've got it - I should move over to the refactor? |
@jamesstanw try it and let me know if it works. |
sdsds
I've called the script with: |
@jamesstanw that will not work; just use |
Sorry a bit of naivete here . . . I've copied your script, marked it executable and set it (through the GUI) to run as a cron job. I want to manually run to make sure all is well. |
Wherever you like. ☺
You should run it manually first; on the first run it will create the config file which you will need to edit before the script will run correctly. |
Thanks! |
My version of the script has never been tested on 11 only 12; since I do not have a system running 11 I do not think that I would be able to make the script work there. I would encourage you to move to 12 anyway though. |
I've just looked at update adn the only version of 12 I've got access to is the development version for testing. I'm really tied to the FreeNas release train. |
No, not the disks; I would suggest reading the release notes starting 12.0 though U5 before you update though. |
Hi,
first, I am using this script a long time ago for now. Thanks for it :)
Since two days one of my harddrives are missing in the summary and I get a unknown message
Image with the missing drive:

Image without the missing drive.

Errormessage:
awk: newline in string 37267 newer... at source line 1 awk: newline in string Extended 19... at source line 1
Freenas dont have any errors about this drive at the moment. Poos is not degraded.
Thanks for help :)
The text was updated successfully, but these errors were encountered: