Re: smartctl usage (was Re: input/output error, looks bad!)
Tyler Smith wrote: On 2007-03-18, Tyler Smith [EMAIL PROTECTED] wrote: On 2007-03-18, Hugo Vanwoerkom [EMAIL PROTECTED] wrote: and what this show? /usr/sbin/smartctl -a -d ata /dev/drive I decided to start with the long self test, which is running now: smartctl -t long -d ata /dev/sda Ok, I've run smartctl -t long -d ata /dev/sda test. I think the pertinent output from smartctl -a -d ata /dev/sda is: SMART Self-test log structure revision number 1 Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted without error 00% 1343 - From what I've now read I take this to mean that my hard drive is operating as expected, so I can stop worrying about imminent failure. I'm not clear on the offline testing and other options for using smartd. For the /etc/smartd.conf file I take it I should use something like: /dev/hda -a -o on -S on -s (S/../.././02|L/../../6/03) -m root Am I correct in interpreting this to mean that smartctl will run appropriate tests on a weekly schedule, and if it finds any problems it will email me a warning? Is there anything else I should do to set up proper disk monitoring? I had not noticed that. Interesting. I just run a cron job once a week. However, a while back I posted a query if anybody had ever gotten a warning from smartmon that their disk was failing. In your case you think your disk is failing but smartmon indicates nothing except for those 2 values of Reallocated_Sector_Ct and Reallocated_Event_Count. In my case these show a rawvalue of 0. and the disks have respectively: LifeTime(hours) 9566 and 4757. If you would keep us posted on whether that disk actually fails or not. Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: input/output error, looks bad!
Tyler Smith wrote: Hi, I have a very strange and ominous problem. After trying to exit from slrn, slrn spent a very long time writing the updates .jnewsrc file, eventually exiting with a disk full error. (I have multiple gigs of free space in / and /home). Following this I could not do anything - most commands were greeted with something like: bash: /bin/df Input/Output Error I could still us ls, and I got aptitude to open but with big ugly warnings about how it couldn't write files and no changes could be made. shutdown didn't work (Input/Output Error etc.) , and logging out dumped me at a log-in prompt instead of gdm, so I just hit the power button. I rebooted, then issued shutdown -rf now to get an fsck of both / and /home. Now I'm up and running again, but very worried that my disk is about to die. fsck didn't seem to produce any warning messages, but I'm not sure how to check this. How do I know if fsck found any errors, and if it does does it fix them or just let you know? How should I proceed in making sure my computer isn't going to die and take all my data with it? (I am in the process of backing up all my files, which I hadn't done in the last *two weeks*. stupid stupid me.) From what I found on google this is either the beginning of the end of my harddrive, or just a trivial hiccup resulting from slrn crashing and corrupting some bit of file somewhere. and what this show? /usr/sbin/smartctl -a -d ata /dev/drive Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: input/output error, looks bad!
On 2007-03-18, Hugo Vanwoerkom [EMAIL PROTECTED] wrote: and what this show? /usr/sbin/smartctl -a -d ata /dev/drive I didn't have smartctl installed. I just installed it now, and the output of smartctl -a -d ata /dev/sda is pasted below. I'm not sure how to use this tool yet, but from what I understand in the man test I decided to start with the long self test, which is running now: smartctl -t long -d ata /dev/sda smartctl version 5.36 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Device Model: FUJITSU MHV2060BH Serial Number:NW06T6828MNE Firmware Version: 00840028 User Capacity:60,011,642,880 bytes Device is:Not in smartctl database [for details use: -P showall] ATA Version is: 7 ATA Standard is: ATA/ATAPI-7 T13 1532D revision 4a Local Time is:Sun Mar 18 14:50:04 2007 ADT 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: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. 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: ( 351) seconds. Offline data collection capabilities:(0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. 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:( 2) minutes. Extended self-test routine recommended polling time:( 41) minutes. Conveyance self-test routine recommended polling time:( 2) minutes. 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 0x000f 100 100 046Pre-fail Always - 62027 2 Throughput_Performance 0x0005 100 100 030Pre-fail Offline - 18415616 3 Spin_Up_Time0x0003 100 100 025Pre-fail Always - 0 4 Start_Stop_Count0x0032 098 098 000Old_age Always - 8219 5 Reallocated_Sector_Ct 0x0033 100 100 024Pre-fail Always - 8589934592000 7 Seek_Error_Rate 0x000f 100 100 047Pre-fail Always - 1418 8 Seek_Time_Performance 0x0005 100 100 019Pre-fail Offline - 0 9 Power_On_Hours 0x0032 098 098 000Old_age Always - 4832375 10 Spin_Retry_Count0x0013 100 100 020Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 000Old_age Always - 599 192 Power-Off_Retract_Count 0x0032 100 100 000Old_age Always - 33 193 Load_Cycle_Count0x0032 098 098 000Old_age Always - 44131 194 Temperature_Celsius 0x0022 100 100 000Old_age Always - 33 (Lifetime Min/Max 13/44) 195 Hardware_ECC_Recovered 0x001a 100 100 000Old_age Always - 6 196 Reallocated_Event_Count 0x0032 100 100 000Old_age Always - 452263936 197 Current_Pending_Sector 0x0012 100 100 000Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000Old_age Offline - 0 199 UDMA_CRC_Error_Count0x003e 200 200 000Old_age Always - 0 200 Multi_Zone_Error_Rate 0x000f 100 100 060Pre-fail Always - 14943 203 Run_Out_Cancel 0x0002 100 100 000Old_age Always - 2628554981278 240 Head_Flying_Hours 0x003e 200 200 000Old_age Always - 0 SMART Error Log Version: 1 No
Re: input/output error, looks bad!
Tyler Smith [EMAIL PROTECTED] wrote: Some of your values seem very high. Though according to Google's report even 1 indicates failure to come. For comparison here are my values: Reallocated_Sector_Ct 0 ... Reallocated_Event_Count0 ... I hope you get to finish your backup. Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
smartctl usage (was Re: input/output error, looks bad!)
On 2007-03-18, Tyler Smith [EMAIL PROTECTED] wrote: On 2007-03-18, Hugo Vanwoerkom [EMAIL PROTECTED] wrote: and what this show? /usr/sbin/smartctl -a -d ata /dev/drive I decided to start with the long self test, which is running now: smartctl -t long -d ata /dev/sda Ok, I've run smartctl -t long -d ata /dev/sda test. I think the pertinent output from smartctl -a -d ata /dev/sda is: SMART Self-test log structure revision number 1 Num Test_DescriptionStatus Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offlineCompleted without error 00% 1343 - From what I've now read I take this to mean that my hard drive is operating as expected, so I can stop worrying about imminent failure. I'm not clear on the offline testing and other options for using smartd. For the /etc/smartd.conf file I take it I should use something like: /dev/hda -a -o on -S on -s (S/../.././02|L/../../6/03) -m root Am I correct in interpreting this to mean that smartctl will run appropriate tests on a weekly schedule, and if it finds any problems it will email me a warning? Is there anything else I should do to set up proper disk monitoring? -- Regards, Tyler Smit -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: input/output error, looks bad!
On 2007-03-18, Andrei Popescu [EMAIL PROTECTED] wrote: Some of your values seem very high. Though according to Google's report even 1 indicates failure to come. For comparison here are my values: Reallocated_Sector_Ct 0 ... Reallocated_Event_Count 0 ... I hope you get to finish your backup. I did, thanks! Well, the values do seem high. But from what I've read, the attributes and their raw values are vendor-dependent, and it's the normalized values that should be used: Each Attribute has a six-byte raw value (RAW_VALUE) and a one-byte normalized value (VALUE). ... The format of the raw data is vendor-specific and not specified by any standard. To track disk reliability, the disk's firmware converts the raw value to a normalized value ranging from 1 to 253. If this normalized value is less than or equal to the threshold (THRESH), the Attribute is said to have failed, as indicated in the WHEN_FAILED column. ... The names/meanings of Attributes and the interpretation of their raw values is not specified by any standard. Different manufacturers sometimes use the same Attribute ID for different purposes. http://www.linuxjournal.com/article/6983 My disk isn't in the database, so as I understand it what is reported as Reallocated_Sector_Ct could actually be something else entirely. I would be happy to be corrected. At this point, I've run the smartctl scan without errors, as well as the PC-Doctor scan from the Windows XP partition, also without error. Not that I think the PC-Doctor is better, but apparently I'd need to have documented errors with PC-Doctor to get Lenovo to replace the drive under warranty. Any further suggestions for how to assess or protect my system would be welcome. I don't know of anything else to do, so I'm going to cautiously continue, with regular backups. Tomorrow may be a good day to buy an external hard drive... -- Regards, Tyler Smit -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]