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

Re: complete fs corruption after fsck



On 08/07/2010 11:02 PM, Matija Nalis wrote:
> On Fri, Aug 06, 2010 at 11:21:47AM +0200, Udo Rader wrote:
>> What I desperatly need is at least one of the many +400M backup files
>> located on the server. They happen to be so called postsgresql "custom"
>> dump files, identifyable by their "PGDMP" file header.
> 
> They are probably too big to be in one piece on the disk, and since the
> pgdump custom format does not sound like something easily detectable as
> correct (it looks like it's usually gzip compressed, which means it would
> look like random data), they probably won't recover correctly.
> 
>> On the other hand, if I fgrep the qcow2 image file for the string, I get
>> results soon.
>>
>> So, are there any options left to get more data back? I've played with
>> lde [1], but I must admit that the magic required to understand lde is
>> beyond my level of magic ...
> 
> You can try one of the following: 
> 
> http://www.cgsecurity.org/wiki/TestDisk
> http://www.itu.dk/people/jobr/magicrescue/
> http://www.sleuthkit.org/
> http://www.keldix.com/keld/readme-salvage.html
> 
> or some of the tools from:
> https://ext4.wiki.kernel.org/index.php/Undeletion
> 
> you would want to make a copy of qcow2 image first, as some of the tools
> will damage it even more than it was in the beginning, so you want to start
> with fresh copy on each try.

Thanks a lot for those links - as it seems some kind of real survivial
kits for situations like mine.

This is at least something more to try, although, as you write, my hope
is limited due to the internal PGDMP format (that indeed gzip's data
inside).

Thanks again!

Udo Rader

-- 
Udo Rader, CTO
http://www.bestsolution.at
http://riaschissl.blogspot.com


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