[smartmontools-support] --scan-open limited to /dev/sdcz

Eric Altendorf ericaltendorf at gmail.com
Wed Feb 2 07:30:30 CET 2022


PS: the reason I care specifically about --scan-open is that it is what the
prometheus smartmon exporter uses to report smart stats, so only some of my
drives show up in my system monitoring.

On Tue, Feb 1, 2022 at 10:29 PM Eric Altendorf <ericaltendorf at gmail.com>
wrote:

> I have valid drives that smartctl can access and report on beyond
> /dev/sdcz, but they do not show up with `smartctl --scan-open`.
>
> This scan pattern looks possibly outdated:
>
>     get_dev_list(devlist, "/dev/sd[a-c][a-z]", true, p_dev_sdxy_seen,
> false, type_scsi_sat, autodetect);
>
>
> https://github.com/smartmontools/smartmontools/blob/89e11937812e6469e086ea2465a17ce62a0622a1/smartmontools/os_linux.cpp#L3066
>
> I am not sure just how far Linux goes now (/dev/sdzzzz ?) but I know it
> goes beyond /dev/sdcz. :)
>
> Thanks,
> eric
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listi.jpberlin.de/pipermail/smartmontools-support/attachments/20220201/1aeaac31/attachment.htm>


More information about the Smartmontools-support mailing list