I got a similar error after a chron job ran post upgrade from 24.04.1 to 24.10. See below:
The command:
midclt call disk.smart_test SHORT ‘[“*”]’
Produced the following output:
[EFAULT] [‘smartctl’, ‘/dev/sde’, ‘-t’, ‘short’] failed for sde (1):
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/api/base/server/ws_handler/rpc.py”, line 360, in
process_method_call
result = await method.call(app, id_, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py”, line 57, in call
result = await self.middleware.call_with_audit(self.name, self.serviceobj, methodobj, params, app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 954, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 782, in call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 665, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/middlewared/plugins/disk/smart.py", line 18, in smart_test
raise CallError(“\n\n”.join(errors))
middlewared.service_exception.CallError: [EFAULT] [‘smartctl’, ‘/dev/sde’, ‘-t’, ‘short’] failed for sde (1):
If you don’t wish to receive these e-mails, please go to your Cron Job options and check “Hide Standard Output” and
“Hide Standard Error” checkboxes.
It looks like it’s for a disk that failed previously that I replaced (maybe) or something else. I attach a screenshot here. I share this in case it helps and to follow this thread and to get any feedback if someone smarter than me sees why this happened and if it’s a bug or something in my config that needs to be adjusted.