On Wed, Mar 3, 2010 at 11:30 AM, L <yuanlux@xxxxxxxxx> wrote: > On Wed, Mar 3, 2010 at 11:08 AM, Bruno Wolff III <bruno@xxxxxxxx> wrote: >> On Wed, Mar 03, 2010 at 11:02:41 +1100, >> L <yuanlux@xxxxxxxxx> wrote: >>> Hi >>> >>> The hard disk on a laptop shows failing error "Disk had many bad >>> sectors' it suggests 'backup data and replace disk. Of course, this >>> test information was generated by Palimpsest Disk Utility on F12. >>> However, when I used self-test utility from BIOS (HP 6710), it passed >>> all tests. >>> >>> >>> Which result is reliable, one from Palimpsest Dish Utility or BIOS >>> self-test utiltity? >>> >>> if this disk is failing, how can I check what section or partition >>> where errors reside? >> >> You probably want to use smartmontools to get a more detailed status of >> the drive. If there are sectors that need to be reallocated, you can >> find them one at a time using the long self test. The hard part is figuring >> out what file the block is in. If you are running raid 1, you can copy >> over the block from the other drive. Otherwise things depend on the file >> systems and block devices involved. >> > > Thanks, I looked at a tutorial at > > http://smartmontools.sourceforge.net/badblockhowto.html > > question is related to this statement > > 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. > > How to convert LBA = 0x016561e9 to 23421417? > > > I got a hint as perl command printf "%d\\n\\n", 0x016561e9; > > -- > http://etvillage.blogspot.com/ > -- http://etvillage.blogspot.com/ -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines