[Tfug] Mount Issues

Charles R. Kiss charles at kissbrothers.com
Fri Jun 5 19:53:53 MST 2009


> What would be the use in having differingsuperblocks, especially in a  
> filesystem that is
> supposed to now be "fixed"?

I guess in case it "thinks it fixes it"

---------

The drive is restored somehow.  Thanks!

I mv'd all the files off the drive-which were a small fraction of the  
original number of files, because I thought they might be a source of some  
mounting confusion.  I then reran e2fsck, but only with the -y option, and  
it reported a clean filesystem.  I mounted, and "ls"  reported no files  
-"I had successfully moved" them all.

I believe that e2fsck had reported the presence of some files, however -if  
that's what the "xxx/xxxxxx files" "xxxx/xxxxxx blocks" result implies.

So, feeling almost all hope was lost (but no data), I ran the tune2fs -j,  
as recommended, until it reported that there was already a journal.
I guess I ran it twice.  I mounted the drive -still "no files".. ...same  
"clean drive".

I then ran the e2fsck with both the -y option and the -f option.   That  
seemed to do it.  I mounted and found another lot of hash marked  
directories and files -and inside the directories, are appropriately named  
subdirectories and files (without hashes).  And it seems like all !

---------

As far as e2fsck rewriting blocks is concerned, in my case, I thought it  
might be more useful *not* to rewrite all the superblocks simultaneously  
as it would be to rewrite only one initially, or half, or some temp blocks  
-say with an e2fsck option.  And then after some interaction with the user  
(me), would e2fsck be allowed to rewrite all the blocks.  But none of this  
happened, so I guess this might be irrelevant.

My rationale for this is, if the multiple blocks are there in case there  
is some failure, what if e2fsck fails in some way and rewrites all the  
blocks incorrectly, then it makes it increasingly more difficult to  
recover the drive.

Eitherway, I don't know what happened, obviously e2fsck didn't overwrite  
the original blocks.

Thanks Again!

Charles


-- 


This message and any attachments may contain information that is  
privileged or confidential, and is intended solely for the addressee.  If  
you recieved this message in error, please notify the sender by reply  
e-mail and delete the message and any attachments.  Thank you.




More information about the tfug mailing list