The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Quick and easy question about S.M.A.R.T Errors

Discussion in 'General Discussion' started by jols, May 12, 2012.

  1. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Hi,

    We just received this from a server that was put on line at Softlayer, not more than 3 months ago:

    -----------------------------
    S.M.A.R.T Errors on /dev/sda
    From Command: /usr/sbin/smartctl -q errorsonly -H -l selftest -l error /dev/sda
    ATA Error Count: 1
    Error 1 occurred at disk power-on lifetime: 20110 hours (837 days + 22 hours)
    ----END /dev/sda--
    -----------------------------

    Regarding this part, "disk power-on lifetime: 20110 hours (837 days + 22 hours)"

    Does this mean that the data center is leasing us a box with a hard drive that is nearly 3 years old?

    If so, is there a quick command we can use on our other servers to check the age of the hard drive?

    Thanks very much.
     
  2. PenguinInternet

    PenguinInternet Well-Known Member
    PartnerNOC

    Joined:
    Jun 20, 2007
    Messages:
    149
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cardiff, UK
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    You can use smartctl for this on other drives and get the info you require with smartctl -A /dev/sda (where sda is the drive you wish to interrogate). I would look at ensuring you have backups of your current server and make arrangements for a drive replacement. To be fair, this can happen with new drives as well as old - we've seen this on brand new servers before.
     
  3. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Okay, thanks for the reply.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Same here. Not liking my options at all either.
     
  5. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    387
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Hello,

    A quick way to check, for how many hours the hard drive is spinning is by looking at check power_on_hours attribute!

    #smartctl --all /dev/sda | grep -i power_on_hours
    9 Power_On_Hours 0x0032 096 096 000 Old_age Always - 3424

    Here the HDD is online for 3424 hours!

    If you are using 3ware raid, the command should be
    #smartctl --all -d 3ware,N /dev/twaN | grep -i power_on_hours

    where "N" is what representing the "port number" of the drive ( use the command "tw_cli /c0 show" to see the port number of the particualar drive ).

    Thank you,
    Nibin.
     
Loading...

Share This Page