Questions tagged [smartmontools]
The smartmontools tag has no usage guidance.
18
questions
1
vote
0
answers
41
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 (...
0
votes
1
answer
223
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 ...
1
vote
1
answer
530
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 ...
0
votes
1
answer
86
views
NAS server smartd.conf assistance
I want to perform the following using smartd:
Run short smartctl test once a week.
Run long smartctl test once a month.
Get the results for each run on mail.
I tried to read the 'man' page for both ...
1
vote
1
answer
309
views
Can I recover a 500GB Seagate Momentus with bad sectors?
I've received a Seagate 2.5" 5400rpm 500gb HDD that was throwing up a Boot configuration error post some windows updates. I've tried the following on it and nothing seems to work:
First step: I ...
1
vote
1
answer
272
views
Can I determine the real lifetime with “Error occurred at power lifetime: 19132h” and "Power_On_Hours 0h" in smartctl?
I just bought a "new" and very cheap hdd online.
I used some kinda usb3.0 hdd box to connect to my PC.
By running smartctl, I can see the following outputs
9 Power_On_Hours 0x0012 ...
0
votes
1
answer
76
views
Bind smartd to user session
I want to see smartd notifications in DE (Gnome3). So I've configured smartd to execute custom script that uses notify-send to notify all logged users:
smartd.conf:
/dev/sda -m root -M test -M exec /...
1
vote
0
answers
978
views
How to check for file system consistency after power outage [duplicate]
What can I do to check if a file system (data in files and the hardware) is intact or corrupt after a computer is shutdown abruptly due to power outage?
My home desktop computer was shut down by ...
6
votes
2
answers
6k
views
How to check/fix nvme health?
I'm running debian stable with a 2 x nvme Raid 1.
Here is the hardware/hoster it's running on
https://www.hetzner.com/dedicated-rootserver/ex62-nvme?country=us
Almost every second day mdadm monitoring ...
3
votes
2
answers
675
views
Is it possible to get S.M.A.R.T Monitoring for Debian 9 into Slack?
I've recently set Debian 9 up on a home server and I would like to run some S.M.A.R.T checks against my HDD's and then get alerted if there are any issues. Ideally I'd like the alerts to come into my ...
2
votes
3
answers
2k
views
smartd only send email on attribute change
I setup smartd to send me mail reports in case my disks fail. Unfortunately I am being spammed each day by the same attribute with the same (not changing) value:
The following warning/error was ...
1
vote
0
answers
44
views
How to display message from daemon in gnu screen message line
Let's say I've setup smartd to send out a message any time a SMART warning happens. Is there a way to put this warning into the message line of all running screen sessions?
2
votes
2
answers
5k
views
How to use smartctl in practice?
I was casually using smartctl to peek on my disks without really diving in. After reading a comment on Hacker News I decided to schedule daily short and weekly long tests.
How to actually make good ...
4
votes
1
answer
12k
views
Unable to enable SMART support for external hard drive
I use my recently bought 1T Seagate Backup Plus Slim external hard disk ID 0bc2:ab24 Seagate RSS LLC (NTFS filesystem) as a backup tool.
I want to run the Smartmontools software on this disk, but when ...
2
votes
0
answers
2k
views
Cannot enable smartctl Auto Offline Data Collection
smartctl --offlineauto=on /dev/sda [-d TYPE] will not enable Auto Offline Data Collection
as reported by
smartctl -c /dev/sda
which shows
Auto Offline data collection on/off support
Auto Offline ...
1
vote
1
answer
462
views
smartmontools - Is the automatic test the same as running a short test?
We're busy setting up smartmontools on our various Linux based servers and although it works, we want to streamline the process a bit. As I understand, we can enable automatic testing which should ...
2
votes
1
answer
1k
views
Why does ZFS not report disk as degraded?
S.M.A.R.T. has found an unrecoverable read-error on one of my disks, but zpool status lists all disks as ONLINE (I.E. not DEGRADED).
Do you know why might that be? I though ZFS would know of any ...
1
vote
2
answers
866
views
can we automatically wait the required time for smartmontools/smartctl?
Can we do something like this in a script (preferably zsh):
smartctl -t long /dev/sda
smartctl -t long /dev/sdb
smartctl -t long /dev/sdc
[Wait however long smartctl needs]
smartctl -H /dev/sda
...