Re: Restoring inode information
- From: "Peter T. Breuer" <ptb@xxxxxxxxxxxxxxx>
- Date: Sun, 18 Dec 2005 06:07:04 +0100
Roland <rmelkert@xxxxxxxxx> wrote:
> I've had a hard drive failure. I lost two directories.
> The thing is if I do 'ls -lhi' it still reports the two corrupted
> directories, like:
> ? ?--------- ? ? ? ? ? StuffA
> 12357463 drwxr-x--- 4 roland roland 4.0K Sep 2 01:54 StuffB
> ? ?--------- ? ? ? ? ? StuffC
> 11866015 drwxr-x--- 5 roland roland 4.0K Jan 6 2005 StuffD
> ? ?--------- ? ? ? ? ? StuffE
I don't understand - the above shows FIVE directory entries, all of
them corrupted, not TWO "corrupted directories". My best guess would be
that the (ONE) directory inode whose entries yu are viewing is corrupted
and everything else is OK.
> I guess the inode information is corrupted. But I am hesitating to do a
> fsck, because I'm afraid it will do more harm then good?
Looks harmless to me, but then I don't understand what you think is
wrong and how it relates to what you ahve shown.
> Is there any way to restore the directories or some of its sub
> directories without fsck?
I don't understand what you mean. I see evidence of only one failure
for certain, and that may or may not be mended by a fsck, but no harm
can be done (either the inode pointers in those entries are wrong, or
they are not, but either way fsck will not make right ones into wrong
ones).
You need more data before deciding.
Peter
.
- Follow-Ups:
- Re: Restoring inode information
- From: Roland
- Re: Restoring inode information
- References:
- Restoring inode information
- From: Roland
- Restoring inode information
- Prev by Date: Downloaded MRBS (meeting room booking system)
- Next by Date: Re: Restoring inode information
- Previous by thread: Restoring inode information
- Next by thread: Re: Restoring inode information
- Index(es):
Relevant Pages
|