Results 1 to 14 of 14
  1. #1
    Join Date
    Apr 2009
    Posts
    1,321

    Question Input/output error

    2 of my hard drives are giving this error when I run ls -l

    dmesg below:
    Code:
    end request: I/O error, dev sdc, sector 238778175
    sd 1:0:0:0: [sdc] Unhandled error code
    sd 1:0:0:0: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    sd 1:0:0:0: CDB: Read(10): 28 00 8e 24 d3 bf 00 00 08 00
    Is my hard drive dead?

  2. #2
    Join Date
    Apr 2010
    Location
    Lansing, MI
    Posts
    422
    Quote Originally Posted by chasebug View Post
    2 of my hard drives are giving this error when I run ls -l

    dmesg below:
    Code:
    end request: I/O error, dev sdc, sector 238778175
    sd 1:0:0:0: [sdc] Unhandled error code
    sd 1:0:0:0: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    sd 1:0:0:0: CDB: Read(10): 28 00 8e 24 d3 bf 00 00 08 00
    Is my hard drive dead?
    It is very likely, with an error like that. It's possible that it's only your file system, though. If you can, I would recommend backing up anything that you don't already have backups for on that drive, getting another server rebuilding (assuming anything serving off of it is still serving) and reboot that one for a file system check.
    Benny Crampton
    Liquid Web - Dedicated Hosting with Heroic Support
    StormOnDemand - Flexible Cloud Hosting Infrastructure
    1-800-580-4985 | Twitter: @liquidweb | @StormOnDemand

  3. #3
    Join Date
    Apr 2009
    Posts
    1,321
    I rebooted it half an hour ago, still hasn't come back up yet.

    /home (OK)
    /home2 (OK)
    /home3 (I/O error)
    /home4 (I/O error)

    I don't have any backups of the drive. If I run df -h I can see the drives there using about 80% of the space.

  4. #4
    Join Date
    Apr 2010
    Location
    Lansing, MI
    Posts
    422
    Quote Originally Posted by chasebug View Post
    I rebooted it half an hour ago, still hasn't come back up yet.

    /home (OK)
    /home2 (OK)
    /home3 (I/O error)
    /home4 (I/O error)

    I don't have any backups of the drive. If I run df -h I can see the drives there using about 80% of the space.
    Yeah, I believe that your server has probably failed it's auto check, and that you will need to manually check it, but that your drives are probably hosed.
    Benny Crampton
    Liquid Web - Dedicated Hosting with Heroic Support
    StormOnDemand - Flexible Cloud Hosting Infrastructure
    1-800-580-4985 | Twitter: @liquidweb | @StormOnDemand

  5. #5
    Join Date
    May 2004
    Location
    /bin/sh
    Posts
    815
    Quote Originally Posted by LiquidWebBenny View Post
    Yeah, I believe that your server has probably failed it's auto check, and that you will need to manually check it, but that your drives are probably hosed.
    You can have your datacenter guys run the manual fsck for you. Also they can use dd_rescue to try and copy that drive over to a new drive. Sometimes even motherboard failures can show those errors.

  6. #6
    Join Date
    Mar 2003
    Location
    Baltimore MD
    Posts
    59
    i would be trying to backup my data test the physical drives also

  7. #7
    Join Date
    Apr 2009
    Posts
    1,321
    The server has come back online now and I can access /home3 and /home4

    What should I do right now?

    Move the data?

  8. #8
    Join Date
    May 2006
    Location
    NJ, USA
    Posts
    6,645
    back it up
    AS395558

  9. #9
    Join Date
    Jan 2004
    Location
    Greece
    Posts
    2,211
    Did you check the disks using smarttools ?

  10. #10
    Join Date
    Mar 2003
    Location
    Baltimore MD
    Posts
    59
    The disks should be tested Promptly after you do a backup ... if you are not running a raided setup and your data is crucial you should always do backups of everything you need .

  11. #11
    Join Date
    Dec 2005
    Location
    The Netherlands
    Posts
    107
    I think your disks are nead-dead status.
    You could check the disks with smartctl tools to see if your disks have many internal errors. If that's the case, be sure your provider replaces your disk(s) fast.

    My most urgent advice: make backups immediately!

  12. #12
    Join Date
    Apr 2009
    Posts
    1,321
    OK I am starting to move the files now.

  13. #13
    Join Date
    Apr 2008
    Location
    Austin, TX
    Posts
    202
    Quote Originally Posted by chasebug View Post
    OK I am starting to move the files now.
    Smartctl will give you the best idea of the status of each drive.

    Try this, after installing the package "smartmontools"


    smartctl -A -d ata /dev/sda


    Where "ata" is used if it is not a scsi drive or raid member, and "sda" is changed to reflect whatever the actual drive assignment is.

  14. #14
    Join Date
    Apr 2009
    Posts
    1,321
    There's just too many files to move. I've ran smartctl on both drives, does not appear to have any errors, so what should I do?
    Code:
    smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
    Home page is http://smartmontools.sourceforge.net/
    
    === START OF INFORMATION SECTION ===
    Device Model:     ST31500341AS
    Serial Number:    9VS122NB
    Firmware Version: CC1H
    User Capacity:    1,500,301,910,016 bytes
    Device is:        Not in smartctl database [for details use: -P showall]
    ATA Version is:   8
    ATA Standard is:  ATA-8-ACS revision 4
    Local Time is:    Mon Jan 17 20:32:48 2011 CET
    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
    See vendor-specific Attribute list for marginal Attributes.
    
    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:                 ( 617) seconds.
    Offline data collection
    capabilities:                    (0x7b) SMART execute Offline immediate.
                                            Auto Offline data collection on/off supp                                                                              ort.
                                            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:        (   1) minutes.
    Extended self-test routine
    recommended polling time:        ( 255) minutes.
    Conveyance self-test routine
    recommended polling time:        (   2) minutes.
    SCT capabilities:              (0x103f) SCT Status supported.
                                            SCT Feature Control supported.
                                            SCT Data Table supported.
    
    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   117   099   006    Pre-fail  Always       -                                                                                     136635876
      3 Spin_Up_Time            0x0003   100   100   000    Pre-fail  Always       -                                                                                     0
      4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -                                                                                     55
      5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -                                                                                     36
      7 Seek_Error_Rate         0x000f   085   060   030    Pre-fail  Always       -                                                                                     390045810
      9 Power_On_Hours          0x0032   082   082   000    Old_age   Always       -                                                                                     16148
     10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -                                                                                     0
     12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -                                                                                     55
    184 Unknown_Attribute       0x0032   100   100   099    Old_age   Always       -                                                                                     0
    187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -                                                                                     0
    188 Unknown_Attribute       0x0032   099   094   000    Old_age   Always       -                                                                                     3423141430049
    189 High_Fly_Writes         0x003a   001   001   000    Old_age   Always       -                                                                                     125
    190 Airflow_Temperature_Cel 0x0022   051   038   045    Old_age   Always   In_th                                                                              e_past 49 (5 159 56 45)
    194 Temperature_Celsius     0x0022   049   062   000    Old_age   Always       -                                                                                     49 (0 14 0 0)
    195 Hardware_ECC_Recovered  0x001a   050   024   000    Old_age   Always       -                                                                                     136635876
    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      -                                                                                     4058744110868
    241 Unknown_Attribute       0x0000   100   253   000    Old_age   Offline      -                                                                                     1258012464
    242 Unknown_Attribute       0x0000   100   253   000    Old_age   Offline      -                                                                                     1650638232
    
    SMART Error Log Version: 1
    No Errors Logged
    
    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%     12484         -
    
    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.
    Code:
    smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
    Home page is http://smartmontools.sourceforge.net/
    
    === START OF INFORMATION SECTION ===
    Device Model:     ST31500341AS
    Serial Number:    9VS11BQ3
    Firmware Version: CC1H
    User Capacity:    1,500,301,910,016 bytes
    Device is:        Not in smartctl database [for details use: -P showall]
    ATA Version is:   8
    ATA Standard is:  ATA-8-ACS revision 4
    Local Time is:    Mon Jan 17 20:34:42 2011 CET
    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
    See vendor-specific Attribute list for marginal Attributes.
    
    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:                 ( 617) 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:        (   1) minutes.
    Extended self-test routine
    recommended polling time:        ( 255) minutes.
    Conveyance self-test routine
    recommended polling time:        (   2) minutes.
    SCT capabilities:              (0x103f) SCT Status supported.
                                            SCT Feature Control supported.
                                            SCT Data Table supported.
    
    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   115   099   006    Pre-fail  Always       -       99639756
      3 Spin_Up_Time            0x0003   100   100   000    Pre-fail  Always       -       0
      4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       53
      5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always       -       4
      7 Seek_Error_Rate         0x000f   085   060   030    Pre-fail  Always       -       364416259
      9 Power_On_Hours          0x0032   082   082   000    Old_age   Always       -       16149
     10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
     12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       53
    184 Unknown_Attribute       0x0032   100   100   099    Old_age   Always       -       0
    187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
    188 Unknown_Attribute       0x0032   100   100   000    Old_age   Always       -       0
    189 High_Fly_Writes         0x003a   091   091   000    Old_age   Always       -       9
    190 Airflow_Temperature_Cel 0x0022   055   040   045    Old_age   Always   In_the_past 45 (0 148 51 43)
    194 Temperature_Celsius     0x0022   045   060   000    Old_age   Always       -       45 (0 14 0 0)
    195 Hardware_ECC_Recovered  0x001a   050   020   000    Old_age   Always       -       99639756
    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      -       209358180859668
    241 Unknown_Attribute       0x0000   100   253   000    Old_age   Offline      -       806589196
    242 Unknown_Attribute       0x0000   100   253   000    Old_age   Offline      -       3348606463
    
    SMART Error Log Version: 1
    No Errors Logged
    
    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%     12484         -
    
    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.

Similar Threads

  1. host pop3d: authentication error: Input/output error
    By Zaggs in forum Hosting Security and Technology
    Replies: 2
    Last Post: 08-28-2008, 03:10 AM
  2. input/output error
    By Lem0nHead in forum Hosting Security and Technology
    Replies: 3
    Last Post: 03-09-2008, 04:59 PM
  3. Help - Input/Output error
    By blueface in forum Dedicated Server
    Replies: 3
    Last Post: 04-14-2005, 01:58 AM
  4. Input/output error
    By xp101 in forum Hosting Security and Technology
    Replies: 7
    Last Post: 03-07-2004, 11:29 PM
  5. Input/output error
    By Eiv in forum Hosting Security and Technology
    Replies: 2
    Last Post: 06-12-2003, 12:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •