[SOLVED] Import .raw to VMs

fahadshery

Member
Feb 13, 2021
115
8
23
41
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

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!