Suggestions on migration of physical gentoo machine with luks to lxc

lexa500

New Member
Feb 23, 2016
12
0
1
41
Hello! Can anyone help me with my gentoo machine.
I have physical home server with gentoo.
It runs on mbr, 4.4.1 kernel, single partition for /, nothing special.
Also it has mdraid1 of 2x4tb disks with LUKS and LVM inside LUKS + 1x3tb disk with LUKS and LVM for the backups. system disk is not encrypted. 4 disks total.
Luks partitions are mounted manually by .sh script (luksOpen, mount, start several daemons etc).
Server itself does little: samba, proftpd, iptables nat, dnsmasq, zabbix, openvpn.
So, now I want to migrate my gentoo server to Proxmox 4.1.
which is the best way to do this?
1. Just make new kvm machine, passthrough all 4 disks, so all existing data will remain? Perhaps I will have to add virtio support in kernel, not sure if it is turned on
2. I`m not tied to gentoo, so I can switch to debian lxc, reinstall all needed services (transmission-bt, samba, proftpd, zabbix, etc), in that case i will need support of aes-ni for my luks.
So I greatly appreciate any ideas on such migration.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!