Questions tagged [smartmontools]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 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
1answer
103 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 ...
3
votes
1answer
3k 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 ...
1
vote
1answer
108 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 ...
0
votes
0answers
31 views

How to check external USB SATA 2.5" hard disk health

Debian 9 ("Stretch") on laptop. How to check external USB SATA 2.5" hard disk health on Debian 9 use smartmontools? test I did: Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 ...
0
votes
1answer
45 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
0answers
644 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 ...
2
votes
3answers
1k 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 ...
3
votes
2answers
495 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 ...
1
vote
0answers
36 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
2answers
3k 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 ...
3
votes
1answer
9k 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
0answers
1k 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 ...
2
votes
1answer
942 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
1answer
307 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 ...
1
vote
2answers
686 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 ...