Unable to disable SMART for USB - FreeNAS-11.2-U6

Led Zappa

Cadet
Joined
Oct 15, 2019
Messages
3
Hi,

I have a fresh install, mirrored USB drives and have created a RAID Z1 Pool. The only error I've gotten is that SMART won't start. I've read that disabling it on the USB's will fix the issue, but when I try to disable SMART on a USB drive I get an error to check logs.

The log that changes when I do this is the /var/log/debug.log and the error seems to be this:

Code:
Oct 15 09:43:02 freenas uwsgi: [api.utils:12] Traceback (most recent call last):
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]   File "./freenasUI/api/resources.py", line 369, in obj_update
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]     return super(DiskResourceMixin, self).obj_update(bundle, skip_errors=skip_errors, **kwargs)
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]   File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 2236, in obj_update
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]     return self.save(bundle, skip_errors=skip_errors)
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]   File "./freenasUI/api/utils.py", line 480, in save
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]     response_class=http.HttpConflict,
Oct 15 09:43:02 freenas uwsgi: [api.utils:12] tastypie.exceptions.ImmediateHttpResponse
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]
Oct 15 09:43:02 freenas uwsgi: [api.utils:12] During handling of the above exception, another exception occurred:
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]
Oct 15 09:43:02 freenas uwsgi: [api.utils:12] Traceback (most recent call last):
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]   File "./freenasUI/api/utils.py", line 252, in dispatch
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]     request_type, request, *args, **kwargs
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]   File "/usr/local/lib/python3.6/site-packages/tastypie/resources.py", line 482, in dispatch
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]     response = method(request, **kwargs)
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]   File "./freenasUI/api/utils.py", line 363, in put_detail
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]     updated_bundle = self.obj_update(bundle=bundle, **self.remove_api_resource_names(kwargs))
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]   File "./freenasUI/api/resources.py", line 371, in obj_update
Oct 15 09:43:02 freenas uwsgi: [api.utils:12]     raise ImmediateHttpResponse(response=HttpNotFound())
Oct 15 09:43:02 freenas uwsgi: [api.utils:12] tastypie.exceptions.ImmediateHttpResponse
 
D

dlavigne

Guest
You shouldn't be getting a traceback. Please create a report at bugs.ixsystems.com and post the issue number here.
 

Led Zappa

Cadet
Joined
Oct 15, 2019
Messages
3
The bug ticket was closed with this comment, which I don't understand.

Quote:
The only thing that we were able to fix was traceback when editing Disk and submitting form with invalid value in New UI.

I guess since Freenas will never support the Dell PERC controller SMART features then disabling the service is my only option and the fact that I am unable to disable SMART at the disk level is irrelevant and shouldn't lead to problems.

With that said I guess the post can be closed without solution.
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
The issue is that the PERC H710 and other RAID controllers often obscure SMART data to the drives.

If it also exposes the pass0 device as well as the virtual da0 it creates then you may be able to query that for some limited SMART stats.

More pressing though is the fact that you are using a hardware RAID controller with ZFS which carries some risks.
 
Top