[SOLVED] Storage-Migration local->local-lvm

XMarcR

Active Member
Jan 17, 2018
29
0
41
45
NRW, Germany
www.risse-it.services
Hallo,

ich habe auf auf einem einzelnen PVE-Server mit lokalem Storage eine openvz-VM per Restore importiert. Dies ging nur auf "Verzeichnis-Storage", also nach /var/lib/vz. Ich habe auf dem Server allerdings auch einen LVM-Thin-Storage, eine Migration wird mir leider nicht angeboten. Wie mache ich das am besten?
Ich habe mehrere openvz-Container die ich importieren muss, allerdings nicht so viel Platz unter /var/lib/vz. Daher muss ich die Kisten irgendwie in das LVM bekommen...

Über Tipps würde ich mich sehr freuen ;)
 
Wenn der OpenVZ container auf LXC konvertiert ist und läuft, dann einfach ein Backup erstellen und dieses auf das andere Storage einspielen.
 
Danke, habe den zu LXC konvertierten Container gesichert und dann die Sicherung per
pct restore 237 backup:backup/vzdump-lxc-237-2018_01_22-00_00_02.tar.lzo --rootfs local-lvm:20
importiert. Perfekt!
Kleiner Hinweis: ein direkter Restore eines openvz-Containers funktionierte nicht. Der Weg über
vzdump 237 --stdout | pct restore 238 --rootfs local-lvm:20
funktionierte leider auch nicht.
 

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!