[SOLVED] Import .raw to VMs

fahadshery

Member
Feb 13, 2021
131
8
23
42
Hi,

My system crashed and had to re-install proxmox.
My existing VM's were stored on a different disk as shown below:
1695736754124.png

I wish to restore those VMs using these `raw` files.
I have created a VM with the same `VMID`
I tried to attach those raw files to it by:
Code:
qm importdisk 201 /dev/supersonic/vm-201-disk-0.raw supersonic

But getting the following error:
Code:
/dev/supersonic/vm-201-disk-0.raw: non-existent or non-regular file

Any ideas?
 
Hi,

My system crashed and had to re-install proxmox.
My existing VM's were stored on a different disk as shown below:
View attachment 55845

I wish to restore those VMs using these `raw` files.
I have created a VM with the same `VMID`
I tried to attach those raw files to it by:
Code:
qm importdisk 201 /dev/supersonic/vm-201-disk-0.raw supersonic

But getting the following error:
Code:
/dev/supersonic/vm-201-disk-0.raw: non-existent or non-regular file

Any ideas?
Hi,
what storage backend is used by supersonic? Please share your cat /etc/pve/storage.cfg.

You might want to use qm disk rescan which rescans all storages and adds disks as unused disk to the VMs based on their VMID. By passing the qm disk rescan --vmid <VMID> you can limit this to a specific VM.
 
  • Like
Reactions: fahadshery