One thing you should pay attention to is the wealth of your hard drive. You have to keep in mine that a hard drive alive is a hard drive dying. It exists one useful command to analyze your hard drive sensors and give you an idea of its age.
First, try to find your hard drive name. Mine is /dev/sda
1 2 3 4 5 6 7 8 9 |
# df -h File Leng. Used. Avail. Used% Mount on rootfs 49G 13G 34G 28% / /dev/root 49G 13G 34G 28% / devtmpfs 7,8G 0 7,8G 0% /dev tmpfs 1,6G 360K 1,6G 1% /run tmpfs 5,0M 0 5,0M 0% /run/lock tmpfs 3,6G 0 3,6G 0% /run/shm /dev/sda2 1,8T 16G 1,7T 1% /home |
This command will display all information about your hard drive
1 |
smartctl -a /dev/sda |
The first bloc of information is about your hard drive name, specification, serial number, etc.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
=== START OF INFORMATION SECTION === Model Family: Seagate Barracuda XT Device Model: ST32000641AS Serial Number: 9WM48LKC LU WWN Device Id: 5 000c50 03540bb85 Firmware Version: CC13 User Capacity: 2 000 398 934 016 bytes [2,00 TB] Sector Size: 512 bytes logical/physical Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 4 Local Time is: Sun Sep 22 12:55:20 2013 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled |
If you hard drive is in good shape, you should see PASSED at this line
1 2 |
=== START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED |
The most important and interesting information about your hard drive are in this information table
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 118 098 006 Pre-fail Always - 185594511 3 Spin_Up_Time 0x0003 100 100 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 17 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 087 060 030 Pre-fail Always - 587633250 9 Power_On_Hours 0x0032 078 078 000 Old_age Always - 19927 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 17 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 072 065 045 Old_age Always - 28 (Min/Max 26/28) 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 16 193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 17 194 Temperature_Celsius 0x0022 028 040 000 Old_age Always - 28 (0 21 0 0) 195 Hardware_ECC_Recovered 0x001a 044 025 000 Old_age Always - 185594511 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 115478785707519 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 2773452375 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 3822075504 |
We’ll look mainly to 4 rows :
- 9 Power_On_Hours : A value of 19927 hours means 830.3 days -> ~2.3 years. It seems too much and hard drive should be replaced as soon as possible.
- 12 Power_Cycle_Count : 17 is the number of cycles the hard drive has been fully powered on/off.
- 193 Load_Cycle_Count : 17 means the hard drive loaded/unloaded 17 cycles into head landing zone position. An excessive value here could lead to a premature death of your hard drive. The typical lifetime rating for laptop (2.5-in) hard drives is 300,000 to 600,000 load cycles. Some laptop drives are programmed to unload the heads whenever there has not been any activity for about five seconds. Many Linux installations write to the file system a few times a minute in the background. As a result, there may be 100 or more load cycles per hour, and the load cycle rating may be exceeded in less than a year.
- 194 Temperature_Celsius : Current internal temperature. Your hard drive should never exceed 50°C. So 28°C is a really good value.
Now you can check by yourself you hard drive status when you receive a new dedicated server.
If you don’t have a new one or at least a lower than a year cycles, you should complain about it as soon as possible.
Recent Comments