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
43
votes
6 answers

Is my Hard Drive Failing?

I just tried to run a test on my hdd and it doesn't want to complete a self test. Here is the result: smartctl --attributes --log=selftest /dev/sda smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.13.0-32-generic] (local build) === START OF READ SMART…
Michel
  • 433
43
votes
9 answers

How to interpret this smartctl (smartmon) data

We have a linux server that has been in heavy use for 3 years. We're running a number of virtualized servers on it, some that have not been well behaved, and for a significant time the server's io capacity was exceeded leading to bad iowait. It's…
gview
  • 1,203
25
votes
6 answers

How do I easily repair a single unreadable block on a Linux disk?

My Linux system has started throwing SMART errors in the syslog. I tracked it down and believe the problem is a single block on the disk. How do I go about easily getting the disk to reallocate that one block? I'd like to know what file got…
Nelson
  • 373
24
votes
1 answer

Is smartd really reporting this drive is too hot?

"SMART Usage Attribute: 194 Temperature_Celsius changed from 146 to 150". This is on CentOS 6.6. What does this really mean? Is the drive really hot or is this perhaps a software bug? The drive is an eSATA 2TB drive and it feels cool to the touch…
23
votes
5 answers

How are SMART selftests related to badblocks?

The smartctl tool allows initiating a long self-test (smartctl -t long /dev/sda). However there's also badblocks that I can run on a drive. How are the two related? If badblocks detects bad blocks, does the drive automatically update its SMART…
Hongli Lai
  • 2,332
21
votes
1 answer

Is smartd properly configured to send alerts by email?

I just configured a Debian server as follows apt-get install smartmontools vi /etc/default/smartmontools - and here uncommented these 2 lines # uncomment to start smartd on system startup start_smartd=yes # uncomment to pass additional options to…
Alex Flo
  • 1,901
21
votes
5 answers

Understanding smartctl -a output

I have 6 drives in a NAS box. Two of them are Seagates, and they return high RAW_VALUES for errors; see below. My other drives show far lower values. Is this cause for alarm? Or just the way Seagates report? Look at Raw_Read_Error_Rate and…
d0g
  • 999
15
votes
3 answers

How to use hdparm to fix a pending sector?

SMART is stating one pending sector on of my server's hdd. I've read lot's of articles recommending using hdparm to "easily" force the disk to relocated the bad sector, but I can't find the correct way to use it. Some info from my "smartctl": Error…
Nino
  • 151
9
votes
2 answers

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 to zero. Is this normal? Why would it do this?…
MERM
  • 240
  • 2
  • 8
7
votes
1 answer

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 smartctl -H and mdadm -D. I would like to run a…
Nuno
  • 673
  • 3
  • 10
  • 28
7
votes
2 answers

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] 9766914560 blocks super 1.2 level 6, 512k chunk,…
DimanNe
  • 171
7
votes
0 answers

PERC MegaRAID S.M.A.R.T. Status is not matching smartctl's - looking for clues what's wrong with the HDD

I'm getting strange SMART error from MegaCli on Dell R720xd and PERC H710P with five 4Tb SATA drives in RAID5 /opt/MegaRAID/MegaCli/MegaCli64 -PDList -aALL gives me some "Failure Seq Event Number" Slot Number: 4 ... Last Predictive Failure Event…
kuz8
  • 503
6
votes
3 answers

smartctl & megaraid: how to find the right device node for an adapter #

I can list physical drives on all megaraid adapters using: megacli -PDList -aALL This will display an adapter # for each adapter, and then list the physical drives attached to them. The individual devices in the PDList output also have a Device Id…
lmz
  • 379
6
votes
1 answer

S.M.A.R.T data from disks behind LSI MegaRAID Controller in ESXi 5.1

I was looking at ways to get S.M.A.R.T info and R/W stats from drives behind LSI MegaRAID controller (9260-4i) in ESXi 5.1. ESXi has a command "esxcli storage core device smart get" to get S.M.A.R.T data from drives but it doesn't work for disks…
user1189899
  • 161
  • 1
  • 1
  • 6
5
votes
2 answers

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/smartctl -c /dev/sd1, looping until it no longer…
Nuno
  • 673
  • 3
  • 10
  • 28
1
2 3 4 5 6 7 8