On Sun, Jan 27, 2008 at 03:28:26AM +0200, Jabka Atu wrote:
Hello,..
I would like to get the life time of hard disk (how much he worked in
hours or speens or whatever)
i tried using hdparam but it didn't show this info.
try smartctl
smartctl -a /dev/hdb
....
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 200 200 051 Pre-fail
Always - 0
3 Spin_Up_Time 0x0007 101 092 021 Pre-fail
Always - 2316
4 Start_Stop_Count 0x0032 098 098 040 Old_age
Always - 2014
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail
Always - 0
7 Seek_Error_Rate 0x000b 200 200 051 Pre-fail
Always - 0
9 Power_On_Hours 0x0032 056 056 000 Old_age
Always - 32709
-----------------------^^^^^
mine's been on for over 3 years!!
not all disks record this info though...