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.
106 questions
0 votes
0 answers
30 views
smartctl gave an unintelligible error
SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective self-test log data structure revision number 1 SPAN ...
0 votes
1 answer
223 views
Seagate Exos X18 shows excessive Total_LBAs_Read value in S.M.A.R.T on FW SN02
I have Grafana set up to monitor S.M.A.R.T of my drives in my NAS using prometheus. What caught my eye was that some of the drives show they have over 5 PB (Peta-bytes) read, which is very weird, ...
0 votes
1 answer
156 views
smartctl + Steps to Verify an SED with smartctl command
A Self-Encrypting Drive (SED) is a type of hard drive or solid-state drive (HDD or SSD) that has built-in hardware encryption capabilities. This means that the drive automatically encrypts and ...
3 votes
1 answer
356 views
How do I completly remove "removed" disks from mdadm array
Start of the problem I have a dedicated server on hosting provider and recently my node exporter detected high disk io saturation on my RAID 1 array /dev/md3. I have checked smartctl for my hard ...
0 votes
0 answers
56 views
Two disks in mdadm but one has much higher aqu-sz, await, %util
I have two disks in an mdadm RAID1 array but (at times at least) they seem to be performing very differently from one another: 07:24:53 AM tps rkB/s wkB/s dkB/s areq-sz aqu-sz ...
1 vote
1 answer
2k views
How to use SMART via Zabbix?
I've been trying to use SMART tools for a time over zabbix, but I just cannot figure it out, why it's not working. Server: debian 10 4.19.0-17-amd64, zabbix: 6.0.0 Revision 5203d2ea7d Client: debian ...
0 votes
0 answers
165 views
Seagate Exos dying? SMART-Tool headless from Seagte?
I have a software RAID under Ubuntu 20.04. One disk (Seagate ST1800MM0129) is marked as faulty, thus I run smartctl with this result smartctl -a /dev/sdd smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5....
0 votes
1 answer
67 views
Curious? LVM on a brand new drive?
i wanted to replace a broken zfs-drive on my server and got a "sealed" drive from my storage for that usage, but when i first checked the drive it shows me that there is a LVM on it. My ...
1 vote
0 answers
1k views
/dev/sda Currently unreadable (pending) sectors alert but smartclt shows everything as 0
I already read the similar questions but mine seems to tell a different story or the answers there don't work for me. SMART error (CurrentPendingSector) detected on host Device: /dev/sda [SAT], 1 ...
1 vote
1 answer
4k views
SMARTCTL Reallocated_Sector_Ct attribute meaning
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE ... 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0 Does ...
2 votes
2 answers
1k views
Why smartctl doesn't show the reallocated sectors count?
I have the smartctl query prepared before by my collegaues. smartctl -d ata -a {disk_name} | awk '/Reallocated_Sector_Ct/{print $10}' I'm trying to use the query, but it prints nothing. The smartctl -...
0 votes
1 answer
393 views
Scheduling SMART, scrub, resilvering considerations, conflicting?
I have set up regular scrub on my ZFS pools and am beginning to look at setting up smart check every now and then, but I have a distinct memory of an entry I am unable to find that one should not ...
0 votes
2 answers
994 views
Interpret smartctl -a output
Please help me understand this root@bdb16e4bb2e3:/opt/scrutiny# smartctl --all /dev/sdb smartctl 7.2 2020-12-30 r5155 [aarch64-linux-5.15.0-1024-raspi] (local build) Copyright (C) 2002-20, Bruce Allen,...
1 vote
0 answers
2k 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
363 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:...
3 votes
0 answers
2k 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 ...
2 votes
1 answer
3k 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 ...
5 votes
2 answers
7k 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/...
1 vote
2 answers
550 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 ...
1 vote
1 answer
489 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
1k 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
61 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?
0 votes
2 answers
404 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 [/...
2 votes
1 answer
303 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
1k 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 ...
9 votes
2 answers
7k 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 ...
0 votes
1 answer
187 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 ...
0 votes
0 answers
709 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 ...
1 vote
1 answer
2k 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
1k 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 ...
0 votes
1 answer
881 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: ...
2 votes
2 answers
4k 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
2k 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". ...
1 vote
1 answer
495 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 ...
2 votes
1 answer
3k 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 vote
0 answers
254 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 ...
2 votes
0 answers
201 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
2k 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 /...
2 votes
3 answers
5k 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 ...
3 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
108 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
2k 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
4k 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 ...
3 votes
2 answers
7k 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
1k 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 ...
3 votes
1 answer
13k 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
1k 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 ...
0 votes
1 answer
2k 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 ...
1 vote
1 answer
70 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] [...
0 votes
1 answer
3k 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@...