Questions tagged [smartctl]

smartctl controls the Self-Monitoring, Analysis and Reporting Technology (SMART) system built into many ATA-3 and later ATA, IDE and SCSI-3 hard drives.

Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

How to interpret smartctl output

I ran a SMART scan of the ssd of my server, and I'm having difficulties to understand the output. Any insights please ? Thanks smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10.0-1160.71.1.el7.x86_64] (...
0 votes
0 answers
28 views

Can I clear a smard critical temperature notice from 7 months ago?

I have an Ubuntu 22.04 Server which is mailing me every 24 hours with the following; I'd had alerts for this host filtered and missed it until now: This message was generated by the smartd daemon ...
0 votes
0 answers
46 views

Drive issues? Bus error (core dumped) and smartctl *and dmesg logs

Troubleshooting a failed archive extraction. Getting a "Bus error (core dumped)". Thinking it may be a possible disk issue so the smartctl output is below - not sure what to make of it. EDIT:...
  • 1
2 votes
0 answers
53 views

smartctl says test result PASSED but Extended offline tested complete immidiately with read failure (in linux)

sudo smartctl -a /dev/sdd smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.11.0-18-generic] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF ...
0 votes
0 answers
144 views

How to configure /etc/smartd.conf to mirror smartctl command?

I am using SmartMonTools. And the following command works fine with smartctl: # smartctl -d scsi -H /dev/sdf smartctl 7.2 2020-12-30 r5155 [aarch64-linux-5.10.103-v8+] (local build) Copyright (C) ...
0 votes
0 answers
736 views

smartctl "Elements in grown defect list" vs. RAID controller "Media error count"

I am using a hardware raid50 with PERC810 controller in my server and recently encountered a metric I am not sure about. Until now, I have been using a smartctl metric "Elements in grown defect ...
  • 1
2 votes
1 answer
1k views

Health Tests on NVMe

On the servers I have, with HDD or SSD, I have a cron that periodically runs: /usr/sbin/smartctl --test=short/long /dev/sd1 (for each disk) While it runs, it just looks at the output of /usr/sbin/...
  • 501
1 vote
2 answers
203 views

Rebuild RAID5 with uncorrectable sectors on multiple disks

My software RAID5 (mdadm) system consists of five disks. Recently, I get I/O errors when reading certain files. Most of the other files are still readable. At first, I was planning to find out which ...
0 votes
1 answer
129 views

Drive to fail in 24 hours - Possible Hard Drive Failure Soon

Here's what the smartctls is saying. How accurate is the 24 hours failure? Any successful fixes to the Reallocated_Sector_Ct fail? Here's what I got from running the attributes command: == START OF ...
0 votes
0 answers
357 views

ATA error count increased from 0 to 15 however Current_Pending_Sector is 0

I got below error via an email 2 weeks back: The following warning/error was logged by the smartd daemon: Device: /dev/sda [SAT], ATA error count increased from 0 to 15 Device info: ST1000LM035-...
-2 votes
1 answer
38 views

Does this SMART result indicate brand new drive? [closed]

Bought a Seagate Exos 7e drive from an OEM reseller (no Seagate warranty). Are these SMART results valid for a drive that is supposed to be brand new?
  • 1,787
0 votes
2 answers
123 views

Identify HDD failure by sound + Is it safe to run smartctl on a mounted RAID1?

Basically, I have two WD HDDs in a programmatic RAID1 (no special hardware): $ lsscsi --verbose [0:0:0:0] disk ATA WDC WD10EFRX-68F 0A82 /dev/sda dir: /sys/bus/scsi/devices/0:0:0:0 [/...
  • 1
2 votes
1 answer
166 views

WDC WD40PURZ-85AKKY0 is missing smartclt attributes?

I d like to share a weird thing I came across with the above aforementioned disk. I have two of these WDC WD40PURZ-85AKKY0 WDC WD40PURZ-85TTDY0 both are purple 4tb drives. Before use them in an array ...
1 vote
0 answers
594 views

invalid JSON to monitor SMART on Zabbix

I've followed these steps on github: https://github.com/v-zhuravlev/zbx-smartctl to monitor the SMART disks in my Winsows servers on Zabbix. BUt when I add the template to the host I'd configured, on ...
  • 11
9 votes
2 answers
3k views

S.M.A.R.T. lifetime hours resetting to zero

I use S.M.A.R.T. selftest to test all of my hard drives and SSDs. I run a short test daily and a long test monthly. One of my SSD is showing odd behavior in that the lifetime hours seem to reset back ...
  • 240
0 votes
1 answer
76 views

how to set automatic tests with smartd for Broadcom / LSI SAS2008 controller

I have a server that I want to set up automatic tests with smartd for hdd. From what I see this is my controller 81:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT ...
  • 151
0 votes
0 answers
224 views

is running smartctl safe?

I cant seem to find a super easy answer for this and I am sure that RTFM applies here but I am hoping this question, asked simply, will also help many other noobs out there. I am running freenas and ...
  • 172
1 vote
1 answer
717 views

How to interpret conflicting status data between `smartctl` and `mdadm`?

I have a HDD which is a member of a RAID10 array. smartctl and mdadm give me conflicting indications of its status. smartctl claims that the disk is FAILED: $ sudo smartctl -H /dev/sdf smartctl 7.0 ...
0 votes
2 answers
654 views

Does this SMART report indicate a bad disk?

On a remote server, I have 2x3TB drives set in raid 0 with SLI raid card. I tried to run SMART tests to see if drives have a problem because server become unresponsive and one drive had to be put back ...
  • 1,036
0 votes
1 answer
432 views

Testing faulty disk

I have a degraded RAID-1 setup and I'm trying to troubleshoot the problem whether it's completely dead (and need to send the drive back to the vendor) or it can be brought back. So I ran smartctl: ...
  • 165
2 votes
2 answers
2k views

HDD SMART interpretation

I need your opinion if the drive below is failing. When I run "smartctl -a /dev/sda -d megaraid,1", 2 errors are posted at the end of the output, stating "Error: WP at LBA". I don't see anything ...
1 vote
1 answer
700 views

Fixing a readonly-filesystem on Raid-1?

I have an Ubuntu 18 server using a software RAID-1 array, and smartctl is indicating that my /dev/sda is failing. Both Throughput_Performance and Reallocated_Sector_Ct are listed as "FAILING_NOW". ...
  • 3,518
1 vote
1 answer
206 views

S.M.A.R.T. Attributes from OWC Mercury Rack Pro

I'm having difficulty getting SMART Attributes from drives in an OWC Mercury Rack Pro. I can successfully get all the drive info, but I get nothing past the START OF READ SMART DATA SECTION. It is ...
  • 21
1 vote
1 answer
1k views

How to derive bytes written from SMART's host_write_commands?

Using either smartctl 7.0 or nvme 1.7, I get the following data from the SMART log data_units_written : 350,371,149 host_write_commands : 2,974,115,785 Via smartctl, ...
  • 1,787
1 vote
0 answers
128 views

How to collect historical data using smartctl?

I'm trying to do some analysis on the SMART stats of disk drives. Unfortunately, I'm not collecting/storing smart stats data daily for the analysis. I will be writing some procedure to collect it from ...
  • 111
2 votes
0 answers
100 views

Does calling storcli on a hard disk drive induce read/write latency?

I am calling storcli /c0/eall/sall show all on some 4TB Western Digital hard disk drives to get their SMART code status. When I do this it causes significant write latency to the disks, is that ...
2 votes
1 answer
1k views

Tests with smartctl vs smartd

I am looking into setting up smartmontools. I'd like to control when the tests run. I was thinking of running: /usr/sbin/smartctl --test=short /dev/sdX (every week) /usr/sbin/smartctl --test=long /...
  • 501
1 vote
3 answers
2k views

How can I change a SMART attribute value?

I have a drive which has signaled a SMART error (Current_Pending_Sector is 1) and I've run a "long offline test" against the drive which reported zero errors. This was after running a "short offline ...
2 votes
1 answer
1k views

smartctl 6.6 missing attributes table

I'm used to analyze the output of smartctl -A using grep on specific attributes. Example: smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64] (local build) Copyright (C) 2002-11 by Bruce ...
1 vote
1 answer
72 views

Hardware Checks after Air Conditioning Failure

We had an overnight air conditioning failure. We discovered that the temperature in the server room had reached about 110-115°F (43-46°C). We powered off everything that hadn't already and had the A/C ...
0 votes
2 answers
773 views

How to determine disk connection type in Linux

So this might be an obvious question, but I am managing several servers over a network and I would like to be able to find out what type of connector each server is using (i.e. SATA, SCSI, IDE, etc...)...
1 vote
1 answer
2k views

SSD Wear_Leveling_Count = 17

I have just checked my SSD drive (Samsung SSD 750 EVO 120GB) with smartctl. The result is: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 5 ...
2 votes
2 answers
5k views

SMART error (CurrentPendingSector) detected on host

Smart is reporting the following error each day one one of my data centre server SSDs: This message was generated by the smartd daemon running on: host name: x DNS domain: x The following ...
1 vote
1 answer
644 views

Current Pending Sector S.M.A.R.T

Hello I have a Linux Server mounted with BTRFS in RAID-1 and I would like that someone more expert than me could solve my doubts. I have 3 HDD of 6TB each, in one of them every so often smartd detects ...
1 vote
1 answer
7k views

smartctl drive Media_Wearout_Indicator values outside normal bounds

I was attempting to put some monitoring in place to track the health of my SSD RAID on my production database. Normally I would expect a value of between 100 (new) and 0 (dead) for the ...
1 vote
0 answers
630 views

Smartd supress/change level for FAILURE PREDICTION THRESHOLD EXCEEDED

I'm using smartd to monitor drive health It started compaining about FAILURE PREDICTION THRESHOLD EXCEEDED for one drive, but I extensively tested that drive and it's fully functional That drive is ...
  • 187
0 votes
1 answer
1k views

linux + how to identify disk health

we have linux redhat server version 7 we are suspects that one of the disks (/dev/sdc ) in the machine HW ( dell ) is in bad state, ( and that because required to do fsck from dmesg ) but we not ...
  • 451
1 vote
1 answer
51 views

Enable new disk in raid

I had a server with 2 disks in a raid and one of them failed. Called the provider and had them change the disk. After a reboot I still see only one disk: cat /proc/mdstat Personalities : [raid1] [...
  • 135
0 votes
1 answer
2k views

HDD Bad sectors not realloated but no smart errors

I have a pair of WDD drives and recently one got kicked out of the RAID1 array. SMART is showing that there's IO errors on some sectors, but all the SMART attributes appear to be looking fine: root@...
1 vote
1 answer
342 views

HGST He8 S.M.A.R.T. test extended-self test polling time variability

I recently received a batch of 6 brand new HGST He8 drives and when running an initial long self-test on them, I noticed that the extended self-test routine recommended polling time exhibit a very ...
1 vote
1 answer
349 views

Filesystem set to read-only mode, which drive is faulty?

I woke up today to find out my CentOS server's filesystem has been set to read-only mode. I'm running RAID 1 on this server. # mkdir test mkdir: cannot create directory `test': Read-only file system ...
-2 votes
1 answer
420 views

Linux centos 6.5 Disk performance monitoring using smartctl

i installed smartctl utility in centos 6.7 but cant get output of smartctl , i fire # smartctl -i /dev/sda smartctl 5.43 2016-09-28 r4347 [x86_64-...
5 votes
1 answer
3k views

smart long test - what is the performance impact on busy server?

I have a busy server with a RAID 1 setup. The application (runs in PHP) is very read/write intensive to the database (MariaDB). A cronjob runs smartctl short test every day and checks the output of ...
  • 501
0 votes
1 answer
92 views

Trouble Getting the smartd Attributes of a Western Digital 4TB HHD

I am trying to get the smartd attributes of a Western Digital 4TB HHD model WD4001FYYG-01SL3. I would like to get the following attributes: SMART 5 Reallocated Sectors Count SMART 187 Reported ...
0 votes
2 answers
501 views

Out-of-order lifetimes in SMART self-test log

I was peeking at a server's SMART log, and noticed this (emphasis mine): SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) ...
6 votes
2 answers
8k views

How do I determine the failed/removed HDD in mdadm raid?

My current mdstat: $ cat /proc/mdstat Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10] md0 : active raid6 sde[8] sdh[4] sdg[1] sdd[6] sdb[5] sdc[7] ...
  • 161
1 vote
1 answer
111 views

Lycom PE-115 firware update possible? Otherwise `smartctl` on FreeNAS reports errors

I have Lycom PE-115 SATA 3 2 Port 6Gbps Low Profile PCI-e 2.0 Host Adapter in my machine running FreeNAS. It seem have some trouble with SMART of SanDisk SSD Plus I connected to it. I've seen reports ...
  • 111
2 votes
1 answer
581 views

e2fsck found no errors, but S.M.A.R.T. self test fails

I have an external Freecom HDD (Samsung drive inside), connected via USB and using it's own power supply. The disk disconnects itself on random interval of time (from few hours up to a month). I tend ...
  • 123
0 votes
1 answer
512 views

Does "smartctl -H or -all" run anything against disks or just poll data?

I am setting up Smart monitoring currently and I had a question regarding the command smartctl -H /dev/sda === START OF READ SMART DATA SECTION === SMART Health Status: OK Does this actually run ...
1 vote
1 answer
2k views

In smartctl, what does means "Percentage used endurance indicator too short"?

I use Bacula to make backups. When i use smartctl # smartctl -H -l error /dev/st0 smartctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-431.1.2.el6.x86_64] (local build) Copyright (C) 2002-12 by Bruce ...