Skip to contentSkip to conversation

problem with reiser3

DISCUSSION Marcos Dione 3 participants 8 messages Aug 21, 2006 – Aug 22, 2006

lore
Share & tools
lore
#0 lore raw

hi all. I'm having problems checking a reiser3 filesystem.
reiserfsck says:

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

I passed badblocks over the partition and found 61 bad sectors
(which I know is bad), then run reiserfsck -B with the bad blocks file and got the same, but also this:

create_badblock_bitmap: block number (111550463) points out of fs size (39072080).

any hints?

#1 lore raw
Quoted 5 lines · Marcos Dione

hi all. I'm having problems checking a reiser3 filesystem.
reiserfsck says:

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

Quoted 7 lines

I passed badblocks over the partition and found 61 bad sectors
(which I know is bad), then run reiserfsck -B with the bad blocks file and got the same, but also this:

create_badblock_bitmap: block number (111550463) points out of fs size (39072080).

any hints?

forgot to mention: I tried to resize the fs to the partition size
and got this:

$ sudo resize_reiserfs /dev/sda1
resize_reiserfs 3.6.19 (2003 www.namesys.com)

/dev/sda1 already is of the needed size. Nothing to be done

#2 lore raw
In reply to Marcos Dione
Quoted 7 lines · Marcos Dione

hi all. I'm having problems checking a reiser3 filesystem.
reiserfsck says:

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

I passed badblocks over the partition and found 61 bad sectors
(which I know is bad),

did you specify reiserfs block size (via option -b) when creating a list of bad blocks?

then run reiserfsck -B with the bad blocks file

Quoted 6 lines

and got the same, but also this:

create_badblock_bitmap: block number (111550463) points out of fs size (39072080).

any hints?

it would be better to create a backup on a spare bigger partition using dd_rescue (pad not recoverable zones with zeroes), then run fsck on the created image.

#3 lore raw
Quoted 4 lines · Edward Shishkin
Quoted 3 lines · Marcos Dione

hi all. I'm having problems checking a reiser3 filesystem.
reiserfsck says:

Quoted 8 lines
Quoted 4 lines

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

I passed badblocks over the partition and found 61 bad sectors
(which I know is bad),

did you specify reiserfs block size (via option -b) when creating a list of bad blocks?

dunno which is the block size. tried to figure it out, but (from
dmesg trying to mount the partition):

ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30

and:

$ sudo reiserfstune /dev/sda1
reiserfstune: Filesystem looks not cleanly umounted, check the consistency first.

I assume it's the 8192 the kernel reports...

Quoted 3 lines

it would be better to create a backup on a spare bigger partition using dd_rescue (pad not recoverable zones with zeroes), then run fsck on the created image.

unluckly I can't. it's a 160 GiB partition and I don't have spare
space.

#4 lore raw
Quoted 6 lines · Marcos Dione
Quoted 3 lines

it would be better to create a backup on a spare bigger partition using dd_rescue (pad not recoverable zones with zeroes), then run fsck on the created image.

unluckly I can't. it's a 160 GiB partition and I don't have spare
space.

How much spare space do you have? You may be able to do some tricks with dm_snapshot...

#5 lore raw
Quoted 9 lines · David Masover
Quoted 6 lines
Quoted 3 lines

it would be better to create a backup on a spare bigger partition using dd_rescue (pad not recoverable zones with zeroes), then run fsck on the created image.

unluckly I can't. it's a 160 GiB partition and I don't have spare
space.

How much spare space do you have? You may be able to do some tricks with dm_snapshot...

right now, I have 45 MiB of space in my spare disk. I *could*
(should?) make more space, but can't guarrantee anythung.

#7 lore raw
In reply to Marcos Dione
Quoted 13 lines · Marcos Dione
Quoted 11 lines · Edward Shishkin
Quoted 7 lines · Marcos Dione

hi all. I'm having problems checking a reiser3 filesystem.
reiserfsck says:

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

I passed badblocks over the partition and found 61 bad sectors
(which I know is bad),

Quoted 7 lines
Quoted 2 lines

did you specify reiserfs block size (via option -b) when creating a list of bad blocks?

dunno which is the block size. tried to figure it out, but (from
dmesg trying to mount the partition):

debugreiserfs /dev/sda1
then look at Blocksize it the output

Quoted 19 lines

ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30

and:

$ sudo reiserfstune /dev/sda1
reiserfstune: Filesystem looks not cleanly umounted, check the consistency first.

I assume it's the 8192 the kernel reports...

Quoted 3 lines

it would be better to create a backup on a spare bigger partition using dd_rescue (pad not recoverable zones with zeroes), then run fsck on the created image.

unluckly I can't. it's a 160 GiB partition and I don't have spare
space.

#6 lore raw
In reply to Marcos Dione
Quoted 10 lines · Marcos Dione
Quoted 6 lines · David Masover
Quoted 5 lines
Quoted 3 lines

it would be better to create a backup on a spare bigger partition using dd_rescue (pad not recoverable zones with zeroes), then run fsck on the created image.

unluckly I can't. it's a 160 GiB partition and I don't have spare
space.

How much spare space do you have? You may be able to do some tricks with dm_snapshot...

right now, I have 45 MiB of space in my spare disk. I *could*
(should?) make more space, but can't guarrantee anythung.

That won't be enough. Worst case, decide whether the data on that 160 gig partition is worth buying a cheap 200 or 300 gig drive for this backup.