-
Notifications
You must be signed in to change notification settings - Fork 63
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
date parsing in zpool_report.sh fails if scrub takes longer than 24 hrs #16
Comments
Thanks, I'll look into this when I have some spare time. |
Question: are you using the latest version? |
I cloned from git just a few minutes before testing it. I had been using a predecessor script which threw the same error with TN12 (it was OK with FN11), found your version when searching and hoped that perhaps it could handle this. |
I just posted an updated version; let me know how it works for you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have one TrueNAS 12 server with an encrypted pool and a slow CPU which takes more than 24 hours to do a scrub.
zpool status | grep scan
scan: scrub repaired 0B in 1 days 11:56:46 with 0 errors on Wed Dec 9 06:07:04 2020
This results in:
Failed conversion of
9-on-Wed_Dec'' using format
%Y-%b-%e_%H:%M:%S''date: illegal time format
usage: date [-jnRu] [-d dst] [-r seconds|file] [-t west] [-v[+|-]val[ymwdHMS]]
The text was updated successfully, but these errors were encountered: