LVM: How to access a foreign volume group
Volker Wysk
post at volker-wysk.de
Sun Dec 10 01:38:00 UTC 2017
Am Samstag, 9. Dezember 2017, 22:08:54 CET schrieb Xen:
> Volker Wysk schreef op 04-12-2017 2:03:
> > Hi!
> >
> > I'm about to set up an LVM cache (for my encrypted root file system).
>
> Also I assume you will also encrypt your cache volumes?
>
> This is not easy.
>
> I don't think the initrd by default opens non-root encrypted thingies.
>
> So you would need these steps:
>
> (... ... ...)
I'm afraid, your help goes to waste here, since I've already got it running, in a virtual machine. It wasn't easy, but I've managed to set it up. Your steps look familiar.
The reason I'm worrying how to restore the system from backup, is because something might go wrong, when I apply the procedure to my production system, and I won't be able to boot it any longer. I want to know how to recover _before_ I break my machine. I've also looked at GRUB's recovey mode.
Happy hacking,
Volker
More information about the ubuntu-users
mailing list