Re: crypttab support for non-root devices with systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, Dec 08, 2012 at 09:08:28PM +0100, Karol Babioch wrote:
> Hi,
> 
> I've installed Arch on a system with a two "disk" setup, where the first
> disk is a SSD, which I'm booting from. The second disk is an encrypted
> software RAID with LVM on top.
> 
> Now obviously I want the second "disk" to be unlocked and mounted
> automatically on boot. This was no problem in the past.
> 
> Now with systemd it seems to be harder. At least I get asked for the
> password on boot. This will unlock the device, however afterwards I have
> to activate the LVM and mount it manually.
> 
> Is this already supported out of the box? The wiki mentions something
> about scripts, which may be changed, but I would like to have something
> more solid than self made scripts, which may break with every update in
> the future.
> 
> Best regards,
> Karol Babioch
> 

In core/lvm2 there's an lvm-on-crypt.service which you can enable. In
testing/lvm2, you only need lvm-monitoring.service.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux