Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I just got a new server from a server provider and he placed in some old 1.5TB HDD. They do support smartctl.

Is there a way I can findout how old these drives are?

share|improve this question

migrated from stackoverflow.com Dec 7 '10 at 16:38

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 4 down vote accepted

If you want to know the HDD's manufacture date (e.g. for warranty issues) the only universal way to get that is to open the case and have a look at the HDD label.

Another possible way is to use hdparm -i /dev/sdX or smartctl -a /dev/sdX to get the model and serial number and check with the manufacturer's warranty web page. Some manufacturers will provide a manufacture date for each serial number.

smartctl -a /dev/sdX will occasionally have a Power_On_Hours or other similar attribute which can be an indicator of how long a drive has been in use. Other attributes may also serve this way.

EDIT:

For example Seagate provides the warranty expiration date, which can be used to estimate the manufacture date if you know the length of the warranty period. The length of the warranty period usually depends on the model and you should be able to find it by searching the web.

share|improve this answer
    
Wow that was awesome. –  Chirag Dec 7 '10 at 10:08
    
Does this mean 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 8 It has been on for only 8 hours? –  Chirag Dec 7 '10 at 10:08
1  
Yes... one of my disks which I have had for two years and has been on for most of that time is in the 17,000-hour range now. –  thkala Dec 7 '10 at 10:16
    
Awesome. I was scared that they added in a really old drive but now that it has been used only for 8 hours. I feel much much better –  Chirag Dec 7 '10 at 10:19
    
Well, you could always check the model and serial number with the manufacturer web site to make sure... –  thkala Dec 7 '10 at 10:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.