LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 08-29-2014, 07:20 AM   #1
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 360

Rep: Reputation: 18
Repeated powering off of a SATA hard disk.


I have an embedded Linux system powering a DVR. The problem with this stupid system is that there is no suitable power off command! To power off I have to switch off the power supply. I am concerned that this action will drastically reduce the life of the hard disk. This concern emanates from the fact that when I switch the DVR off the hard disk makes an abnormal noise.

Any help is appreciated.


ADDED LATER:
I found that the general opinion is that modern HDs are not damaged by power failures provided a failure doen not involve dangerous overvoltage or undervoltage surges.

Last edited by edbarx; 08-29-2014 at 08:58 AM.
 
Old 08-29-2014, 12:54 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 (pre-systemd)
Posts: 1,889

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
Disk manufacturers specify the number of power failures the disk is good for, and the number is usually counted and reported by a smart attribute. It is much better to use shutdown, which will issue a Standby or Sleep command to the disk. That flushes the disk cache and unloads the heads gracefully.

Code:
smartctl -A /dev/sda
...
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -        8
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting linux files from another hard disk(IDE) to current hard disk(sata) the lord protector Linux - Hardware 5 05-04-2008 12:30 PM
SATA Hard disk(Windows) MBR corrupted by IDE hard disk(Linux) Peter_APIIT Fedora 6 07-07-2007 01:20 AM
Sata Hard Disk Slacktyro Slackware - Installation 3 09-09-2006 02:39 AM
Powering off when powering off, how hard can it be? Ian_Hawdon Slackware 14 01-19-2006 04:19 PM
Powering down SATA hard drives Dav Linux - Hardware 1 02-12-2005 10:17 AM


All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration