Bug 828440

Summary: encrypted lvm partitions not mountable
Product: [openSUSE] openSUSE 12.3 Reporter: Olaf Hering <ohering>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: Linux   
Whiteboard:
Found By: Outsourced Testing Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: bug828440.tar.xz

Description Olaf Hering 2013-07-08 09:04:10 UTC
fresh 12.3-GOME-x86_64 system on an unencrypted lvm volume.

sda has an encrypted lvm partition (sda6) which was intentionally not touched during installation of 12.3. Now its time to temporary mount these volumes in the running system.

Unfortunately neither GNOME desktop nor yast seem to offer a way to open the encrypted LVM container sda6 and then offer a way to mount the contained lvm volumes.

Will attach logfiles.
Comment 1 Olaf Hering 2013-07-08 09:12:31 UTC
Created attachment 547083 [details]
bug828440.tar.xz

Logfiles.

I tried to assign sda6 to /srv just to see what happens. yast wrote a crypttab and added an entry to fstab.
Comment 2 Thomas Fehr 2013-07-08 09:20:12 UTC
- start expert partitioner via "yast2 disk"
- in the main screen in the lower right corner there is a 
  button labeled "Configure"
- when pressing this button the is a menu list, first entry is
  labeled "Provide Crypt Passwords"
- press this and there will be a popup dialog where you can 
  provide your crypt pasword.

Of course there is also a much fatser way via commandline:
- cryptsetup luksOpen /dev/sda6 cr_sda6
- vgscan && vgchange -a y