SMART error (ErrorCount) detected on host: pve

thusband

Member
Jun 30, 2022
102
5
18
The other day I got an email from my Proxmox setup on my NUC. It said:

This message was generated by the smartd daemon running on:

host name: pve
DNS domain: home

The following warning/error was logged by the smartd daemon:

Device: /dev/sda [SAT], ATA error count increased from 8 to 18

Device info:
WDC WD40PURZ-85AKKY0, S/N:WD-WX22DC1RNPUK, WWN:5-0014ee-26a545142, FW:80.00B80, 4.00 TB

For details see host's SYSLOG.

You can also use the smartctl utility for further investigation.
The original message about this issue was sent at Wed Oct 4 11:08:51 2023 BST
Another message will be sent in 24 hours if the problem persists.

I didn't pursue this as we had a power failure just previously and I thought it was tied into that . This morning, though, there was a note saying my scheduled backup failed. Syslog said:
Code:
Oct 08 01:00:01 pve pvescheduler[801271]: <root@pam> starting task UPID:pve:000C39F8:01D71EC9:6521F101:vzdump:100:root@pam:
Oct 08 01:00:02 pve pvescheduler[801272]: INFO: starting new backup job: vzdump --compress zstd --quiet 1 --storage Storage --mailto tom.husband@gmail.com --mode snapshot --mailnotification always --prune-backups 'keep-last=5' --node pve --all 1 --notes-template '{{guestname}}'
Oct 08 01:00:02 pve pvescheduler[801272]: ERROR: Backup of VM 100 failed - unable to create temporary directory '/mnt/pve/Storage/dump/vzdump-qemu-100-2023_10_08-01_00_02.tmp' at /usr/share/perl5/PVE/VZDump.pm line 947.
Oct 08 01:00:02 pve pvescheduler[801272]: INFO: Backup job finished with errors
Oct 08 01:00:02 pve pvescheduler[801272]: job errors
Oct 08 01:00:02 pve postfix/pickup[794071]: 0C61020294: uid=0 from=<root>
Oct 08 01:00:02 pve postfix/cleanup[801279]: 0C61020294: message-id=<20231008000002.0C61020294@pve.home>
Oct 08 01:00:02 pve postfix/qmgr[879]: 0C61020294: from=<root@pve.home>, size=1903, nrcpt=1 (queue active)
Oct 08 01:00:04 pve postfix/smtp[801281]: 0C61020294: to=<tom.husband@gmail.com>, relay=smtp.gmail.com[142.250.97.108]:587, delay=2.5, delays=0.02/0.01/1.4/1.1, dsn=2.0.0, status=sent (250 2.0.0 OK  1696723204 bq16-20020a056122231000b004961bbadb84sm1182938vkb.7 - gsmtp)
Oct 08 01:00:04 pve postfix/qmgr[879]: 0C61020294: removed

Does this mean my HDD is failing? The first email suggested using smartctl utility to investigate. I'm not sure how to access that or even what to look for.

When I look at the drive in Proxmox it shows enabled and active.

Any guidance here would be greatly appreciated. Many thanks.

edit:
I looked at S.M.A.R.T and didn't see any failures with that drive.
 

Attachments

  • Screenshot from 2023-10-08 07-56-25.png
    Screenshot from 2023-10-08 07-56-25.png
    254.2 KB · Views: 6
Last edited:
I figured out smartctl (I think) and got this. I see a number of errors listed. Does it point to any issues with the drive?
Code:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Sep 30 04:59:27 BST 2023 on pts/0
root@pve:~# smartctl -a /dev/sda
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.2.16-15-pve] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Purple
Device Model:     WDC WD40PURZ-85AKKY0
Serial Number:    WD-WX22DC1RNPUK
LU WWN Device Id: 5 0014ee 26a545142
Firmware Version: 80.00B80
User Capacity:    4,000,787,030,016 bytes [4.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database 7.3/5319
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun Oct  8 08:05:13 2023 BST
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:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
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:                (43740) seconds.
Offline data collection
capabilities:                    (0x11) SMART execute Offline immediate.
                                        No Auto Offline data collection support.
                                        Suspend Offline collection upon new
                                        command.
                                        No Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        No 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:        ( 464) minutes.
SCT capabilities:              (0x303d) 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   221   221   021    Pre-fail  Always       -       3941
  4 Start_Stop_Count        0x0032   098   098   000    Old_age   Always       -       2178
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   085   085   000    Old_age   Always       -       11386
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       12
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       9
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       2171
194 Temperature_Celsius     0x0022   115   107   000    Old_age   Always       -       35
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   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
ATA Error Count: 26 (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 26 occurred at disk power-on lifetime: 11386 hours (474 days + 10 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 61 46 00 00 00 00  Device Fault; 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
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 46 00 00 00 00 00   3d+20:34:07.744  SET FEATURES [Set transfer mode]
  ef 03 0c 00 00 00 00 00   3d+20:34:07.744  SET FEATURES [Set transfer mode]
  ec 03 00 00 00 00 00 00   3d+20:34:07.743  IDENTIFY DEVICE
  ef 03 46 01 4f c2 00 00   3d+20:34:07.646  SET FEATURES [Set transfer mode]

Error 25 occurred at disk power-on lifetime: 11386 hours (474 days + 10 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 61 0c 00 00 00 00  Device Fault; 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
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 0c 00 00 00 00 00   3d+20:34:07.744  SET FEATURES [Set transfer mode]
  ec 03 00 00 00 00 00 00   3d+20:34:07.743  IDENTIFY DEVICE
  ef 03 46 01 4f c2 00 00   3d+20:34:07.646  SET FEATURES [Set transfer mode]
  ef 03 0c 01 4f c2 00 00   3d+20:34:07.646  SET FEATURES [Set transfer mode]

Error 24 occurred at disk power-on lifetime: 11386 hours (474 days + 10 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 61 46 01 4f c2 00  Device Fault; 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
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 46 01 4f c2 00 00   3d+20:34:07.646  SET FEATURES [Set transfer mode]
  ef 03 0c 01 4f c2 00 00   3d+20:34:07.646  SET FEATURES [Set transfer mode]
  ec d5 01 01 4f c2 00 00   3d+20:34:07.645  IDENTIFY DEVICE
  b0 d5 01 01 4f c2 00 00   3d+20:26:05.151  SMART READ LOG

Error 23 occurred at disk power-on lifetime: 11386 hours (474 days + 10 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 61 0c 01 4f c2 00  Device Fault; 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
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 0c 01 4f c2 00 00   3d+20:34:07.646  SET FEATURES [Set transfer mode]
  ec d5 01 01 4f c2 00 00   3d+20:34:07.645  IDENTIFY DEVICE
  b0 d5 01 01 4f c2 00 00   3d+20:26:05.151  SMART READ LOG
  b0 d5 01 06 4f c2 00 00   3d+20:26:05.150  SMART READ LOG

Error 22 occurred at disk power-on lifetime: 11363 hours (473 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 61 46 08 09 c1 00  Device Fault; 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
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 03 46 08 09 c1 00 00   2d+21:27:27.445  SET FEATURES [Set transfer mode]
  ef 03 0c 08 09 c1 00 00   2d+21:27:27.445  SET FEATURES [Set transfer mode]
  ec 03 08 08 09 c1 00 00   2d+21:27:27.444  IDENTIFY DEVICE
  ef 03 46 01 4f c2 00 00   2d+21:09:51.328  SET FEATURES [Set transfer mode]

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

Selective Self-tests/Logging not supported

root@pve:~#
 
Last edited:
I figured out smartctl (I think) and got this. I see a number of errors listed. Does it point to any issues with the drive?
Yes it looks like the drive is failing. Maybe WD support can tell you exactly what 04 61 46 08 09 c1 00 Device Fault; Error: ABRT means.
You could run a long self-test (smartctyl -t long /dev/sda) to make sure, but it is expected to take almost 8 hours.
Note that anything you do with the drive might cause you to lose (or silently corrupt) more data on it.
 
  • Like
Reactions: thusband
OK thanks. I thought that might be the case. I'll start investigating how to replace the drive. I'll probably go with SDD rather than HDD.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!