ZFS Smartctl, unable to use with SSD 'Smartctl open device: /dev/nda0 failed: INQUIRY failed'

Hi there,

Recently I have tried to test my SSD drives on FreeBSD 14.1, but got this message:
sh:
# smartctl -i /dev/nda0
smartctl 7.4 2023-08-01 r5530 [FreeBSD 14.1-RELEASE-p5 amd64] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/nda0 failed: INQUIRY failed
same error message on all other SSD drives ...

I clearly remember positive experience using smartctl on BSD 13.x on ssds.

any ideas ?
Thanks
 
Use nvmecontrol(8) instead for NVMe devices.
You can see generic SMART info with, for example,
nvmecontrol logpage -p 2 nvme0
as root for device nvme0.

Page to specify by -p option is as follows (from manpage).

Code:
   logpage
       The logpage command knows how to    print log pages    of various types.   It
       also  knows  about vendor specific log pages from hgst/wdc, samsung and
       intel.  Note that some vendors use the same log page numbers  for  dif-
       ferent data.

       Page 0x01  Drive    Error Log
       Page 0x02  Health/SMART Data
       Page 0x03  Firmware Information
       Page 0x04  Changed Namespace List
       Page 0x05  Commands Supported and Effects
       Page 0x06  Device Self-test
       Page 0x80  Reservation Notification
       Page 0x81  Sanitize Status
       Page 0xc1  Advanced SMART information (WDC/HGST)
       Page 0xc1  Read latency stats (Intel)
       Page 0xc2  Wite latency stats (Intel)
       Page 0xc5  Temperature stats (Intel)
       Page 0xca  Advanced SMART information (Intel)
       Page 0xca  Extended SMART information (Samsung)

       Specifying  -v  help  will  list     all valid vendors and pages.  -x will
       print the page as hex.  -b will print the binary    data for the page.  -s
       will set    Log Specific Field.  -i    will set Log Specific Identifier.   -r
       will set    Retain Asynchronous Event.
 
Back
Top