Guolin Cheng | 3 Nov 2004 23:00
Favicon

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

...

Id 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

--

-- 
fedora-list mailing list
fedora-list <at> redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
Alexander Apprich | 4 Nov 2004 15:40
Picon

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

--

-- 
fedora-list mailing list
fedora-list <at> redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

Guolin Cheng | 4 Nov 2004 22:48
Favicon

RE: 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

--

-- 
fedora-list mailing list
fedora-list <at> redhat.com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

Chun H. Ng | 6 Nov 2004 00:01
Picon
Favicon

Urgent question

Hi,
 
Recently I have started seeing a file system corruption problem. A specific partition (ext3) is corrupted intermittenly and I suspect the problem is the root inode is lost after system reboot.
 
Have anyone seen similar problems and can give me some pointers where to look for suggestions/solutions?
 
Thanks,
Chun
_______________________________________________
Ext3-users mailing list
Ext3-users <at> redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
Jacques Duplessis | 12 Nov 2004 13:22
Picon

Enlarge ext3 Logical Volume (Filesystem) in a volume group (LVM)

Anybody know a way to enlarge a filesystem ext3 without having to unmounted it, when they are still space left in the volume group (when using LVM) ?
 
I will be running large production linux system running Oracle.
I can't stop the database everytime I have to enlarge a filesystem.
 
We can do it with all others filesystems (JFS, REISERSFS and XFS) when they are created in a volume group. Why can't we do it with ext3 ?
 
 
I cannot believe nobody ask for it !
Somebody must have a tools (they used to be ext2online) any other ?
How all others folks are dealing with this kind of problem ?
 
_______________________________________________
Ext3-users mailing list
Ext3-users <at> redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
Per Andreas Buer | 18 Nov 2004 19:28
Picon

Re: Enlarge ext3 Logical Volume (Filesystem) in a volume group (LVM)

Jacques Duplessis <jacques.duplessis <at> videotron.ca> writes:

> Anybody know a way to enlarge a filesystem ext3 without having to
> unmounted it, when they are still space left in the volume group (when
> using LVM) ?
>
> I will be running large production linux system running Oracle. 
> I can't stop the database everytime I have to enlarge a filesystem.

Ext3 cannot do this (yet). But why don't you just create a new volume
and then let Oracle utilize this?

--

-- 
Per Andreas Buer
Pluton Jacques | 19 Nov 2004 02:00
Picon

RE: Enlarge ext3 Logical Volume (Filesystem) in a volume group (LVM)

We have 4 environment on our Dev. Server (Acceptance, Test, Volume,
Development). 
Each of them have 3 filesystems (/Acc/DBF, /Acc/ARChive, /Acc/App).
We need top have them separated so we control the space allocated and used
by our DBA and Developper.
We try to stick with the structure that we all have on all our 30 servers.
It is easier to maintain.
Only size of filesystems vary from system to system not a new name each time
we need more space.
Some scripts and some applications required to be on 1 filesystem only.
If you backup image of your server onto 1 main server, the same script is
used on all servers.
So the image is store on 1 filesystem, it would complicate things to have
let say 10 servers image in one filesystem and  12 in another.... 
One mount point that can grow make this sysadmin life easier and earlier at
home

-----Original Message-----
From: Per Andreas Buer [mailto:perbu <at> linpro.no] 
Sent: Thursday, November 18, 2004 1:29 PM
To: Jacques Duplessis
Cc: ext3-users <at> redhat.com
Subject: Re: Enlarge ext3 Logical Volume (Filesystem) in a volume group
(LVM)

Jacques Duplessis <jacques.duplessis <at> videotron.ca> writes:

> Anybody know a way to enlarge a filesystem ext3 without having to 
> unmounted it, when they are still space left in the volume group (when 
> using LVM) ?
>
> I will be running large production linux system running Oracle. 
> I can't stop the database everytime I have to enlarge a filesystem.

Ext3 cannot do this (yet). But why don't you just create a new volume and
then let Oracle utilize this?

--
Per Andreas Buer
Andreas Dilger | 19 Nov 2004 06:23

Re: Enlarge ext3 Logical Volume (Filesystem) in a volume group (LVM)

Jacques Duplessis <jacques.duplessis <at> videotron.ca> writes:
> Anybody know a way to enlarge a filesystem ext3 without having to
> unmounted it, when they are still space left in the volume group (when
> using LVM) ?
>
> I will be running large production linux system running Oracle. 
> I can't stop the database everytime I have to enlarge a filesystem.

I think the ext3 online resizing patches are now in the 2.6-mm kernel
tree (thanks to Stephen Tweedie) and new patches/tools are available
for download at http://sourceforge.net/projects/ext2resize/

Cheers, Andreas
--
Andreas Dilger
http://members.shaw.ca/adilger/             http://members.shaw.ca/golinux/
Pluton Jacques | 20 Nov 2004 03:52
Picon

RE: Enlarge ext3 Logical Volume (Filesystem) in a volume group (LVM)

Great News . At Last !
Hopefully they will include it in the Enterprise Server
Thank you !

-----Original Message-----
From: Andreas Dilger [mailto:adilger <at> clusterfs.com] 
Sent: Friday, November 19, 2004 12:23 AM
To: Per Andreas Buer
Cc: Jacques Duplessis; ext3-users <at> redhat.com
Subject: Re: Enlarge ext3 Logical Volume (Filesystem) in a volume group
(LVM)

Jacques Duplessis <jacques.duplessis <at> videotron.ca> writes:
> Anybody know a way to enlarge a filesystem ext3 without having to 
> unmounted it, when they are still space left in the volume group (when 
> using LVM) ?
>
> I will be running large production linux system running Oracle. 
> I can't stop the database everytime I have to enlarge a filesystem.

I think the ext3 online resizing patches are now in the 2.6-mm kernel tree
(thanks to Stephen Tweedie) and new patches/tools are available for download
at http://sourceforge.net/projects/ext2resize/

Cheers, Andreas
--
Andreas Dilger
http://members.shaw.ca/adilger/             http://members.shaw.ca/golinux/
Jeff Dinisco | 23 Nov 2004 03:05

files missing

I have a 1 TB ext3 filesystem mounted via iscsi on a redhat 9 system w/ kernel version - 2.4.20-30.9.  I'm not sure when it happened, but today there appears to be about 7,000 files (600GB) missing.  The output from df implies that the files are still there.  It shows 861 GB utilized.  But du shows only 300 GB of data.  I'm sure that there are no processes holding onto deleted files because I have unmounted/mounted the filesystem several times, synced, etc.  Here's an excerpt from e2fsck -nf /dev/sdf ...
 
e2fsck 1.32 (09-Nov-2002)
Pass 1: Checking inodes, blocks, and sizes
Inode 674 has illegal block(s).  Clear? no
 
Illegal block #32780 (2552928151) in inode 674.  IGNORED.
Illegal block #32781 (443979519) in inode 674.  IGNORED.
Illegal block #32782 (2730682564) in inode 674.  IGNORED.
Illegal block #32783 (1341333000) in inode 674.  IGNORED.
Illegal block #32784 (864228082) in inode 674.  IGNORED.
Illegal block #32785 (1637408843) in inode 674.  IGNORED.
Illegal block #32786 (2702337062) in inode 674.  IGNORED.
Illegal block #32787 (399755839) in inode 674.  IGNORED.
Illegal block #32788 (2350927161) in inode 674.  IGNORED.
Illegal block #32789 (972130738) in inode 674.  IGNORED.
Illegal block #32790 (726004907) in inode 674.  IGNORED.
Too many illegal blocks in inode 674.
Clear inode? no
 
[ This message basically repeats itself and eventually e2fsck errors out with... ]
 
Error while iterating over blocks in inode 675: Illegal indirect block found
e2fsck: aborted
 
/dev/sdf: ********** WARNING: Filesystem still has errors **********
 
Things look pretty grim right now.  As soon as I run e2fsck -p, these inodes will be deleted and I will lose data, correct?  I suspect the cause of this issue was multiple hosts mounting this filesystem r/w.  Does anyone know of any method that could be used to recover this data?  Any help would be greatly appreciated.
 
 - Jeff
_______________________________________________
Ext3-users mailing list
Ext3-users <at> redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users

Gmane