IIRC, reiserfs assigns reserved blocks to any bad blocks it may find, and from then on ignores the bad blocks. This may work as long as there are enough good blocks in reserve. Once there are too many bad blocks it is probably time to swap the HD out. I would try to force mount the partition and get off what you can. I did this with my /dev/hda which recently ended up toast and got the majority of my files saved. You may want to look into dd_rescue (http://www.garloff.de/kurt/linux/ddrescue/ ) if you have problems mounting and reading the partition. Best regards, Alex. On Fri, 30 Jan 2004, Anders Karlsson wrote:
On Fri, 2004-01-30 at 11:11, c_nelson77 wrote:
I have a drive that failed fsck after a power outage. I find out it reported bad blocks, and so fsck can't do it's thing. Now that drive is data, the bulk of it replaceable with a lot of time. (70 gigs, what can I say, I'm a pack rat)
But anyways. I would like to be able to get this drive usable and salvage what I can. Using the badblock command, it reports 4 blocks bad. I have yet to find anything usefull on bad blocks, etc with reiserfs. Heck, I think if I could just force mount it, I should get most of it right?
Any help here? I know ext2/3, fat, fat32, hpfs, ntfs, all have ways to deal with this, but I have yet to find anyone in linux w/ reiserfs.
Have you tried running 'resierfsck --rebuild-tree' ?
-- Anders Karlsson <anders@trudheim.com> Trudheim Technology Limited