[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: All data gone AWOL



On Fri, Nov 01, 2002 at 11:55:01AM +0000, Ian Leonard wrote:
> 
> 
> To follow up on this one, I have just received the disk. At one time it
> had a root partition on it. I set the drive up as a slave and tried to 
> mount
> a partition. The partition table was trashed. I put it back (I knew
> the numbers) and /boot was as expected. I mounted /. There was
> one directory - lost+found. A quick look revelaled that the entire
> contents of the disk were in there with the first element of the
> path renamed to (I guess) the inode number.
> 
> I suppose I could recover the disk - but I'm not that keen.
> 
> I guess we have build/rebuild a hundred systems or so and this
> has been reported once before. We are at the latter stages of a
> development project so there is lot of abuse going on. I seem
> to be the only one knows about the shutdown command.
> Given that it was a power outage, it is possible that the power
> failed again at a crucial stage. Also, as far as I know it shouldn't
> have run fsck at boot time.

I already get the "/" and "lost+found" from Ian.
I think this drive have run fsck already.

[chrisl chrisl image]$ hexdump -c rootdir
0000000 002  \0  \0  \0  \f  \0 001 002   .  \0  \0  \0 002  \0  \0  \0
0000010  \f  \0 002 002   .   .  \0  \0  \f  \0  \0  \0 350 017  \n 002
0000020   l   o   s   t   +   f   o   u   n   d  \0  \0  \0  \0  \0  \0
0000030  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0001000

The rootdir seems have been regenerated. The inode of loast+found is 12
instead of 11. There is no trace of deleted file at all.

In lost+found. Those "#<inode_number>" file should be generated by
fsck. There is 122 dirs and about 400 files in it. I assume your root
directory is not that big. There is other directory get corrupted.

Because it is already run fsck. It can't really tell what is it look
like when it power off.

Chris





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]