It is possible to start a manual S.M.A.R.T. test for disk that does not support tests

Description

https://jira.ixsystems.com/browse/NAS-108535 was implemented insufficiently. UI offers to run `smart.test.manual_test` against any disk, even if it is not present in ` smart.test.disk_choices`. User report here in one of the last comments: https://jira.ixsystems.com/browse/NAS-107395

We should neither allow to view SMART test results for drives that do not support SMART testing (that I believe we are doing correctly) not allow launching new ones.

Problem/Justification

None

Impact

None

Activity

Show:

Mike Alley September 20, 2023 at 9:53 AM

S.M.A.R.T. support varies per drive and BIOS, however it is quite common in current SSDs and hard drives. S.M.A.R.T. may require travle activation in the BIOS and on the drive.

Oliver February 17, 2022 at 6:44 PM

I still get that error in latest TrueNAS-12.0-U8 i mentioned in:
https://jira.ixsystems.com/browse/NAS-107395

When i select my nvme (nvd0) device and click on* manuel test.*.
If i select this device and click no manual test, the gui should tell me, that a test is not possible with this device.

The problem is only solved for the "Expand/Collapse row" arrow at the right side, when clicking on it, then i get only a button do edit the device.

Bug Clerk September 15, 2021 at 8:49 AM

Bug Clerk September 15, 2021 at 8:43 AM

Alex Karpov September 15, 2021 at 8:08 AM

Manual Test button is always shown now.
Should we do the same things as [SMART] for the [Manual] as well?

Complete

Details

Assignee

Reporter

Time remaining

0m

Priority

Katalon Platform

Created August 25, 2021 at 3:31 PM
Updated April 16, 2024 at 1:12 PM
Resolved September 15, 2021 at 10:06 AM