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
1 vote
1 answer
92 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 ...
CptZsolt's user avatar
0 votes
0 answers
70 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....
user3656083's user avatar
0 votes
1 answer
44 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 ...
Chris9834's user avatar
  • 181
1 vote
0 answers
304 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 ...
IMTheNachoMan's user avatar
0 votes
1 answer
812 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 ...
palmasd1's user avatar
1 vote
2 answers
241 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 -...
palmasd1's user avatar
0 votes
1 answer
116 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 ...
Xavanteex's user avatar
0 votes
2 answers
596 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,...
pyofey's user avatar
  • 103
1 vote
0 answers
888 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] (...
crowd42's user avatar
  • 11
0 votes
0 answers
269 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:...
smomma's user avatar
  • 1
3 votes
0 answers
1k 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 ...
Elias Estatistics's user avatar
1 vote
1 answer
2k 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 ...
chpZ's user avatar
  • 11
5 votes
2 answers
4k 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/...
Nuno's user avatar
  • 633
1 vote
2 answers
358 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 ...
Ragnarok's user avatar
0 votes
1 answer
300 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 ...
larry888's user avatar
0 votes
0 answers
827 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-...
Amandeep Singh's user avatar
-2 votes
1 answer
59 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?
Gaia's user avatar
  • 1,895
0 votes
2 answers
310 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 [/...
miqem's user avatar
  • 1
2 votes
1 answer
240 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 ...
ieronymous's user avatar
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 ...
Camila's user avatar
  • 11
9 votes
2 answers
5k 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 ...
MERM's user avatar
  • 240
0 votes
1 answer
156 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 ...
AndreiG.'s user avatar
  • 151
0 votes
0 answers
463 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 ...
D3l_Gato's user avatar
  • 172
1 vote
1 answer
1k 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 ...
boardrider's user avatar
0 votes
2 answers
966 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 ...
adrianTNT's user avatar
  • 1,149
0 votes
1 answer
679 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: ...
Andras's user avatar
  • 165
2 votes
2 answers
3k 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 ...
Alexandru's user avatar
1 vote
1 answer
1k 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". ...
Cerin's user avatar
  • 3,650
1 vote
1 answer
295 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 ...
sevve's user avatar
  • 21
1 vote
1 answer
2k 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, ...
Gaia's user avatar
  • 1,895
1 vote
0 answers
182 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 ...
zubug55's user avatar
  • 111
2 votes
0 answers
140 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 ...
Jeff Kubina's user avatar
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 /...
Nuno's user avatar
  • 633
2 votes
3 answers
3k 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 ...
Christopher Schultz's user avatar
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 ...
Chebarbudo's user avatar
1 vote
1 answer
81 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 ...
Bailey Parker's user avatar
0 votes
2 answers
1k 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...)...
christopolise's user avatar
1 vote
1 answer
3k 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 ...
Arany Péter's user avatar
3 votes
2 answers
6k 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 ...
user2353938's user avatar
1 vote
1 answer
941 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 ...
Santiago Maturana Arce's user avatar
2 votes
1 answer
10k 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 ...
Ethan Shrago's user avatar
1 vote
0 answers
928 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 ...
Matthias's user avatar
  • 187
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 ...
shalom's user avatar
  • 501
1 vote
1 answer
56 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] [...
Theis's user avatar
  • 135
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@...
tmgstevens's user avatar
1 vote
1 answer
431 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 ...
user429673's user avatar
1 vote
1 answer
382 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 ...
Elite_Dragon1337's user avatar
-2 votes
1 answer
516 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-...
Nikhilrdeshmukh's user avatar
6 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 ...
Nuno's user avatar
  • 633
0 votes
1 answer
100 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 ...
Jeff Kubina's user avatar