Re: Block# to File Mapping?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ed Skinner
Date:  
To: alandd, Main PLUG discussion list
Subject: Re: Block# to File Mapping?
On Tuesday 12 July 2005 10:50, Alan Dayley wrote:
> Ed Skinner said:
> >      Given bad block numbers, how can I find out what file(s) are
> > affected?

>
> This requires knowledge of the data structures and values used by the
> filesystem in question. Such knowledge can be very difficult to grasp in
> a rapid manner.
> What filesystem are we talking about here?
> Alan


Hi Alan,
     The disk is failing in the EXT3 (/) partition. I'm planning to use either 
myrescue or dd_rhelp (and dd_rescue) to suck out the data to a file, (make a 
copy of that file, then) mount the file via -o loop and fsck -Y to repair it. 
That *should* restore the integrity of the partition's image but the data in 
the "repaired" file(s) will still be NFG. I'd like to determine the affected 
files and then pull just those from the backups. When the replacement disk 
arrives it'll be quick to just dump the now-good data (partitions) back onto 
it (including the boot sectors) and be up-and-running again.
     Suggestions would be most welcome. (Second time this Dell notebook has 
had the disk fail in a year. Grrr...)


--
Ed Skinner, , http://www.flat5.net/

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss