LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Encrypted, LVM volume /home not recognizing (global) passphrase and so not mounting (http://www.linuxquestions.org/questions/fedora-35/encrypted-lvm-volume-home-not-recognizing-global-passphrase-and-so-not-mounting-910701/)

saivnoba 10-28-2011 05:27 PM

Encrypted, LVM volume /home not recognizing (global) passphrase and so not mounting
 
Hi all,
I'm in deep trouble. My /home partition is not mounting anymore.

I have Fedora 15 installed in LVM setup. I've encrypted my partitions (swap, root and separate home).

Till yesterday, at boot time it would ask for passphrase once, I would type my passphrase and it would decrypt and mount all my partitions. Today however for no apparent reason, I'm being asked for passphrase for my /home partition. If I type my regular passphrase, it comes back to same passphrase entry box.

During install it asked for passphrase only once (global passphrase). I've been using it for past 4-5 months. I've also accessed these partitions from other distros with same passphrase. What happened in just one day?
Code:

saivnoba@A4741:~$ sudo lvscan -a
  ACTIVE            '/dev/sv/swap' [4.00 GiB] inherit
  ACTIVE            '/dev/sv/root' [16.00 GiB] inherit
  ACTIVE            '/dev/sv/home' [26.57 GiB] inherit
  ACTIVE            '/dev/sv/data' [93.13 GiB] inherit
saivnoba@A4741:~$ sudo cryptsetup luksOpen /dev/mapper/sv-home fedome
Enter passphrase for /dev/mapper/sv-home:
No key available with this passphrase.


smallpond 10-29-2011 08:19 AM

According to the wiki, this error may be mean the dm-crypt module and the specific cipher that you use may not be loaded in the kernel. Check with lsmod. Another possibility is that your key has been deleted. I think you would get a different error if the key table was lost or corrupted.

saivnoba 10-30-2011 05:31 AM

Hi smallpond,
I'm sorry if I did not make it clear. It is a global passphrase. Single passphrase created during installation for my root, swap and home partitions. I'm able to unlock root partiton (sv-root). I can access it from other distros too. However, swap and home partitions are not being unlocked. The particular error is for home partition.

Could you point me to the wiki you are referring to?

smallpond 10-30-2011 10:24 AM

Quote:

Originally Posted by saivnoba (Post 4511708)
Hi smallpond,
I'm sorry if I did not make it clear. It is a global passphrase. Single passphrase created during installation for my root, swap and home partitions. I'm able to unlock root partiton (sv-root). I can access it from other distros too. However, swap and home partitions are not being unlocked. The particular error is for home partition.

Could you point me to the wiki you are referring to?

Sorry, I should have posted a link. Let me check my history. OK, I visited these 2 sites:
https://wiki.archlinux.org/index.php/LUKS
http://code.google.com/p/cryptsetup/...ommon_Problems


All times are GMT -5. The time now is 06:52 PM.