You are not logged in.

#1 2015-02-19 16:00:14

kubax
Member
Registered: 2014-10-22
Posts: 19

mount /etc/fstab with lvm on luks and key on another lvm on luks

I can't describe shorter / clearer in the topic.

Hi,

i've got a litle problem.

I have a System wich acts as NAS and DVB Streaming server.
Now i have crypted my root system (luks -> lvm -> root partition) in addition to the root filesystem i have another luks/lvm consisting of two harddrives (later i'll add harddrives).

Now to my problem. System is booted with LVM on luks. While init i enter the passphrase for my root disk and everything is fine.
BUT, when i add key files to my other luks drives (sda1 / sdd1) annd put them in my crypttab trying to mount the LVM on these two drives (one LVM on two drives) it doesn't get mounted.

System tries to mount the LVM but can't find it. Switching to recovery mode, i can see that lvscan say's it's inactive. Dropping "vgchange -ay" and i can do "mount -a" without any problem.

Do you have any hint how i get my crypttab or fstab to first rescan the LVM and then mount the LV?

Hopefully anybody can understand this, i don#t know how to make it clearer (i'm german)

Offline

Board footer

Powered by FluxBB