Results 1 to 8 of 8
  1. #1

    how to check HD withoput reboot

    how can I check a hard drive for errors in Centos 6 without rebooting? I don't want the sites to stop until the check is complete cause it will take forever..

    any help?

  2. #2
    Join Date
    Jun 2013
    Location
    Los Angeles
    Posts
    327
    Quick speed test: hdparm -tT /dev/sda
    Short drive test: smartctl -t short /dev/sda
    Long drive test: smartctl -t long /dev/sda
    Drive information: smartctl -a /dev/sda

    (Obviously replace "sda" with the name of the drive in question)

    The "drive information" command I listed may be useful enough to determine whether the drive is failing without running an actual test (if you have large number of pending sectors, etc.)

  3. #3
    -bash: smartctl: command not found

    where can I get it??

    Thanks..

  4. #4
    Join Date
    Jun 2013
    Location
    Los Angeles
    Posts
    327

  5. #5
    Thanks a million : )

    this is the output, anything to worry about?

    [[email protected] /]# smartctl -a /dev/sda
    smartctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-358.18.1.el6.x86_64] (local build)
    Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

    === START OF INFORMATION SECTION ===
    Device Model: ST2000NM0033-9ZM175
    Serial Number: Z1X0WR6C
    LU WWN Device Id: 5 000c50 064bd7c56
    Firmware Version: SN03
    User Capacity: 2,000,398,934,016 bytes [2.00 TB]
    Sector Size: 512 bytes logical/physical
    Device is: Not in smartctl database [for details use: -P showall]
    ATA Version is: 8
    ATA Standard is: ACS-2 (revision not indicated)
    Local Time is: Fri Oct 25 02:02:52 2013 CEST
    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: ( 592) 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: ( 243) minutes.
    Conveyance self-test routine
    recommended polling time: ( 2) minutes.
    SCT capabilities: (0x50bd) SCT Status supported.
    SCT Error Recovery Control 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 083 063 044 Pre-fail Always - 226270916
    3 Spin_Up_Time 0x0003 096 096 000 Pre-fail Always - 0
    4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 8
    5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
    7 Seek_Error_Rate 0x000f 069 060 030 Pre-fail Always - 9227516
    9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 66
    10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
    12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 8
    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 069 068 045 Old_age Always - 31 (Min/Max 28/32)
    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 - 5
    193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 10
    194 Temperature_Celsius 0x0022 031 040 000 Old_age Always - 31 (0 23 0 0 0)
    195 Hardware_ECC_Recovered 0x001a 065 018 000 Old_age Always - 226270916
    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

    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 Extended offline Completed without error 00% 3 -

    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.

  6. #6
    Join Date
    Jun 2013
    Location
    Los Angeles
    Posts
    327

  7. #7
    Join Date
    May 2010
    Location
    Houston
    Posts
    57
    It has no errors, and it's only 66 hours old. It's been powered on for less than 3 days.

    What makes you think there is something wrong with it?

  8. #8
    please help, is there an error?

    === START OF INFORMATION SECTION ===
    Device Model: WDC WD2503ABYX-01WERA1
    Serial Number: WD-WMAYP3390946
    Firmware Version: 01.01S02
    User Capacity: 251,059,544,064 bytes
    Device is: Not in smartctl database [for details use: -P showall]
    ATA Version is: 8
    ATA Standard is: Exact ATA specification draft version not indicated
    Local Time is: Fri Oct 25 15:50:53 2013 MSK
    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: (0x84) Offline data collection activity
    was suspended by an interrupting command from host.
    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: (3900) 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: ( 42) minutes.
    Conveyance self-test routine
    recommended polling time: ( 5) minutes.
    SCT capabilities: (0x303f) SCT Status supported.
    SCT Error Recovery Control supported.
    SCT Feature Control supported.
    SCT Data Table supported.

    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 0x002f 200 200 051 Pre-fail Always - 0
    3 Spin_Up_Time 0x0027 141 141 021 Pre-fail Always - 3925
    4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 80
    5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
    7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
    9 Power_On_Hours 0x0032 097 096 000 Old_age Always - 2852
    10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0
    11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0
    12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 78
    192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 70
    193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 9
    194 Temperature_Celsius 0x0022 107 092 000 Old_age Always - 36
    196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
    197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
    198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0
    199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
    200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age Offline - 0

    SMART Error Log Version: 1
    No Errors Logged

    SMART Self-test log structure revision number 1
    No self-tests have been logged. [To run self-tests, use: smartctl -t]


    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. Replies: 0
    Last Post: 11-12-2012, 05:12 AM
  2. Replies: 0
    Last Post: 10-02-2012, 06:49 AM
  3. Replies: 0
    Last Post: 09-25-2012, 07:14 AM
  4. Web Remote Reboot w/ AutoPing Reboot
    By page-zone in forum Dedicated Server
    Replies: 12
    Last Post: 10-02-2006, 06:54 AM
  5. Pre- Reboot check
    By Blueheaven in forum Hosting Security and Technology
    Replies: 3
    Last Post: 10-25-2004, 01:40 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
  •