LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   reiserfsck and cannot read block (https://www.linuxquestions.org/questions/linux-general-1/reiserfsck-and-cannot-read-block-222469/)

solex 08-25-2004 09:28 PM

reiserfsck and cannot read block
 
Hello,

I have slackware 9.0 on my hd and recently cannot get it to boot. I booted KNOPPIX on my CD and have tried running fsck.resierfs /dev/hda2 and am recieving the following error:

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 you to risk your
time and data on it. If you don't want to follow that 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
of that block number). If it cannot remap the block, use badblock
option (-B) with reiserfs utils to handle this block correctly.

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


Any ideas on what I can do to recover the data on my HD?

Thanks,
Dan

Tinkster 08-25-2004 10:09 PM

If you have a second hdd there's a few tools that
may help. http://www.garloff.de/kurt/linux/ddrescue/
for instance does a good job ...

Grab http://freshmeat.net/projects/recoveryispossible/
as an image, it has dd_rescue and a load of other
tools handy.


Cheers, and good luck!
Tink

solex 08-26-2004 09:03 PM

Tink,

I have dd_rescue but when I try dd_rescue /dev/hdb2 /dev/hda2 from KNOPPIX on a cdrom I get the error Permission Denied on /dev/hdb2.

Any ideas?

Thanks,
Dan

Tinkster 08-26-2004 09:08 PM

sudo su -

and then try again?


Cheers,
Tink

solex 09-02-2004 03:17 PM

I have been trying to retrieve some data from backups but am not having much luck. So it is back to trying to recover as much data as possible from this drive and need a little help with the command syntax.

Basically I would like to copy the entire drive to another drive, what must be done to the target, drive for instance should it be formatted exactly as the original drive or can I place the contents of the old drive anywhere?

At this time I have a 4 gb swap partitition and a 16 gb main partition with LILO in the MBR. I am interested only in the data and not necessarily recovering the entire drive image.

Thanks,
Dan

r0b0 09-03-2004 03:04 AM

There are commercial companies with experiences and tools to recover data from crashed disks. If you value your data in sense of money, maybe you could search for one in your location.

Tinkster 09-03-2004 05:52 PM

Quote:

Originally posted by solex
I have been trying to retrieve some data from backups but am not having much luck. So it is back to trying to recover as much data as possible from this drive and need a little help with the command syntax.
What's the question?

Quote:

Basically I would like to copy the entire drive to another drive, what must be done to the target, drive for instance should it be formatted exactly as the original drive or can I place the contents of the old drive anywhere?
You can just dd it and then mount the file via
a loop-back device ...


Cheers,
Tink


All times are GMT -5. The time now is 06:35 PM.