Proxmox qcow2 virtual disk problem

ferdikilic

Member
Mar 19, 2020
16
0
21
44
Hello,
During the backup, I received an error due to a network problem. The virtual machine did not respond and I stopped it with the qm stop 330 command. Then I tried to turn it on, but my virtual machine did not start. When I checked, I think the virtual disk containing the operating system is corrupted and I cannot access any data on it. Is there a way to recover it? The following command did not work
qemu-img check -r all /mnt/pve/ssd500/images/330/vm-330-disk-0.qcow2

Thakyou.
 
Was kam denn für eine Ausgabe nach/bei qemu-img check -r all ?
 
Eine Erklärung erschien wie folgt. Sehr schnell gescannt


1638400/1638400 = 100.00% allocated, 7.50% fragmented, 0.00% compressed clusters
Image end offset: 123480637440
 
Okay..., keine Fehlermeldung.

Und wenn du diese Datei per qm importdisk 330 vm-330-disk-0.qcow2 local (oder local-zfs, oder ...) einzubinden versuchst? (Achtung: hierbei entsteht ein Duplikat, wenn ich das richtig sehe - es muss also genügend Platz vorhanden sein.)

Nachtrag: dieser Import erzugt eine "Unused Disk 0" (unter Hardware), diese muss dann noch per Doppelklick/Edit angekoppelt werden.
 
Last edited:
Als ich die Festplatte auf einem anderen Computer gemountet habe, wurde sie als neue Festplatte erkannt und wollte sie formatieren. Sie ist als Verzeichnis angehängt und es gibt kein ZFS.
 
Es ist schwer zu orakeln was du gemacht hast. Entweder ist da ein Software RAID oder etwas anderes drauf, weswegen eine andere VM damit nix anfangen kann oder die Daten sind Schrott.
Du kannst natürlich irgend eine Datenrettungs Software mal drüber laufen lassen. Ich würde einfach einen Restore machen.