this post was submitted on 02 Nov 2023
1 points (100.0% liked)

Data Hoarder

221 readers
1 users here now

We are digital librarians. Among us are represented the various reasons to keep data -- legal requirements, competitive requirements, uncertainty of permanence of cloud services, distaste for transmitting your data externally (e.g. government or corporate espionage), cultural and familial archivists, internet collapse preppers, and people who do it themselves so they're sure it's done right. Everyone has their reasons for curating the data they have decided to keep (either forever or For A Damn Long Time (tm) ). Along the way we have sought out like-minded individuals to exchange strategies, war stories, and cautionary tales of failures.

founded 2 years ago
MODERATORS
 

My HDDs which are attached to motherboard SATA show up when running Snapraid Smart commands without issue.

However the two HDDs I have attached to my Dell Perc H310 HBA in IT mode don't report Smart results from Snapraid.

Smartctl only shows these two drives as SCSI devices when I do a "smartctl --scan" command.

But these drives that are attached via HBA don't appear when running "Snapraid smart"

Does anyone know how to get Snapraid to see the drives when running Snapraid smart command?

I'll be adding many more drives to my HBA soon, and would like to figure out this issue.

top 2 comments
sorted by: hot top controversial new old
[–] silasmoeckel@alien.top 1 points 2 years ago

All it's doing is a smartcl -a to each device. It works fine on my 3 HBA's all SAS2008

You can change the command it uses for smartctl via the config, -d sat may be needed.

[–] dr100@alien.top 1 points 2 years ago

RTFM?

7.13 smartctl DISK/PARITY OPTIONS...
Defines a custom smartctl command to obtain the SMART attributes for each disk. This may be required for RAID controllers and for some USB disk that cannot be auto-detected.
DISK is the same disk name specified in the "disk" option. PARITY is one of the parity name as "parity,(1,2,3,4,5,6,z)-parity".

In the specified OPTIONS, the "%s" string is replaced by the device name. Note that in case of RAID controllers the device is likely fixed, and you don't have to use "%s".