On 14-05-10 06:55 PM, Brian van den Broek wrote:
On May 10, 2014 6:39 PM, "Jer" <[email protected]
<mailto:[email protected]>> wrote:
>
> On 14-05-10 06:12 PM, Brian van den Broek wrote:
>>
>>
>> Hi all,
>>
>> I fear that this will end in tears.
>>
>> My home partition on a Debian wheezy install is an encrypted LVM
volume. It is ext3. Earlier today, I had a weird message in a terminal
window about an attempt to write to a file in my /home tree failing
due to having a read only file system. On reboot, I end up with an
error message.
>>
>
> It is always the same answer from me :) Take an image then stop
accessing the drive. Boot from a liveCD then ddrescue it all into a
huge image, then attempt recovery on that.
Hi Jeremy,
Thanks for the response.
I'm not familiar with ddrescue, but I am familiar with man pages :-)
> With an image you can even (should) work on a copy of the image so
you can go back if something you do screws it up more.
Assume I've got a ddrescue produced image and a copy of that, too. Do
I then run fsck on the image?
What I am completely unsure about is what implications, if any, the
encryption has.
(Note that the sick feeling in my stomach is likely getting in the way
of clear thinking :-(
Best,
Brian vdB
ddrescue does everything it can to image every bit on the drive. Once
you do that you have what can be used like a normal drive, mounted,
fsck'd, grepped, etc. Basically, I would try to get a successful fsck
run. The encryption aspect of it should only come into play when you
want to access the actual files. Either way, making an image means you
have the best chance of recovering anything, since your drive could
completely die at any time.
This distro has ddrescue (but you can install it on an ubuntu livecd
etc) http://www.tux.org/pub/people/kent-robotti/looplinux/rip/
mounting the disk image
http://askubuntu.com/questions/176369/how-do-you-mount-an-hd-image-made-from-ddrescue
So, image, then fsck, then mount, then decrypt.
Jer
_______________________________________________
mlug mailing list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca