Questions tagged [smartctl]

smartctl is a command-line utility for analysing various types of hard drives (ATA, SATA, SCSI, SSD etc.) and predicting drive failures. It is part of the smartmontools package.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

dmesg shows nvme errors but smartctrl shows no errors

I keep seeing messages scroll in dmesg Jan 27 12:56:11 localhost smartd[1191]: Device: /dev/nvme0, number of Error Log entries increased from 316 to 321 But I ran smartctrl tests on all the ...
dman's user avatar
  • 527
0 votes
0 answers
60 views

nvme device-self-test - no progress for 78 seconds, stop waiting

The description says it all: When running a nvme self-test it is not starting at all: nvme device-self-test /dev/nvme0n1 -s 1h -w && nvme device-self-test /dev/nvme1n1 -s 1h -w && ...
HeartOfGermany's user avatar
0 votes
0 answers
17 views

Smartd reports error on device in hardware raid but smartctl cannot see it [duplicate]

First time I'm using hardware RAID (I only knew soft raid). I'm running Debian 9.13. Smartd daemon reports the following error : Device: /dev/bus/0 [megaraid_disk_04] [SAT], 5 Offline uncorrectable ...
Chebarbudo's user avatar
0 votes
1 answer
68 views

Does the drive need to be replaced?

Got a warning due the FAILED! state from SmartCTL check. === START OF SMART DATA SECTION === SMART overall-health self-assessment test result: FAILED! - NVM subsystem reliability has been degraded ...
palmasd1's user avatar
  • 109
2 votes
0 answers
81 views

Are SMART offline data collection and offline attributes obsolete?

TLDR; I tried to understand the difference between SMART Offline and Always attributes, and thus to understand what SMART offline data collection is, and if I should enable it on my HDDs. ...
ChennyStar's user avatar
  • 1,643
0 votes
0 answers
129 views

`smartctl` and `smartd` commands not working

I have been receiving hard disk warnings from the smartd daemon for a while now (every 24 hours), saying that my error logs have increased. I have been trying to examine this by checking my log files, ...
tobibox's user avatar
0 votes
0 answers
98 views

Interpret the output of smartctl for SSD and hard drive

I have dropped my external hard drive on the floor recently and wanted to know if the electronic parts and mechanical parts were damaged. I have no idea how to find this out from the output of ...
Make42's user avatar
  • 657
0 votes
0 answers
50 views

What are these three numbers in parenthesis next to "Power_On_Hours" in `smartctl -a` output?

Sometimes the output of the smartctl -a command shows three numbers separated by spaces in parenthesis after the value of Power_On_Hours. This can be seen in multiple previously asked questions here: ...
StarryBeta's user avatar
3 votes
1 answer
227 views

I/O errors, but after running badblocks everything works again : how is that possible?

TLDR; HDD seemed damaged. Unable to format partition (mkfs.ext4 I/O errors), even with a newly created GPT table. SMART test shows some errors. I was about to throw the disk away. Before that, out of ...
ChennyStar's user avatar
  • 1,643
0 votes
0 answers
135 views

Meaning of Smartctl output

I'd like to use smartctl to see how long each of my external hard drives has been running (for planned replacement) though I don't understand the man page. I can't see what command I should be ...
Puffin's user avatar
  • 101
1 vote
1 answer
113 views

SMART error (CurrentPendingSector) and (OfflineUncorrectableSector)

I have been receiving the following error messages every day for several months now, and I do not know how to stop receiving these messages. CurrentPendingSector This message was generated by the ...
jameszp's user avatar
  • 53
0 votes
0 answers
86 views

smartctl; need help to recover usb disk

I have a 2TB usb disk. I can not see it anywhere, can not mount it anyway. Here is the smartctl output. I am using ubuntu-22.04. How I rescue/use my usb disk? Any help (base) ubuntu@ubuntu-Precision-...
zillur rahman's user avatar
0 votes
0 answers
76 views

ssd issue: cannot create new partitions

I have an external ssd that had archlinux installed. It refused to boot so I tried plugging the ssd into another computer. When I tried to mount the ext4 partition it said there were issues and that ...
Yuutsuna's user avatar
  • 101
0 votes
1 answer
467 views

Does hd-idle check if the disk is idle prior to spin down the drive?

I was thinking about to let hd-idle manage the spin down of all my drives after 3 hours because I am having trouble doing so with hdparm or smartctl in conjunction with apm or sleep command. So my ...
AlexOnLinux's user avatar
0 votes
1 answer
270 views

Does Smartctl require a file system to run a test, and is my drive toast?

I have a brand new drive that I want to test before using. Just installed it, did not format/partition, nor create a filesystem on it yet. First thing I did was check the smartctl stats, then start ...
sgbrown's user avatar
  • 303
1 vote
1 answer
1k views

How can I view the smart logs for an NVMe disk in Linux when smartclt is showing there are errors?

My daily driver (Debian Bookworm RC3 + KDE Plasma) is configured to send me emails containing error notifications. Today, I received the following email: This message was generated by the smartd ...
IMTheNachoMan's user avatar
1 vote
1 answer
88 views

Does my disk support SMART?

I'm confused about this smartctl output. It says SMART status is not supported, but then it says it PASSED. # sudo smartctl -H -d megaraid,24 /dev/sdb smartctl 7.0 2018-12-30 r4883 [x86_64-linux-3.10....
Timothy Pulliam's user avatar
1 vote
0 answers
127 views

smarctl - SSD dying due to age? other hardware fault causing SSD failure?

Trying to interpret the smartctl output from an SSD to understand if this SSD errors are a result of age or possibly other hardware errors causing the disk to fail? Those of you who understand ...
JetStream's user avatar
  • 111
0 votes
1 answer
64 views

What storage/device type are HDD/SSD when shared with Linux on ChromeOS?

On Linux, I'm used to accessing e.g. HDD data through lsblk. However, sharing my WD HDD external drive with Linux on my chromebook (appears under /mnt/chromeos/externals/) lsblk or lshw will not yield ...
WhiteSwanBlackSwan's user avatar
1 vote
1 answer
73 views

KVM: how do I access information on the underlying SSD?

I have a small number of VMs in a datacenter, which run on SSDs. I'd like to get some information on the SSD for status reports (ideally, a wear level/percentage used), and to get some idea of whether ...
QF0's user avatar
  • 165
1 vote
1 answer
688 views

How to Verify a Fix to smartctl Error?

My harddrive got some errors per smartctl short test result (see below). Then, I just zero-ed out data on my disk first for privacy reason: sudo dd if=/dev/zero of=/dev/sdc1 bs=1M sudo dd if=/dev/zero ...
HCSF's user avatar
  • 213
1 vote
1 answer
837 views

interpreting smartctl, is a hard drive failing?

I noticed about a week ago that the file system on one of my drives is corrupted. I've repaired it several times with fsck, but I keep running into problem. I suspect that this may be a hardware ...
jyoung's user avatar
  • 61
1 vote
1 answer
187 views

Understanding Smartctl Output

I'm trying to determine if an old hard drive is failing. It makes a constant, loud, buzzing noise, and has problems shutting down properly. Smartctl indicates that my hard drive has passed, but also ...
pencilPEN's user avatar
0 votes
1 answer
531 views

New HDD: Number of Mechanical Start Failures: 6

I have bought a new HDD. Toshiba P300 2TB; HDWD120UZSVA Data sheet: https://www.toshiba-storage.com/products/toshiba-internal-hard-drives-p300/ To be sure, that this drive is in good health and will ...
Wogehu's user avatar
  • 123
2 votes
1 answer
244 views

hddtemp with raid controller

# hddtemp /dev/sda: DELL PERC H740P Adp: S.M.A.R.T. not available /dev/sdb: DELL PERC H740P Adp: S.M.A.R.T. not available # smartctl --scan smartctl --scan /dev/sda -d scsi # /dev/sda, SCSI device /...
ron's user avatar
  • 6,515
1 vote
0 answers
159 views

ZFS On Linux - recover lacked MBR after physical problem

We had a physical problem in our backup server (we suppose an electrical shock due to the thunderstorm). The system is Linux Debian on a disk and the storage in on a two 4 TB disks RAID-1 ZFS (ZFS On ...
Le Nain Jaune's user avatar
1 vote
1 answer
439 views

SMART test fixed itself after a few runs

I found something bizarre to me: SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline ...
kiler129's user avatar
  • 119
1 vote
0 answers
794 views

How to interpret blk_update_request: critical medium error?

I am getting this error message every now and then from one drive: blk_update_request: critical medium error, dev sdf, sector 4820053408 op 0x0:(READ) flags 0x1000 phys_seg 4 prio class 0 The output ...
J. Doe's user avatar
  • 121
1 vote
2 answers
697 views

Why smartd need database?

Do smartd need the database? or smartctl needs the database? I saw smart tool github keep updating database: https://github.com/smartmontools/smartmontools/labels/drivedb In my understanding, smartd ...
Mark K's user avatar
  • 865
7 votes
1 answer
4k views

I don't see results of a self test of an SSD in smartctl

I want to test my SSD. It seems that I can start a self test with smartctl, but when I try to display test's results, I don't see anything. My SDD's model is PNY CS3030 250GB SSD: $ lsblk -d -o name,...
user983447's user avatar
1 vote
3 answers
815 views

Deciphering smartctl results

I'm trying to use an internal 2.5" HDD to serve as my external storage media and for backups. This HDD had been previously on a Windows machine for a long time before some of my files became ...
Sepp A's user avatar
  • 63
1 vote
1 answer
638 views

Smartd how to wake disks only for scheduled scans

I am using smartd to monitor my disks in Ubuntu and have it configured to run a short scan daily at 2am and a long test 3am every Saturday morning: /dev/sda -a -n standby -o on -S on -s (S/../.././02|...
Dibly's user avatar
  • 11
6 votes
3 answers
3k views

Really Remapping Bad Blocks on disk

I have a SATA drive which has a total of 8 bad blocks identified by the badblocks program. Supposedly the drive firmware should be able to remap them and substitute spares. I've run badblocks in -n ...
kmand's user avatar
  • 101
0 votes
1 answer
181 views

smartctl Power_Cycle_Count on new SSD

After one power cycle on my system and one smartctl long test, my Samsung EVO 1T SSD : ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE ... 12 ...
Stephen Boston's user avatar
0 votes
1 answer
47 views

Will dmesg always report file system read errors?

OS is Debian 10. Smartctl reports a bad block on a hard drive. Rsync has been regularly doing backups to a backup drive. dmesg has not reported any errors. Does that mean the data on the backup drive ...
cat pants's user avatar
  • 405
0 votes
1 answer
2k views

ssd won't mount: bad superblock but no bad blocks: write errors

just noticed I was using SDD for SSD. Corrected I need help interpreting this situation. /dev/sda is a data disk backed up and with reproducible data so this is not system critical but I'd like to ...
Stephen Boston's user avatar
1 vote
1 answer
1k views

Ubuntu smartctl – running test from cron: How do I know when the results were created?

I've followed various tutorials and ended up with running smartctl tests from cron. crontab: 0 2 2 * * /usr/sbin/smartctl --test=long /dev/sda &> /dev/null 0 2 3 * * /usr/sbin/smartctl --test=...
Jeff Baker's user avatar
1 vote
1 answer
808 views

Checking a HDD's health in Raid?

I have a few HDDs in an Ubuntu SW-RAID array, and now I came across to quite a number of questions sticking together: 1.) Is it safe to do smartctl -t (SMART selftest) while the drive is part of an ...
Daniel's user avatar
  • 339
0 votes
1 answer
83 views

Whats the status of my HDD ? it freezes time to time

Just a random day my win 7 froze and crashed with blue screen , i thought it was power problem as the battery was almost dead so i changed it and installed Linux dual boot ,was fine for few weeks but ...
Vikky's user avatar
  • 1
1 vote
0 answers
256 views

SmartMonTools: tests get cancelled without any traces

I am testing hard disks with SmartMonTools under Ubuntu 20.04. Tests for some hard disks are not working - they disappear without leaving any warnings or errors. Hard drive status before the test (...
Andriy's user avatar
  • 111
1 vote
1 answer
287 views

Checking the drive status using Smartctl

Can anyone help me identify my drive issue using the smartctl command? When I execute smartctl -h the output contains "passed" but I still doubt the state of the disk.
Phanisai gs's user avatar
0 votes
2 answers
2k views

how to verify number of disks in RAID but from OS

we have Linux RHEL server - 7.6 version in server disks are : lsblk -S NAME HCTL TYPE VENDOR MODEL REV TRAN sda 0:2:0:0 disk DELL PERC FD33xD 4.27 sdb 1:0:0:0 disk ...
yael's user avatar
  • 13.1k
2 votes
1 answer
2k views

Linux on Marvell 88SE9230. How to get stats?

I use Marvell 88SE9230 controller on my home Linux server. HP does have utility to setup raid and get some stats. But I'm wondering how to get any status from a Linux system. Quick googling shows only ...
Hills of Eternity's user avatar
0 votes
0 answers
2k views

disc failures, blk_update_request: I/O error

I'm currently having a trouble accessing all recently installed discs on a server after a zfs pool rebuild. When I tried to partition using parted, I got the following error: Error: Input/output error ...
hbar's user avatar
  • 101
0 votes
1 answer
2k views

Is my hard drive failing? / Need help with smartctl -a output

I have an old Seagate 4TB internal drive from a crapped out pc that I was planning to repurpose as a spare drive for gaming. Figured I'd run some smartctl scans on it first just to be safe so I did ...
zpangwin's user avatar
  • 741
2 votes
1 answer
369 views

Unable to mount HDD and concerns over the partition setup

Final Edit A quick note to say thanks for the comments, I certainly learned a lot. Unfortunately, having decided to return the HDD they tested it themselves and concluded that the device was faulty. I ...
Anthony Nash's user avatar
0 votes
0 answers
204 views

Check toshiba hdd power on hours or hours used

Using a toshiba hdd I am unable to get power on hours or anything similar. Requesting assistance. Check how long a HDD has been used in LINUX From this forum post and using -all it shows lots of ...
Foren Power's user avatar
0 votes
2 answers
215 views

smartctl reports different sectors for the first error location

I'm testing an old HDD, and can't quite understand the output of smartctl regarding disk self-tests: $ sudo smartctl -d sat -x /dev/sdd ... SMART Extended Self-test Log Version: 1 (1 sectors) Num ...
Dmitry Grigoryev's user avatar
2 votes
1 answer
3k views

Best practices to enable SMART disk notifications on a Linux workstation?

I enabled SMART notifications on my laptop running Debian. Basically I just want to get a notification pop up when something goes wrong on a disk. I don't want to get an email, I think a notification ...
ChennyStar's user avatar
  • 1,643
1 vote
0 answers
1k views

Hardware_ECC_Recovered is high in new hard drive, Other values are zero, Is this a bad drive?

I have done full write and read on this new hard drive and then run smart long test. This is a 3.5 inch 4T hard drive. Some of the results: === START OF INFORMATION SECTION === Model Family: ...
sgon00's user avatar
  • 367