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.
Questions tagged [smartctl]
95 questions
4
votes
3 answers
Hardware RAID1 configuration - Possibly failed sectors on one physical disk. Does the OS automatically read from the other disk?
I'm not a professional sysadmin but since I couldn't find answers to my specific case after researching for a while I was hoping I could get some help here. Our server uses P222 - a HP Smart controller array in RAID1 configuration. I believe some…

J Doestev
- 41
- 3
4
votes
0 answers
Get disk serial number by smartctl under raid0 of LSI
I'm trying to get the disk serial number of disks attached to the Centos server. When there was no raid0 (under LSI), I can get the serial number and model of /dev/sdb by:
smartctl -i /dev/sdb
and the output is:
smartctl 5.43 2012-06-30 r3573…

coanor
- 191
- 2
- 6
4
votes
2 answers
smartctl not actually running self tests?
I want to run the smartctl self tests to check the health of the drives in my RAID array (PERC 5/i). The array is on sda and comprises six drives. I can check the status using
sudo smartctl /dev/sda -d megaraid,0 -a
And I see that SMART is…

canzar
- 85
- 1
- 6
4
votes
2 answers
Why are SMART error rates going down?
I have a hard drive that's part of a Linux software raid5 array. SMART has reported that its multi_zone_error_rate was 0, then 1, then 3. So I figured I better start backing up more frequently and prepare to replace the drive. Now, today, the…
user13328
3
votes
1 answer
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 Allen, http://smartmontools.sourceforge.net
=== START…

Chebarbudo
- 83
- 1
- 8
3
votes
0 answers
Smartctl output varies; some RAID does not contain attributes
I have run smartctl -a on five different computers (mostly CentOS 7 Linux with smartctl 6.2), and I noticed two styles of smartctl output. Why would it change its output format? One style contains a table of Attributes that are explained nicely on…

Mike S
- 1,145
- 5
- 22
- 42
3
votes
1 answer
How can a SMART normalised value be lower (worse) than the worst value?
I'm seeing output from smartctl where the VALUE is much less than WORST for some attributes. Does this make sense? What does it mean?
Everything I have read indicates that:
The raw value (RAW_VALUE in smartctl output) is manufacturer specific but…

Draemon
- 527
- 1
- 5
- 15
3
votes
1 answer
smartctl -A Missing Attributes
I'm reviewing SMART attribute data for different disks and notice that some disks report the following attributes while other disks don't:
241 0xF1 Total LBAs Written
242 0xF2 Total LBAs Read
What determines whether this attribute is…

AJ.
- 332
- 4
- 14
3
votes
2 answers
smartctl reports Current Pending Sectors as 2, but a long test doesn't find any errors
The SMART attributes on the drive are:
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1…

thelsdj
- 830
- 1
- 12
- 25
3
votes
1 answer
smartctl -t long isn't finishing
I been running smartctl -t long on a drive for about 2 days now and it seems to be stalled at 10%. short and conveyance both passed. I have to send 1 of 2 drives purchased back I found badblocks with badblocks (none on this drive and I'ts made over…

xenoterracide
- 1,496
- 2
- 13
- 26
3
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
- 553
- 2
- 8
- 26
2
votes
0 answers
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 normal? Is there a way to get the SMART status of…

Jeff Kubina
- 427
- 1
- 4
- 14
2
votes
1 answer
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 /dev/sdX (every month)
And send an email/alert if…

Nuno
- 553
- 2
- 8
- 26
2
votes
3 answers
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 test", identifying an unreadable sector, forcing…

Christopher Schultz
- 1,105
- 2
- 12
- 22
2
votes
2 answers
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 warning/error was logged by the smartd…

user2353938
- 21
- 1
- 4