SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Seriously archival methods would be to store medium in a air tight, closed cell containment to prevent any damage to the media. This would then be stored in a secure controlled environment off site. The media be it a cd/dvd or even tape should be 'grandfathered'. In days past we would use Winchester drives and store the disc pack off site (grandfathered) usually in a vaulted storage facility. The cycling of the backup would be such as that the worst case we would be able to restore day/week/month. The disc packs were around $1000/ea, but to not have the insurance wasn't even considered. That 1K was for Winchester packs, the SMD packs were around $5K/ea.
I can now backup to a CD/DVD with the cost per disk <$0.20 per disk for quality media.
Well, I didn't know that dyes were actually used, I knew it was either a chemical compound or in some cases an alloy. Well I guess a dye is a chemical compound. Anyway, thanks for the info.
On Windows I get around ~40-50 cycles per hour which is still too much. I haven't tried setting APM off, though. Following someone's idea in the Ubuntu bugreport page, I wrote a small script which keeps calling smartctl every 3 seconds:
Code:
#!/bin/bash
while [ 1 ]
do
smartctl -d ata -a /dev/sda | grep Load_Cycle_Count
sleep 3
done
The point is this command wakes the HD up, so it prevents head parking. Using "sleep 5" wasn't enough. It seems the drive is pretty aggressive, it will park the head in 4-5 seconds of inactivity. Since I've been running this script, the cycle count is frozen at 1529559. The temperature is 43 C which is nominal for this drive.
I can now confirm that this solution works with a Hitachi Travelstar on my laptop. It keeps it from cycling at all while the computer is on. Again, thanks for the solution Ilgar.
You're welcome H_TeXMeX_H. Does anyone have an idea whether this method is safe enough? That is, I'm not sure if it may pose other risks to the disk. In my case, since the count is already at 1,5 million it is perhaps justified to take these supposed risks. One thing that I've noticed after using this script is that, sometimes when I suspend or shutdown the computer (thus when the disk is powered off) I hear a faint beep-like sound, which seems to come from the disk. I am not sure that it is the disk where the sound comes from but I was unable to reproduce it when the script is not running. Otherwise there's no noticeable change in the disk behaviour or performance when the script is on.
Well, I think there is no reason for it not to be safe. Either way, my drive, about 2-3 years old has a Power_Cycle_Count value of 26 where 0 means the drive is dead. It's gonna die soon anyway. This hack will just slow its death while I order another drive. I'll watch for any strange noises tho.
my drive, about 2-3 years old has a Power_Cycle_Count value of 26 where 0 means the drive is dead.
Are you sure that this is true? I'm now typing from my work computer and I don't have my laptop with me now, but as far as I remember I had a power cycle count around 1900 and it increases with every suspend/reboot. So in your case it should mean that you've rebooted/suspended your computer 26 times so far.
Are you sure that this is true? I'm now typing from my work computer and I don't have my laptop with me now, but as far as I remember I had a power cycle count around 1900 and it increases with every suspend/reboot. So in your case it should mean that you've rebooted/suspended your computer 26 times so far.
Oh, I was meaning the threshold value not the raw value. The raw value is I believe around 400,000 or so, or 40,000 ? I gotta check.
That was stupid of me. 26 is too low for a raw value of course . This evening I'll check my threshold values too, I've never paid attention to that. Do you have an estimate about the drop rate in your case? Is it noticeable?
Reaching the threshold doesn't necessarily mean that the drive will die, but it certainly means a red alert, as in my case.
lol, well yes, you are right, there's no way it could predict the day in which the drive will die. It's more like terminal illness ... today, maybe tomorrow, maybe next week, but soon ...
Code:
The Attribute table printed out by smartctl also shows the
"TYPE" of the Attribute. Attributes are one of two possible
types: Pre-failure or Old age. Pre-failure Attributes are ones
which, if less than or equal to their threshold values, indicate
pending disk failure. Old age, or usage Attributes, are ones
which indicate end-of-product life from old-age or normal aging
and wearout, if the Attribute value is less than or equal to the
threshold. Please note: the fact that an Attribute is of type
'Pre-fail' does not mean that your disk is about to fail! It
only has this meaning if the Attribute´s current Normalized
value is less than or equal to the threshold value.
It's true that this is not a Pre-fail attribute, but drives die of old age just as much as they die of stress or poor manufacturing.
Anyway, my advice is if you haven't already done so, backup your data. Your drive is in far worse shape than mine.
I already did that (the backup). One thing which makes me optimistic is that, this computer has been like a portable "desktop" machine for me. That is, I almost never used it when traveling, put it on my lap or even carried it around too much. It had a vibration-free life till now. Hopefully, the disk is therefore in good shape still. I wish I had been aware of this issue earlier. It is serious enough and deserves more attention. Who knows how many disks' lives were shortened because of this problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.