LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to convert? (https://www.linuxquestions.org/questions/linux-general-1/how-to-convert-927386/)

rammohantv 02-03-2012 06:11 AM

How to convert?
 
How to convert LBA = 0x016561e9 to 23421417?

acid_kewpie 02-03-2012 06:13 AM

what kind of conversion do you mean? The left side is hexadecimal, and the right side is decimal if you're possibly not aware of that?

http://www.statman.info/conversions/hexadecimal.html

rammohantv 02-03-2012 06:37 AM

Thx Chris,.... Below is my question for more clarity

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

acid_kewpie 02-03-2012 06:40 AM

Sorry, I don't see a question there at all... You have a disk failure... and...?

rammohantv 02-03-2012 06:45 AM

I have a disk faliure and i got the correcpted block through the smartctl. Now i want to rectify the issue..... So by googling I found this solution and i am trying it out. So i am trying this solution.

acid_kewpie 02-03-2012 06:48 AM

what solution??

rammohantv 02-03-2012 06:51 AM

I am trying out the following URL for my issue ....

http://smartmontools.sourceforge.net/badblockhowto.html


All times are GMT -5. The time now is 09:14 AM.