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.
172 questions
0
votes
0
answers
80
views
Samsung 970 EVO Plus: critical warning, not really dead?
My question: is it possible that my "failed" Samsung NVME drive is actually OK? I have a hunch Samsung are staging a con...
I have a Debian 11 system running on a 250 GB Samsung 970 EVO Plus ...
6
votes
2
answers
619
views
SMART test and suspend or reboot
What is the behaviour if I start a long test with smartctl (i.e., sudo smartctl -t long /dev/...), and then I suspend the machine or shut it down and restart it later? Will the test "suspend"...
1
vote
1
answer
226
views
Wear level and total bytes written in SATA SSD
On a Samsung SATA SSD, i.e. non NVMe disk, the following are the SmartCtl values that are obtained by running the command sudo smartctl -a /dev/sda,
SMART Attributes Data Structure revision number: 1
...
0
votes
2
answers
197
views
How to recreate file system in an external hard drive from scratch?
I've got a Western Digital Technologies, Inc. Elements 25A2. This is the way it introduces itself through the lsusb command.
Unfortunately, I cannot format it. Through Gnome Disk Utility the command ...
3
votes
0
answers
104
views
HDD hiccups randomly, no SMART errors
I use an SSD as boot drive and an HDD as /home drive.
For about the last 2 weeks, the HDD randomly "hiccups" and the system takes one or two seconds to come back to itself. It does not ...
1
vote
1
answer
1k
views
ATA error count increased / failing ssd?
So, being annoyed with the constraints of a "fixed" disk layout on my desktop, the other day I decided to migrate my / and /home to a LVM based configuration. A part of this process I did an ...
6
votes
0
answers
6k
views
What's the difference between SMART "long" and "offline" tests?
What's the difference between the two below? What exactly is tested by each test?
smartctl -t offline /dev/sda
smartctl -t long /dev/sda
According to the smartctl documentation:
offline - [ATA] ...
2
votes
1
answer
101
views
Editors crashing with certain characters, programs crashing, how to diagnoze?
I'm having strange problems with my PC and don't know what to do. It all started with the fact that certain characters (Devanagari characters) could no longer be displayed in my Emacs. Whenever I ...
0
votes
0
answers
152
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 ...
0
votes
0
answers
20
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 ...
2
votes
0
answers
573
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.
...
3
votes
1
answer
1k
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 ...
1
vote
1
answer
259
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 ...
0
votes
1
answer
1k
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 ...
3
votes
1
answer
4k
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 ...
1
vote
0
answers
297
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 ...
1
vote
1
answer
179
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 ...
1
vote
1
answer
2k
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 ...
0
votes
1
answer
938
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 ...
1
vote
0
answers
184
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 ...
2
votes
0
answers
1k
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 ...
10
votes
1
answer
6k
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,...
1
vote
1
answer
1k
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|...
0
votes
1
answer
317
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 ...
0
votes
1
answer
3k
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 ...