The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
6 views

output test results of smartctl into logfile

I set up a cronjob that executes the following script: #!/bin/bash smartctl -t long /dev/sda smartctl -A /dev/sda >> /smart-logs/$(date +"%Y-%m-%d-%A_SMART-report") echo "---------" >> ...
0
votes
1answer
82 views

Shell script printing blank $USER variable when executed by Smartd

I have created a script that smartd daemon (smartmontools) executes as per command below. DEVICESCAN -a -m email -M test -M exec /usr/share/smartmontools/my-script -n stand... Smartd appears to be ...
1
vote
2answers
48 views

Cannot get smartctl working

On my debian wheezy server I use a software raid 1 with two harddisks dev/sda3 and dev/sdb3 connected into dev/md2: mdadm --detail /dev/md2 Number Major Minor RaidDevice State 0 8 ...
0
votes
0answers
23 views

Are SMART diagnosis tools giving correct output?

My problem is the following: In November, the hard-disk analyser tool of Ubuntu 14.04 (Disks) showed some bad sectors. As this disk was very old, I replaced it by a Western Digital WD1600BEKT. Now, I ...
0
votes
0answers
318 views

freenas disc problems - smart error - how to repair zfs raid?

Whats the best way to analyse problems on an freenas raid file server? I have troubles with my freenas 9.2.1. It crashed today. Its running a fileserver on zfs jbod raid 2. I'm not sure what exactly ...
0
votes
1answer
178 views

In smartctl output, what does LifeTime(hours) mean?

Specifically, in smartctl output, how is LifeTime(hours) calculated? I'm assuming it's one of the following: The difference (in hours) between the time of the test and the manufacture date of the ...
4
votes
2answers
97 views

Hard-drive errors

My /home file system is JFS, it got to RO mode several times already, so I had to reboot/remount it. I saw this at '/var/log/messages`: Dec 31 10:12:49 uvv-laptop-y570 kernel: [ 983.925711] ...
1
vote
0answers
161 views

How should I interpret this smartctl readout

I'm running a Debian Jessie Machine with an external 3TB Hard Drive. The drive has gone offline twice in the last few days, trying to [ls] results in nothing to display, same in Dolphin. Running ...
2
votes
1answer
94 views

Hard Drive health check

In a previous thread the answer # smartctl -a /dev/sda looks good. The problem by my side is the highly verbose output. Is possible to obtain something more human understadable, something like "hard ...
1
vote
0answers
70 views

Setting up smartmontools

I recently built a small server running lubuntu and decided it would be wise to setup smartmontools in order to monitor the drive health. SMART seems to be built into lubuntu in gnome-disks, however, ...
0
votes
0answers
259 views

How does SMART work for scsi device?

After going through the man pages of smartctl, smartd and smartd.conf, I am no clearer on how S.M.A.R.T. is supposed to work on a scsi device. I have a default configuration file that says: ...
1
vote
0answers
75 views

SMART extended offline test validity

Is it possible for the smartctl -t long /dev/sda to complete without error and still the drive fail? How detrimental to the disk's life expectancy is running the test daily/weekly? Thanks!
2
votes
1answer
298 views

Slow hard drive?

Some time ago I noticed, that my desktop has become slower, than usual. It looks like a source of troubles is the hard drive (there is no such issue with Live USB) - but I don't understand the reason ...
1
vote
1answer
1k views

Run smartctl on all disks of a server

My question is a quite simple , I want to run the command smartctl -i -A on all disks that the server have. Think that I've too much server with different number of disks and RAID Controllers, then I ...
2
votes
2answers
127 views

Script to Recognize HDDs and run Smartctl

I'm thinking to do a script to recognize which HDDs are in use (sda, sdb, etc) and run a Smartctl on each one that's are in use, but I don't know how can I start, anyone can help me?
5
votes
1answer
5k views

Does my hard-drive have bad sectors or not?

I got a new drive and I'm confused if smartctl detects bad sectors or not. Both short and extended self-tests completed without error. But the Error Log indicates Uncorrectable error in data for 96 ...
3
votes
0answers
69 views

Which 'smartctl -d' option should I use on this hard-disk: 'scsi' or 'ata'? [duplicate]

On the back of How to repair a corrupted HFS+ partition?, I have separate question. I'd like to run smartctl tests on a hard disk, but I'm not sure which option I should use to correctly initialize ...
7
votes
3answers
14k views

How to check the life left in SSD or the medium's wear level?

We all know that SSDs have a limited predetermined life span. How do I check in Linux what the current health status of an SSD is? Most Google search results would ask you to look up S.M.A.R.T. ...
5
votes
4answers
2k views

enable SMART for HP hard disk

I would like to use SMART to perform a health check of my hard disk. I have an HP server of 4 years ago I believe. Everytime I try to use the following command smartctl -a /dev/sda I got an error ...
3
votes
2answers
199 views

How to get smartd to ignore an HDD?

I have an external HDD which does not report SMART information properly (it gives nonsense results). As such, the smartd daemon (part of smartmontools) keeps giving false alarms on how the device ...
1
vote
1answer
473 views

How can I prevent smartd from reporting that it cannot find a disk?

I have smartd monitoring my hard drives. It works fine generally, but the following error window has been consistently popping up every 24 hours. This email was generated by the smartd daemon running ...
1
vote
3answers
3k views

smartctl retest bad sectors

I got a notification today that my drive was going to fail in 24 hours. The 'Reallocated_Sector_Ct' was already around 3000 and it has since risen to over the last few hours 4004. However, I turn my ...
4
votes
1answer
1k views

manufacturer's tool found bad blocks, but smartctl doesn't show any

Description of my problem is quite large, so first I will give a short summary, then I will precisely describe the situation. Short summary: manufacturer's diagnostic tools found and repaired some ...
2
votes
1answer
1k views

How to fix hard-disk error connected by usb? [duplicate]

My system is Linux 64bit, my hard-disk is a 1TB WD HD, connected to my computer by USB3.0. I found some files cannot be copied, they are video files, and it seems I can play the video. I ran e2fsck ...
3
votes
3answers
500 views

A lot of errors on ext4, however smart doesn't show any errors

I have a Debian box with additional ( it is not a system disk ) 1.5Tb sata hdd (wd caviar green). There is only one partition on the whole disk. Disk is used for backups from remote system (with ...
1
vote
1answer
112 views

smartctl: suspend read-scan the remainder of the disk

I have started read-scan the disk using: smartctl -t select,10-11 -t afterselect,on -t pending,45 /dev/sda It seems, however, it kills the disk performance. I had expected that the read-scan would ...
10
votes
3answers
8k views

smartctl on external hdd inside ide-to-usb enclosure

I have a very old 2.5" IDE drive inside a USB enclosure that gives some buffer I/O error. I tried to use smartctl to see what SMART says about it, but I can't manage to make it work. Being root, if I ...