Find the answer to your Linux question:
Results 1 to 3 of 3
In this example, the disk is failing self-tests at Logical Block Address LBA = 0x016561e9 = 23421417. The LBA counts sectors in units of 512 bytes, and starts at zero. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2012
    Posts
    1

    Cool How to convert?


    In this example, the disk is failing self-tests at Logical Block Address LBA = 0x016561e9 = 23421417. The LBA counts sectors in units of 512 bytes, and starts at zero.


    root]# smartctl -l selftest /dev/hda:

    SMART Self-test log structure revision number 1
    Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
    # 1 Extended offline Completed: read failure 90% 217 0x016561e9


    Could some one please explain how to convert 0x016561e9 = 23421417 ?

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,382
    0x016561e9 is hexadecimal, 23421417 is decimal.
    Conversion between those bases is part of any beginner computer science course
    and/or a google search away.
    You must always face the curtain with a bow.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,527
    S.M.A.R.T will happily remap bad sectors when written to. If a bad sector cannot be read after multiple attempts, then you need to run fsck with the -c option to check for bad blocks, and map them out of use. You may lose some data, but the system will be kept intact. I use SMART regularly to monitor my system drives. It has enabled me to backup/replace failing drives on more than one occasion, including recently when a drive failure would have seriously compromised my system.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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