Skip to content
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

An error on FreeBSD with smartctl #3

Open
UnitedMarsupials opened this issue Feb 5, 2022 · 2 comments
Open

An error on FreeBSD with smartctl #3

UnitedMarsupials opened this issue Feb 5, 2022 · 2 comments

Comments

@UnitedMarsupials
Copy link

Here is, how it looks:

env LANG=C /opt/sbin/ssd_report
[: -lt: unexpected operator
/opt/sbin/ssd_report: arithmetic expression: expecting primary: "  * 549755813888 "

That's a huge number, is not it? Attaching the output obtained by running the script under sh -x.
ssd_report.log

@freebsdfrau
Copy link
Member

Thanks for reporting this. It appears that disks now exhibit attributes that overflow the default capabilities of built-ins ... or I made a mistake somewhere. Either way, I'll get to the bottom of it.

@hbokh
Copy link

hbokh commented Jan 10, 2023

FYI This only happens when smart is used. With smartctl no issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants