PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > How to get the life time of a given disk ?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

How to get the life time of a given disk ?

Réponse
 
LinkBack Outils de la discussion
Vieux 27/01/2008, 01h30   #1
Jabka Atu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How to get the life time of a given disk ?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.


hardisk :


hdparm -I /dev/hda

/dev/hda:

ATA device, with non-removable media
Model Number: TOSHIBA MK1234GAX
Serial Number: X6PIT0QRT
Firmware Revision: AC001A
Standards:
Supported: 6 5 4
Likely used: 6
Configuration:
Logical max current
cylinders 16383 65535
heads 16 1
sectors/track 63 63
--
CHS current addressable sectors: 4128705
LBA user addressable sectors: 234441648
LBA48 user addressable sectors: 234441648
device size with M = 1024*1024: 114473 MBytes
device size with M = 1000*1000: 120034 MBytes (120 GB)
Capabilities:
LBA, IORDY(can be disabled)
Standby timer values: spec'd by Standard, no device specific
minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: unknown setting (0x0080)
DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 udma2
udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
* Advanced Power Management feature set
* SET_MAX security extension
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* IDLE_IMMEDIATE with UNLOAD
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
82min for SECURITY ERASE UNIT.
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct

- --
- --
Could you at least use man ?
Jabka Atu (aka mha13/Mashrom Head) || bsh83.blogspot.com
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBR5veOW9p6JnF9I1qAQJZZg//RhCprQiPHjW0AK2kJYchSl6e4p0AIBnu
jnkCgG4HI77BGF+FmhvJ/rPm/+fQ3zBVuGcqh+RoIuFKCN3Ys6ds6ydgrnKZYiXf
DGWB/iYiMk+MHwxU/kyo3I7CmOrQnF9SiWOFEtaL8Tl12rxTbWGYVYnxlHaRujdd
D+Xk4yNDsLOxlxr/9Yl8hD8cx4TvGe0ooDofq6YSUHizDLFGrtWsOidzxKKXs8X8
js/lhjY/vRzYp/DGmHA+ixSAgFpc+ZL3BHT+tzfxo4VSe/fSB0zq97+JRJyh/i7W
KISUFZIrn+JNf6mIOIriF2D9+TLYWdSpfiKZX6AzVOjrKAX+WT rvIlU9dqhuHIbR
AHUHnI6I4d8b1wPixPOIsup7NwYamzcaXzfmqDhsy7hbF4nyTB t/6EiYvorwHCjl
zbY8Vl3uYCjiLh24kC67O/GyFAQWiPDKDX4VyXZ520Ea7Z/KRmV9AFUlctEc5tIK
wlDo4m85IJOgrnIuJHoBiZ0JUwDVcbl6XeID6LKyz74TyeGlZm ZWB8/wJ7UFwd+V
jESuqhDltekiWK2XGXqJQOkRrShqcGic0AcNMX5FggAj0G0JgG H7g8Pcy+DEfOSe
cE9hWA1p3kbqhA+OxXL/kOLkviyvHvyuYvGTFnzA1YccUwuUJvxjFuz6m6bKGBTV
dSgtGwJ4kKs=
=w0Tc
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 27/01/2008, 02h10   #2
Andrew Sackville-West
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to get the life time of a given disk ?

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...

A

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHm+VYaIeIEqwil4YRAvF4AJ9ho5jnZFP/0np4EJUZBr5kGxuczACeIsOc
N8sIkNtxW4ACM3UeGHQUJT0=
=89sP
-----END PGP SIGNATURE-----

  Réponse avec citation
Vieux 27/01/2008, 12h30   #3
Hugo Vanwoerkom
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to get the life time of a given disk ?

Andrew Sackville-West wrote:
> 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...
>


My maxtor_6y080p0:
9 Power_On_Minutes 0x0032 217 217 000 Old_age
Always - 595h+50m
And my st380011a:
9 Power_On_Hours 0x0032 092 092 000 Old_age
Always - 7111

But the st380011a is younger than the maxtor_6y080p0 so that number of
595h is wrong. I noticed that the temperature that it reports is too low
also. YMMV.

And smartctl cannot be used with some disks: I have two disks that I use
with an USB enclosure and smartctl gets:

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

although they are a PATA and a SATA disk


Hugo






















--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h20.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11649 seconds with 11 queries