Guolin Cheng
2004-Nov-03 22:00 UTC
Help! how to infer failed fileName|inode from LBA sector for ext3 on Fedora Linux??
Hi, I have an ext3 file system question for a while: How to obtain failed file (inode) from LBA section reported by Linux kernel? The following lines are a simple example: ... FCbox1: Nov 1 04:08:59 FCbox1 kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } FCbox1: Nov 1 04:08:59 FCbox1 kernel: hda: dma_intr: error=0x40 { UncorrectableError }, LBAsect=165843413, high=9, low=14848469, sector=129761360 ... I'd like to know the tools|commands(&subcommands) used to do the translation below, any help are greatly appreciated. LBA section == ?? => logical sector in partition == ?? => block == ?? => inode in ext3 fileSystem == find|ls => filename. Thanks a lot. --Guolin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/ext3-users/attachments/20041103/e920e37b/attachment.htm>
Alexander Apprich
2004-Nov-04 14:40 UTC
Help! how to infer failed fileName|inode from LBA sector for ext3 on Fedora Linux??
Guolin, Guolin Cheng wrote:> Hi, > > I have an ext3 file system question for a while: How to obtain failed > file (inode) from LBA section reported by Linux kernel? The following > lines are a simple example: > > ... > FCbox1: Nov 1 04:08:59 FCbox1 kernel: hda: dma_intr: status=0x51 { > DriveReady SeekComplete Error } > FCbox1: Nov 1 04:08:59 FCbox1 kernel: hda: dma_intr: error=0x40 { > UncorrectableError }, LBAsect=165843413, high=9, > low=14848469, sector=129761360 > ... >I could be wrong, but to me it seems your harddisk is dying :-(> I'd like to know the tools|commands(&subcommands) used to do the > translation below, any help are greatly appreciated. > > LBA section == ?? => logical sector in partition == ?? => block == ?? => > inode in ext3 fileSystem == find|ls => filename.Can't be much of a help w/this, but maybe smartmontools will tell you more http://smartmontools.sourceforge.net/> > Thanks a lot. > > --Guolin >Alex
Guolin Cheng
2004-Nov-04 21:48 UTC
Help! how to infer failed fileName|inode from LBA sector for ext3 on Fedora Linux??
Alexander, Thanks for your reply. You are right, my hard disk is dying, although it is only 3 years old. Your suggestions in former email helps me a lot. In fact, The page at http://smartmontools.sourceforge.net/BadBlockHowTo.txt answers exactly my question. Thanks. --Guolin -----Original Message----- From: ext3-users-bounces at redhat.com [mailto:ext3-users-bounces at redhat.com] On Behalf Of Alexander Apprich Sent: Thursday, November 04, 2004 6:40 AM To: For users of Fedora Core releases Cc: ext3-users at redhat.com Subject: Re: Help! how to infer failed fileName|inode from LBA sector for ext3 on Fedora Linux?? Guolin, Guolin Cheng wrote:> Hi, > > I have an ext3 file system question for a while: How to obtain failed > file (inode) from LBA section reported by Linux kernel? The following > lines are a simple example: > > ... > FCbox1: Nov 1 04:08:59 FCbox1 kernel: hda: dma_intr:status=0x51 {> DriveReady SeekComplete Error } > FCbox1: Nov 1 04:08:59 FCbox1 kernel: hda: dma_intr: error=0x40{> UncorrectableError }, LBAsect=165843413, high=9, > low=14848469, sector=129761360 > ... >I could be wrong, but to me it seems your harddisk is dying :-(> I'd like to know the tools|commands(&subcommands) used to do the > translation below, any help are greatly appreciated. > > LBA section == ?? => logical sector in partition == ?? => block == ??=>> inode in ext3 fileSystem == find|ls => filename.Can't be much of a help w/this, but maybe smartmontools will tell you more http://smartmontools.sourceforge.net/> > Thanks a lot. > > --Guolin >Alex _______________________________________________ Ext3-users mailing list Ext3-users at redhat.com https://www.redhat.com/mailman/listinfo/ext3-users