Hi,
I managed to delete a VM disk a long time ago, while it was still running. Now, 8 months later, I stopped and tried to start a VM but it won't start because the disk is missing.
8 months ago I did a move:
create full clone of drive virtio0 (ssd:100/vm-100-disk-0.qcow2)
Formatting '/mnt/pve/proxmox02_ssd02/images/100/vm-100-disk-0.qcow2'
create full clone of drive virtio0 (tempclone-proxmox:100/vm-100-disk-1.qcow2)
Formatting '/ssd/proxmox/images/100/vm-100-disk-0.qcow2',
After this move I deleted the unused disk that was present in the GUI after the move, but it shows the exact same disk as the one that was running!
update VM 100: -delete unused0
disk image '/ssd/proxmox/images/100/vm-100-disk-0.qcow2' does not exists
TASK OK
The task show OK but gives a error. Not sure why, but it seems to me that the VM disk was deleted this way.
When I check my snapshots, I see a difference between the hourly snapshot of the hour before I did a shutdown and one hour later when I tried to start the VM (and got the error).
ssd/proxmox@2021-07-07_20.00.01--2d 315M - 1.86T -
ssd/proxmox@2021-07-07_21.00.01--2d 164M - 1.57T -
This is the same disk size/data I'm missing. Is there a way to recover the disk in the old snapshot? The directory and file don't exist in the version of 20:00 so I can't recover the disk in a easy way. I tried both clone and ls the .zfs/snapshot folder.
Any tips on how to get this VM disk back? The back-ups only go back to 6 months, so we can't use backups (and it would be very old).
Everything was fine until the VM stopped after 20:00... The VM has been up all these months without any issues.
I managed to delete a VM disk a long time ago, while it was still running. Now, 8 months later, I stopped and tried to start a VM but it won't start because the disk is missing.
8 months ago I did a move:
create full clone of drive virtio0 (ssd:100/vm-100-disk-0.qcow2)
Formatting '/mnt/pve/proxmox02_ssd02/images/100/vm-100-disk-0.qcow2'
create full clone of drive virtio0 (tempclone-proxmox:100/vm-100-disk-1.qcow2)
Formatting '/ssd/proxmox/images/100/vm-100-disk-0.qcow2',
After this move I deleted the unused disk that was present in the GUI after the move, but it shows the exact same disk as the one that was running!
update VM 100: -delete unused0
disk image '/ssd/proxmox/images/100/vm-100-disk-0.qcow2' does not exists
TASK OK
The task show OK but gives a error. Not sure why, but it seems to me that the VM disk was deleted this way.
When I check my snapshots, I see a difference between the hourly snapshot of the hour before I did a shutdown and one hour later when I tried to start the VM (and got the error).
ssd/proxmox@2021-07-07_20.00.01--2d 315M - 1.86T -
ssd/proxmox@2021-07-07_21.00.01--2d 164M - 1.57T -
This is the same disk size/data I'm missing. Is there a way to recover the disk in the old snapshot? The directory and file don't exist in the version of 20:00 so I can't recover the disk in a easy way. I tried both clone and ls the .zfs/snapshot folder.
Any tips on how to get this VM disk back? The back-ups only go back to 6 months, so we can't use backups (and it would be very old).
Everything was fine until the VM stopped after 20:00... The VM has been up all these months without any issues.