How to install smartmontools on SF0S 3.2 [not relevant]

asked 2020-02-13 15:57:00 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2020-02-13 15:57:00 +0200

SebM gravatar image

Hi,

I'd like to install smartmontools on SF0S 3.2 but I cannot find it :

$ zypper wp smartctl                                                             
Command 'what-provides' is replaced by 'search --provides --match-exact'.
See 'help search' for all available options.
Loading repository data...
Reading installed packages...
No matching items found.
edit retag flag offensive reopen delete

The question has been closed for the following reason "question is not relevant or outdated" by Spam Hunter
close date 2020-02-13 20:04:34.181087

Comments

Depending on the Device/CPU architecture you could try the right package from here: https://www.rpmfind.net/linux/rpm2html/search.php?query=smartmontools Or compile it yourself of course...

daywalker ( 2020-02-13 16:10:05 +0200 )edit
2

Both of you have no idea what you are talking about. SmartMonTools is for HARD DISK DRIVES that incorporate SMART technology (self monitoring analysis reporting tool) and seeing as NONE of the SailfishOS capable devices use HARD DISK DRIVES, this question is beyond pointless.

Acarm ( 2020-02-13 17:26:43 +0200 )edit
1

should be possible to attach hard drives with usb...

manu ( 2020-02-13 20:55:33 +0200 )edit

Hilarious :-)

Maus ( 2020-02-13 22:44:02 +0200 )edit
1

@Acarm SmartMon Tools can also read SMART attributes for SSD, example :

$ sudo smartctl -iA /dev/sda
smartctl 6.4 2015-02-08 r4038 [x86_64-linux-4.4.0-148-generic] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Samsung based SSDs
Device Model:     Samsung SSD 860 EVO 1TB
Serial Number:    S3Z9NB0K401956F
LU WWN Device Id: 5 002538 e40364eff
Firmware Version: RVT01B6Q
User Capacity:    1 000 204 886 016 bytes [1,00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   Unknown(0x09fc) (unknown minor revision code: 0x005e)
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Feb 13 22:23:45 2020 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   099   099   000    Old_age   Always       -       3156
 12 Power_Cycle_Count       0x0032   097   097   000    Old_age   Always       -       2149
177 Wear_Leveling_Count     0x0013   100   100   000    Pre-fail  Always       -       0
179 Used_Rsvd_Blk_Cnt_Tot   0x0013   100   100   010    Pre-fail  Always       -       0
181 Program_Fail_Cnt_Total  0x0032   100   100   010    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   010    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0013   100   100   010    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0032   074   065   000    Old_age   Always       -       26
195 ECC_Error_Rate          0x001a   200   200   000    Old_age   Always       -       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
235 POR_Recovery_Count      0x0012   099   099   000    Old_age   Always       -       13
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       -       128
SebM ( 2020-02-13 23:42:27 +0200 )edit