% sudo smartctl /dev/ada0
smartctl 7.3 2022-02-28 r5338 [FreeBSD 14.0-CURRENT amd64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
ATA device successfully opened
Use 'smartctl -a' (or '-x') to print SMART (and more) information
% sudo smartctl -a /dev/ada0 | grep ATA
ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
=== START OF READ SMART DATA SECTION ===
% sudo smartctl -d ata -a /dev/ada0
smartctl 7.3 2022-02-28 r5338 [FreeBSD 14.0-CURRENT amd64] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
Read Device Identity failed: Inappropriate ioctl for device
If this is a USB connected device, look at the various --device=TYPE variants
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
% pkg query %v smartmontools
7.3
% pkg -vv | grep -e url -e enabled
url : "pkg+http://pkg0.pkt.freebsd.org/FreeBSD:14:amd64/latest",
enabled : yes,
url : "https://alpha.pkgbase.live/current/FreeBSD:14:amd64/latest",
enabled : no,
url : "file:///usr/local/poudriere/data/packages/main-default",
enabled : yes,
% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #7 main-n253861-92e6b4712b5-dirty: Sat Mar 19 02:40:21 GMT 2022 root@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400053 1400053
%