Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Due to several recent power outages and a failed UPS, an encrypted logical volume is no longer accessible. It has been a while but I'm sure the encryption was done by using Ubuntu's installer, so it should be LUKS?

When I try to mount the LV via mapper (mount /dev/vg_name/lv_name /mnt/vol), I'm told to specify a file type. It was ext4, but that is not accepted.

If I try luksOpen (cryptsetup luksOpen /dev/vg_name/lv_name crypt1), I get Device /dev/vg_name/lv_name is not a valid LUKS device.

I do not know the details of the enycryption so mount -t ecryptfs presents issues.

How do I detect what exactly is wrong? (and then fix it so I can mount it?)

share|improve this question
1  
Do you have backups? –  Andrew Nov 16 '11 at 4:57
    
Hi Andrew. Yes but they are a bit dated (about 10 days) so Im hopping for something else. –  Tom Nov 16 '11 at 16:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.