On Saturday 07 Jan 2012 05:59:23 meino.cra...@gmx.de wrote:
> Hi,
> 
> On a extf4 formatted partition I have two directories (beside others,
> non encrypted ones):
> 
>     .crypt
>     crypt
> 
> .crypt contains the encrypted data.
> 
> I then mount the encrypted partionas as root with
> 
>     mount -t ecryptfs /home/user/.crypt /home/user/crypt -o
> ecryptfs_cipher=blowfish,ecryptfs_key_bytes=56,ecryptfs_passthrough=n,ecry
> ptfs_sig=XXXXXXXXXXXXXXXX,ecryptfs_fnek_sig=XXXXXXXXXXXXXXXX,ecryptfs_unlin
> k_sigs,key=passphrase
> 
> (I blanked the sigs before posting)
> 
> This worked like a charm....but...
> 
> A local power fail switches my PC off while the encrypted directory
> was mounted.
> 
> After rebooting I still was abler to execute the command given above
> successfully, but two diorectorie below the directory 'crypt' show
> like this:
> 
> drwxr-xr-x  6 mccramer users  4096 2012-01-07 05:05 .
> drwxr-xr-x 11 mccramer users  4096 2012-01-07 06:47 ..
> d?????????  ? ?        ?         ?                ? .process
> drwxr-xr-x  2 mccramer users  4096 2008-09-07 03:41 BlenderLostAndFound
> drwxr-xr-x  2 mccramer users 12288 2011-10-31 04:16 NEWARCS
> -rw-r--r--  1 mccramer users     0 2006-01-01 07:00 RENDER
> d?????????  ? ?        ?         ?                ? logdata
> 
> 
> Trying to cd into logdata or .process fail.
> 
> 
> Is there any chance to recover from this and if yes: how ???
> 
> Thank you very much for any help in advance!

This looks like fs corruption.  Boot a LiveCD if you need to and run fsck.ext4 
-c /dev/sdX.

If it comes up with errors you'll probably need to rerun fsck with additional 
options and hope that it fixes the corruption.

You may lose some data.

Good luck.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to