VM von einem Cluster zu einem Anderen umziehen

ferhat.oekten

New Member
Jun 23, 2023
14
0
1
Moin,

die einfachte Lösung wäre ein Backup und Zurückspielen. Aber das dauert viel zu lange (10 h).

Daher ist meine Idee, die Konfig rüber zu kopieren, was ich schon gemacht habe und dann die Plattenlaufwerke.
Ich finde jedoch die Platten nicht als eine Datei hinterlegt, sondern lediglich einen Link, von dem ich nicht schlau werden.

Es ist ein Cluster mit Cehp.

Weiß jemand wie ich die Datei finden kann?
 
Jo, das mache ich auch gerade. Dauert zwar auch ewig, aber da hätte ich wenigstens einen Pfad.
Die Datei würde ich dann auf das Image-Storage kopieren. Und dann? Wie kann ich dann die qcow2 Datei in die VM einbinden?
 
Mit qm disk import

qm disk import <vmid> <source> <storage> [OPTIONS]

Import an external disk image as an unused disk in a VM. The image format has to be supported by qemu-img(1).

<vmid>: <integer> (100 - 999999999)
The (unique) ID of the VM.
<source>: <string>
Path to the disk image to import
<storage>: <storage ID>
Target storage ID
--format <qcow2 | raw | vmdk>
Target format
 
Nachdem ich die Platte importiert habe, gibt er die Fehlermeldung "TASK ERROR: unable to parse rbd volume name '134/vm-134-disk-1"
Also beim Versuch die Maschine danach zu starten.
 
Last edited:

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!