Re: ReiserFS and a dying hard drive
From: ray (ray_at_zianet.com)
Date: 10/19/05
- Next message: mlw: "Re: Why My Shop No Longer Sells Linux."
- Previous message: Jim Haynes: "Re: Linux for a non-profit org to be easy to switch?"
- In reply to: chadseo_at_gmail.com: "ReiserFS and a dying hard drive"
- Next in thread: chadseo_at_gmail.com: "Re: ReiserFS and a dying hard drive"
- Reply: chadseo_at_gmail.com: "Re: ReiserFS and a dying hard drive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 19 Oct 2005 11:55:02 -0600
On Wed, 19 Oct 2005 08:39:31 -0700, chadseo wrote:
> My hard drive has decided it's time to be retired, and is trying to
> take as much data with it as possible. I know, I know, backups.
> Anyway, I was able to get most of what I needed, except for one
> directory. In the /var/ directory, 'lib' shows up as a file, not a
> directory. I assume I'll have to do something fancy like edit the
> inode to show as a directory, not a file, but I don't know, I'm a
> little out of my league here. I've done inode editing on an ext2
> filesystem years ago to recover deleted files, but ReiserFS seems to do
> things sufficiently differently that I'm lost. Any help would be most
> appreciated.
>
> Thanks in advance!
> Chad
I went through the dying hard disk a few weeks ago and retrieved all the
data from it. Here's what I recommend based on my successful recovery.
1) DON'T MOUNT THAT DISK AGAIN. Install a new disk immediately and install
whatever distro you like on it (if you have not already done so).
2) boot a live CD or your new install on a new disk.
3) copy the partition(s) you want data from using a command of the form:
dd if=/dev/hdb5 of=backupname conv=noerrors conv=sync
This will copy the partition of interest to a file. You need noerrors to
skip past any bad blocks and you need sync to fill in bad blocks with
zeros rather than just omit them.
4) now mount via loop the backupname file made with dd. You'll find that
you can reiserfsck the file if you want, but it will probably tell you
everything is fine. Just look through the loop mounted file system for the
data you want. I recovered a 9 gb and a 14 gb partition from a failing
disk and retrieved every file in which I was interested.
- Next message: mlw: "Re: Why My Shop No Longer Sells Linux."
- Previous message: Jim Haynes: "Re: Linux for a non-profit org to be easy to switch?"
- In reply to: chadseo_at_gmail.com: "ReiserFS and a dying hard drive"
- Next in thread: chadseo_at_gmail.com: "Re: ReiserFS and a dying hard drive"
- Reply: chadseo_at_gmail.com: "Re: ReiserFS and a dying hard drive"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|