Skip to contentSkip to conversation

reiaserfsck core dumps

DISCUSSION B. J. Zolp 2 participants 6 messages Jan 11, 2004 – Jan 12, 2004

lore
Share & tools
lore

B. J. Zolp

author
#0 lore raw

I have a LVM partition that I cannot seem to mount anymore. Mount tells me the standard "Too many mounted files systems.... " message. So I decided to run reiserfsck on it, well when i do that it soon crashes with this output:

[root@orion root]# reiserfsck /dev/vg0/logical0
reiserfsck, 2002 - reiserfsprogs 3.6.3Will read-only check consistency of the filesystem on /dev/vg0/logical0 Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes):Yes
###########
reiserfsck --check started at Sun Jan 11 15:19:58 2004
###########

bread: Cannot read a block # 119472128.

Aborted (core dumped)

Now, I am pretty sure the LVM is intact, all the drives are added correctly and all that is ok. I ran badblocks on the partition and it gave me a list of about ~1000 badblocks. Is there a way I can use this list of blocks to my advantage to recover this partition, I would like to get data from it.

Thanks

author
#1 lore raw

Re: reiserfsck core dumps

BTW, this is on a Mandrake 9.0 machine using the stock reiserfsck 3.6.3 version.

Quoted 26 lines · B. J. Zolp

I have a LVM partition that I cannot seem to mount anymore. Mount tells me the standard "Too many mounted files systems.... " message. So I decided to run reiserfsck on it, well when i do that it soon crashes with this output:

[root@orion root]# reiserfsck /dev/vg0/logical0
reiserfsck, 2002 - reiserfsprogs 3.6.3Will read-only check consistency of the filesystem on /dev/vg0/logical0 Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes):Yes
###########
reiserfsck --check started at Sun Jan 11 15:19:58 2004
###########

bread: Cannot read a block # 119472128.

Aborted (core dumped)

Now, I am pretty sure the LVM is intact, all the drives are added correctly and all that is ok. I ran badblocks on the partition and it gave me a list of about ~1000 badblocks. Is there a way I can use this list of blocks to my advantage to recover this partition, I would like to get data from it.

Thanks

#2 lore raw
In reply to B. J. Zolp
Quoted 7 lines · B. J. Zolp

I have a LVM partition that I cannot seem to mount anymore. Mount tells me the standard "Too many mounted files systems.... " message. So I decided to run reiserfsck on it, well when i do that it soon crashes with this output:

[root@orion root]# reiserfsck /dev/vg0/logical0
reiserfsck, 2002 - reiserfsprogs 3.6.3

Please update the version of reiserfsprogs.

Quoted 10 lines

Will read-only check consistency
of the filesystem on /dev/vg0/logical0
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes):Yes
###########
reiserfsck --check started at Sun Jan 11 15:19:58 2004
###########

bread: Cannot read a block # 119472128.

Do you see anything related in the syslog? Looks like a bad block or an access beyond end of device.

Quoted 12 lines

Aborted (core dumped)

Now, I am pretty sure the LVM is intact, all the drives are added correctly and all that is ok. I ran badblocks on the partition and it gave me a list of about ~1000 badblocks. Is there a way I can use this list of blocks to my advantage to recover this partition, I would like to get data from it.

Thanks

Signature · 2 lines
Thanks,
Vitaly Fertman
author
#3 lore raw
Quoted 8 lines · Vitaly Fertman
Quoted 5 lines · B. J. Zolp

I have a LVM partition that I cannot seem to mount anymore. Mount tells me the standard "Too many mounted files systems.... " message. So I decided to run reiserfsck on it, well when i do that it soon crashes with this output:

Quoted 8 lines
Quoted 4 lines

[root@orion root]# reiserfsck /dev/vg0/logical0
reiserfsck, 2002 - reiserfsprogs 3.6.3

Please update the version of reiserfsprogs.

Ok, I am runninf 3.6.11 now. Still getting the same crash though, but new info:

The problem has occurred looks like a hardware problem. If you have bad blocks, we advise you to get a new hard drive, because once you get one bad block that the disk drive internals cannot hide from your sight, the chances of getting more are generally said to become much higher (precise statistics are unknown to us), and this disk drive is probably not expensive enough for you to risk your time and data on it. If you don't want to follow that advice, then if you have just a few bad blocks, try writing to the bad blocks and see if the drive remaps the bad blocks (that means it takes a block it has in reserve and allocates it for use for requests of that block number). If it cannot remap the block, this could be quite bad, as it may mean that so many blocks have gone bad that none remain in reserve to allocate.

bread: Cannot read the block (119472128): (Input/output error).

Aborted (core dumped)

Quoted 11 lines
Quoted 11 lines

Will read-only check consistency
of the filesystem on /dev/vg0/logical0
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes):Yes
###########
reiserfsck --check started at Sun Jan 11 15:19:58 2004
###########

Quoted 8 lines
Quoted 3 lines

bread: Cannot read a block # 119472128.

Do you see anything related in the syslog? Looks like a bad block or an access beyond end of device.

Syslog is giving me:

Jan 12 11:07:45 orion kernel: hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Jan 12 11:07:45 orion kernel: hdb: dma_intr: error=0x40 { UncorrectableError }, LBAsect=10158456, high=0, low=10158456, sector=10158456
Jan 12 11:07:45 orion kernel: end_request: I/O error, dev 03:40 (hdb), sector 10158456

I did smartctl -a /dev/hdb and found this in the output:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE WHEN_FAILED RAW_VALUE

5 Reallocated_Sector_Ct 0x0033 008 001 063 Pre-fail FAILING_NOW 616

If I was to dd this drive to a new one would reiserfsck be more cooperative? The odd thing is that my /dev/hda gave me a the same error a few weeks back and used dd to copy it to a new drive and things worked ok again. I find it odd that two drives would have this error within such a short length of time.

Well thanks for your help

Quoted 19 lines
Quoted 16 lines

Aborted (core dumped)

Now, I am pretty sure the LVM is intact, all the drives are added correctly and all that is ok. I ran badblocks on the partition and it gave me a list of about ~1000 badblocks. Is there a way I can use this list of blocks to my advantage to recover this partition, I would like to get data from it.

Thanks

#4 lore raw
Quoted 7 lines
Jan 12 11:07:45 orion kernel: hdb: dma_intr: status=0x51 { DriveReady
SeekComplete Error }
Jan 12 11:07:45 orion kernel: hdb: dma_intr: error=0x40 {
UncorrectableError }, LBAsect=10158456, high=0, low=10158456,
sector=10158456
Jan 12 11:07:45 orion kernel: end_request: I/O error, dev 03:40 (hdb),

sector 10158456

So your harddrive has bad blocks, have a look at
http://www.namesys.com/bad-block-handling.html
to get the info how to handle them.
If you need our further assistance visit please our support page in terms of which we deal with hardware problems:
http://www.namesys.com/support.html

Signature · 2 lines
Thanks,
Vitaly Fertman
author
#5 lore raw

The site suggests doing this:

reiserfsck --badblocks file device

but as far as I can tell "--badblocks" is no longer supported.

Quoted 17 lines · Vitaly Fertman
Quoted 9 lines
Jan 12 11:07:45 orion kernel: hdb: dma_intr: status=0x51 { DriveReady
SeekComplete Error }
Jan 12 11:07:45 orion kernel: hdb: dma_intr: error=0x40 {
UncorrectableError }, LBAsect=10158456, high=0, low=10158456,
sector=10158456
Jan 12 11:07:45 orion kernel: end_request: I/O error, dev 03:40 (hdb),

sector 10158456

So your harddrive has bad blocks, have a look at
http://www.namesys.com/bad-block-handling.html
to get the info how to handle them. If you need our further assistance visit please our support page in terms of which we deal with hardware problems:
http://www.namesys.com/support.html