fixing a corrupt /dev/hdar .. debugfs assistance...
Chris Worley
worleys at gmail.com
Tue Mar 21 20:51:20 UTC 2006
Thanks for the help.
Does <2> refer to a superblock? I.e.:
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632,
2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616
The debugfs man page says the first arg of "clri" refers to a "file"?
Thanks,
Chris
On 3/20/06, Theodore Ts'o <tytso at mit.edu> wrote:
> On Mon, Mar 20, 2006 at 04:27:22PM -0700, Chris Worley wrote:
> > I used ddrescue to copy /dev/md1 to a disk of sufficient size, and
> > re-ran e2fsck, and still get the error message that there's no root
> > file system (I've tried most every superblock):
>
> Using debugfs, copy out the the contents of "root inode"; since it
> might contain useful data, e2fsck didn't want to delete it out of
> hand.
>
> debugfs: dump <2> /tmp/contents-of-inode-2
>
> Then purge the inode away:
>
> debugfs: clri <2>
>
> Then run e2fsck, and it will create a new root directory for you.
>
> Hope this helps!
>
> - Ted
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20060321/7b9ed1b5/attachment.htm>
More information about the Ext3-users
mailing list