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.
100
questions
0
votes
0
answers
30
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
34
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
46
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 ...
0
votes
1
answer
89
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 ...
0
votes
2
answers
62
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
62
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
1
answer
402
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
623
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
205
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:...
2
votes
0
answers
760
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 ...
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 ...
3
votes
2
answers
3k
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
290
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
241
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
715
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
58
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
253
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
227
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
940
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
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 ...
0
votes
1
answer
149
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
396
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
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 ...
0
votes
2
answers
909
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
644
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
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 ...
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".
...
1
vote
1
answer
256
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 ...
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, ...
1
vote
0
answers
173
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
122
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 /...
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 ...
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
77
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
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...)...
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 ...
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 ...
1
vote
1
answer
836
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 ...
2
votes
1
answer
9k
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
883
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
55
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@...
1
vote
1
answer
396
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
372
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
500
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-...
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 ...
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 ...
0
votes
2
answers
615
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) ...