You are not logged in.
I have had the same sata drive for a few years now, and i install and reinstall all the time, so I may have just worn teh drive out. But, i recently tried using the XFS file system, and now when i hit my enter key or the backspace key on the keyboard the drive grinds and grinds and the PC almost locks up, it will then stop after a minute, and everyhting is back to normal, could this be a XFS issue, or probably bad hardware? htop shows my cores as only be 0-1% used, and ram is only using 54mb - so Its a nice system with no real stress on it. If there is anysort of 'spinrite' program for linux, I could try testing the drive, but I have only found a dd'something' program, and Im not sure if its what im looking for. Any ideas or thoughts would be awesome, im strapped for cash, so I hope its not the drive
Offline
Install smartmontools and paste the output of smartctl -a /dev/sda.
1000
Offline
alright I will do that when i get off work ( 5pm est)
Offline
alright I installed, and enabled 'smart' (whatever that is ) and then ran a short self test, then ran the command you had posted. Here are the outputs.
justin ~ $ sudo smartctl --log=selftest /dev/sdb
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 14568 -
sudo smartctl -a /dev/sdb
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.8 family
Device Model: ST3250823AS
Serial Number: 5ND0H7BX
Firmware Version: 3.03
User Capacity: 250,058,268,160 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Tue May 20 17:38:21 2008 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 430) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 84) minutes.
SMART Attributes Data Structure revision number: 10
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 053 047 006 Pre-fail Always - 231310844
3 Spin_Up_Time 0x0003 099 098 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 163
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 088 060 030 Pre-fail Always - 784831267
9 Power_On_Hours 0x0032 084 084 000 Old_age Always - 14568
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 169
194 Temperature_Celsius 0x0022 027 051 000 Old_age Always - 27 (Lifetime Min/Max 0/10)
195 Hardware_ECC_Recovered 0x001a 053 046 000 Old_age Always - 231310844
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
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 TA_Increase_Count 0x0032 100 253 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 88 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 88 occurred at disk power-on lifetime: 13519 hours (563 days + 7 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 51 01 2e 51 1c ed
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
37 00 01 2e 51 1c ed 00 1d+05:11:07.877 SET MAX ADDRESS EXT
27 00 00 2e 51 1c e0 00 1d+05:10:58.895 READ NATIVE MAX ADDRESS EXT
37 00 00 2e 51 1c ed 00 1d+05:10:58.861 SET MAX ADDRESS EXT
27 00 01 2e 51 1c e0 00 1d+05:10:58.861 READ NATIVE MAX ADDRESS EXT
37 00 01 2e 51 1c ed 00 1d+05:10:58.832 SET MAX ADDRESS EXT
Error 87 occurred at disk power-on lifetime: 13519 hours (563 days + 7 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 51 01 2e 51 1c ed
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
37 00 01 2e 51 1c ed 00 1d+05:11:07.877 SET MAX ADDRESS EXT
27 00 00 2e 51 1c e0 00 1d+05:10:58.895 READ NATIVE MAX ADDRESS EXT
37 00 00 2e 51 1c ed 00 1d+05:10:58.861 SET MAX ADDRESS EXT
27 00 01 6f 59 1c e0 00 1d+05:10:58.861 READ NATIVE MAX ADDRESS EXT
29 00 01 6f 59 1c e0 00 1d+05:10:58.832 READ MULTIPLE EXT
Error 86 occurred at disk power-on lifetime: 13519 hours (563 days + 7 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 51 01 2e 51 1c ed
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
37 00 01 2e 51 1c ed 00 1d+05:10:38.111 SET MAX ADDRESS EXT
27 00 00 2e 51 1c e0 00 1d+05:10:45.213 READ NATIVE MAX ADDRESS EXT
37 00 00 2e 51 1c ed 00 1d+05:10:45.213 SET MAX ADDRESS EXT
27 00 01 2e 51 1c e0 00 1d+05:10:45.086 READ NATIVE MAX ADDRESS EXT
37 00 01 2e 51 1c ed 00 1d+05:10:45.086 SET MAX ADDRESS EXT
Error 85 occurred at disk power-on lifetime: 13519 hours (563 days + 7 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 51 01 2e 51 1c ed
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
37 00 01 2e 51 1c ed 00 1d+05:10:38.111 SET MAX ADDRESS EXT
27 00 00 2e 51 1c e0 00 1d+05:10:38.111 READ NATIVE MAX ADDRESS EXT
37 00 00 2e 51 1c ed 00 1d+05:10:37.621 SET MAX ADDRESS EXT
27 00 01 6f 59 1c e0 00 1d+05:10:37.621 READ NATIVE MAX ADDRESS EXT
29 00 01 6f 59 1c e0 00 1d+05:10:37.620 READ MULTIPLE EXT
Error 84 occurred at disk power-on lifetime: 13504 hours (562 days + 16 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 51 01 2e 51 1c ed
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
37 00 01 2e 51 1c ed 00 14:08:10.847 SET MAX ADDRESS EXT
27 00 00 2e 51 1c e0 00 14:08:10.720 READ NATIVE MAX ADDRESS EXT
37 00 00 2e 51 1c ed 00 14:08:10.720 SET MAX ADDRESS EXT
27 00 01 2e 51 1c e0 00 14:08:10.504 READ NATIVE MAX ADDRESS EXT
37 00 01 2e 51 1c ed 00 14:08:10.503 SET MAX ADDRESS EXT
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 14568 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
sudo grep sdb /etc/fstab
/dev/sdb1 /boot ext2 defaults 0 1
/dev/sdb2 swap swap defaults 0 0
/dev/sdb3 / xfs defaults 0 1
/dev/sdb4 /home xfs defaults 0 1
If you need me to run any other commands etc, I can do that no problem. I am running a long test now, and will post its results when I go home for lunch.
Last edited by axion419 (2008-05-21 13:22:42)
Offline
Alright I ran a long test, and then reran your command.
justin ~ $ sudo smartctl --log selftest /dev/sdb
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 14570 -
# 2 Short offline Completed without error 00% 14568 -
sudo smartctl -a /dev/sdb
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.8 family
Device Model: ST3250823AS
Serial Number: 5ND0H7BX
Firmware Version: 3.03
User Capacity: 250,058,268,160 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 7
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Wed May 21 17:19:43 2008 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 430) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 84) minutes.
SMART Attributes Data Structure revision number: 10
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 051 047 006 Pre-fail Always - 25464121
3 Spin_Up_Time 0x0003 099 098 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 163
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 088 060 030 Pre-fail Always - 787170880
9 Power_On_Hours 0x0032 084 084 000 Old_age Always - 14591
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 169
194 Temperature_Celsius 0x0022 028 051 000 Old_age Always - 28 (Lifetime Min/Max 0/10)
195 Hardware_ECC_Recovered 0x001a 051 046 000 Old_age Always - 25464121
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
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 TA_Increase_Count 0x0032 100 253 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 88 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 88 occurred at disk power-on lifetime: 13519 hours (563 days + 7 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 51 01 2e 51 1c ed
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
37 00 01 2e 51 1c ed 00 1d+05:11:07.877 SET MAX ADDRESS EXT
27 00 00 2e 51 1c e0 00 1d+05:10:58.895 READ NATIVE MAX ADDRESS EXT
37 00 00 2e 51 1c ed 00 1d+05:10:58.861 SET MAX ADDRESS EXT
27 00 01 2e 51 1c e0 00 1d+05:10:58.861 READ NATIVE MAX ADDRESS EXT
37 00 01 2e 51 1c ed 00 1d+05:10:58.832 SET MAX ADDRESS EXT
Error 87 occurred at disk power-on lifetime: 13519 hours (563 days + 7 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 51 01 2e 51 1c ed
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
37 00 01 2e 51 1c ed 00 1d+05:11:07.877 SET MAX ADDRESS EXT
27 00 00 2e 51 1c e0 00 1d+05:10:58.895 READ NATIVE MAX ADDRESS EXT
37 00 00 2e 51 1c ed 00 1d+05:10:58.861 SET MAX ADDRESS EXT
27 00 01 6f 59 1c e0 00 1d+05:10:58.861 READ NATIVE MAX ADDRESS EXT
29 00 01 6f 59 1c e0 00 1d+05:10:58.832 READ MULTIPLE EXT
Error 86 occurred at disk power-on lifetime: 13519 hours (563 days + 7 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 51 01 2e 51 1c ed
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
37 00 01 2e 51 1c ed 00 1d+05:10:38.111 SET MAX ADDRESS EXT
27 00 00 2e 51 1c e0 00 1d+05:10:45.213 READ NATIVE MAX ADDRESS EXT
37 00 00 2e 51 1c ed 00 1d+05:10:45.213 SET MAX ADDRESS EXT
27 00 01 2e 51 1c e0 00 1d+05:10:45.086 READ NATIVE MAX ADDRESS EXT
37 00 01 2e 51 1c ed 00 1d+05:10:45.086 SET MAX ADDRESS EXT
Error 85 occurred at disk power-on lifetime: 13519 hours (563 days + 7 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 51 01 2e 51 1c ed
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
37 00 01 2e 51 1c ed 00 1d+05:10:38.111 SET MAX ADDRESS EXT
27 00 00 2e 51 1c e0 00 1d+05:10:38.111 READ NATIVE MAX ADDRESS EXT
37 00 00 2e 51 1c ed 00 1d+05:10:37.621 SET MAX ADDRESS EXT
27 00 01 6f 59 1c e0 00 1d+05:10:37.621 READ NATIVE MAX ADDRESS EXT
29 00 01 6f 59 1c e0 00 1d+05:10:37.620 READ MULTIPLE EXT
Error 84 occurred at disk power-on lifetime: 13504 hours (562 days + 16 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
10 51 01 2e 51 1c ed
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
37 00 01 2e 51 1c ed 00 14:08:10.847 SET MAX ADDRESS EXT
27 00 00 2e 51 1c e0 00 14:08:10.720 READ NATIVE MAX ADDRESS EXT
37 00 00 2e 51 1c ed 00 14:08:10.720 SET MAX ADDRESS EXT
27 00 01 2e 51 1c e0 00 14:08:10.504 READ NATIVE MAX ADDRESS EXT
37 00 01 2e 51 1c ed 00 14:08:10.503 SET MAX ADDRESS EXT
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Completed without error 00% 14570 -
# 2 Short offline Completed without error 00% 14568 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Hope that helps.
Offline
Noting that this is a Seagate, I've had really good luck with the Seagate linux diagnostic tools. www.seagate.com
You could also try a dmesg |grep sda (or something like that) and see if anything really bad shows up there.
"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot
Offline