No smart info for /dev/sdb

,

Hi! I can`t see SMART info for one of my HDDs with KDE Partition Manager.

Сводка

But, as I assume, I can see it with Gnome Disk Utility.

Сводка

cat /etc/fstab  
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=f6009204-c810-4b34-9235-ef07cd3f1369 /              ext4    defaults,relatime 0 1
UUID=a87dd98f-54f9-4356-aaaf-7d77ba883729 /home          ext4    defaults,relatime 0 2
UUID=59588fdf-182d-4e43-bafc-e3ac1ba86423 /hidden/HDD1   ext4    defaults,relatime 0 2
UUID=5d8495e8-0282-47c2-8a55-95e1cae71cbf /hidden/HDD2   ext4    defaults,relatime 0 2
UUID=beadb108-0120-49c5-85b5-1841321755d9 none swap defaults,noatime 0 0
tmpfs                                     /tmp           tmpfs   defaults,relatime,mode=1777 0 0

sudo smartctl --all /dev/sdb
[sudo] пароль для kodirovshchik: 
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.15-1-MANJARO] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Black
Device Model:     WDC WD1001FALS-00E8B0
Serial Number:    WD-WMATV4144710
LU WWN Device Id: 5 0014ee 001c8087c
Firmware Version: 05.00K05
User Capacity:    1.000.203.804.160 bytes [1,00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.5, 3.0 Gb/s
Local Time is:    Mon Feb 15 11:31:25 2021 EET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x84) Offline data collection activity
                                        was suspended by an interrupting command from host.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                (18600) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine 
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 214) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x303f) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   253   226   021    Pre-fail  Always       -       1141
  4 Start_Stop_Count        0x0032   092   092   000    Old_age   Always       -       8862
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   100   253   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   050   050   000    Old_age   Always       -       36978
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   097   097   000    Old_age   Always       -       3355
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       108
193 Load_Cycle_Count        0x0032   198   198   000    Old_age   Always       -       8844
194 Temperature_Celsius     0x0022   117   104   000    Old_age   Always       -       33
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0

SMART Error Log Version: 1
Warning: ATA error count 8 inconsistent with error log pointer 1

ATA Error Count: 8 (device log contains only the most recent five errors)
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 8 occurred at disk power-on lifetime: 22979 hours (957 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 53 10 00 00 00 00  Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  b0 d6 01 e0 4f c2 00 00      00:27:34.836  SMART WRITE LOG
  ec 00 00 00 00 00 00 00      00:27:34.835  IDENTIFY DEVICE
  b0 d5 01 e0 4f c2 00 00      00:27:03.994  SMART READ LOG
  b0 d5 01 e0 4f c2 00 00      00:27:03.493  SMART READ LOG
  b0 d5 01 e0 4f c2 00 00      00:27:02.993  SMART READ LOG

Error 7 occurred at disk power-on lifetime: 22979 hours (957 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 53 10 00 00 00 00  Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  b0 d6 01 e0 4f c2 00 00      00:26:34.459  SMART WRITE LOG
  ec 00 00 00 00 00 00 00      00:26:34.458  IDENTIFY DEVICE
  b0 d5 01 e0 4f c2 00 00      00:25:49.096  SMART READ LOG
  b0 d5 01 e0 4f c2 00 00      00:25:48.595  SMART READ LOG
  b0 d5 01 e0 4f c2 00 00      00:25:48.095  SMART READ LOG

Error 6 occurred at disk power-on lifetime: 22979 hours (957 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 53 10 00 00 00 00  Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  b0 d6 01 e0 4f c2 00 00      00:25:19.562  SMART WRITE LOG
  ec 00 00 00 00 00 00 00      00:25:19.561  IDENTIFY DEVICE
  b0 d6 01 e0 4f c2 00 00      00:24:46.162  SMART WRITE LOG
  ec 00 00 00 00 00 00 00      00:24:46.162  IDENTIFY DEVICE
  b0 d5 01 e0 4f c2 00 00      00:24:45.661  SMART READ LOG

Error 5 occurred at disk power-on lifetime: 22979 hours (957 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 53 10 00 00 00 00  Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  b0 d6 01 e0 4f c2 00 00      00:24:46.162  SMART WRITE LOG
  ec 00 00 00 00 00 00 00      00:24:46.162  IDENTIFY DEVICE
  b0 d5 01 e0 4f c2 00 00      00:24:45.661  SMART READ LOG
  b0 d5 01 e0 4f c2 00 00      00:24:45.661  SMART READ LOG
  b0 d5 01 e0 4f c2 00 00      00:24:45.160  SMART READ LOG

Error 4 occurred at disk power-on lifetime: 22979 hours (957 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 53 10 00 00 00 00  Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  b0 d6 01 e0 4f c2 00 00      00:24:16.127  SMART WRITE LOG
  b0 d6 01 e0 4f c2 00 00      00:24:16.127  SMART WRITE LOG
  ec 00 00 00 00 00 00 00      00:24:16.126  IDENTIFY DEVICE
  b0 d5 01 e0 4f c2 00 00      00:23:52.316  SMART READ LOG
  b0 d5 01 e0 4f c2 00 00      00:23:51.815  SMART READ LOG

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     36846         -
# 2  Short offline       Completed without error       00%     33133         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Do I have a hardware problem?

Hi @kodirovshchik,

I don’t know what it should be, but since it looks fine when you use sudo, I’m guessing your user doesn’t belong to the necessary group.

Please post the output of

groups

Mine is

sys ftp log http games dbus network power lxd storage optical disk audio wheel mirdarthos roccat

Take note that I use KDE and not Gnome, so that might also play a role.

Regards,

Edit:

OK, never mind. Just saw your edit and I understand better, now. My answer is probably wrong, then anyway.

groups
sys network scanner power vboxusers sambashare users video optical lp audio wheel autologin kodirovshchik

Thank you for your answer. I used the Gnome for a long time, but a few days ago I switched to KDE and saw this.
I have two hard drives and for the second one I can see a SMART output, but not for the first one.

Сводка

For /dev/sdc it works fine.

Edit: Anyway, thanks for the answer =)

It looks like your user isn’t part of the storage group as well as the disk. That might be it, I don’t know. You can test this by adding the user to the group:

sudo usermod -aG storage <username>
sudo usermod -aG disk <username>

Where you replace <username> with your username.

Then log out, log back in, or just reboot and try again.

groups
sys network scanner power vboxusers sambashare users video storage optical lp disk audio wheel autologi
n kodirovshchik

I did it. Still the same: one HDD with SMART info and one without it.

Try having KDE Partition manager refresh, or recheck the SMART status. It might be cached. I don’t know, but it’s logical to me.

If that doesn’t help, I’ve no idea.