How Do I Transfer/Import QCOW2 From Windows To Proxmox

congresstart

New Member
Sep 10, 2024
5
0
1
Hey all,

Very new to Proxmox so apologies for reaching out.

I have a qcow2 I wish to transfer over from Windows to Proxmox on a Micro PC.

I'm unable to FTP/Sctp into the host with authentication errors for both.
I have checked the time zone is correct.

I've given up on a network transfer so thrown the qcow on a usb hard drive which is now in the host.

Now wondering what the string format required is given the below data?

Code:
qm importdisk 104 /dev/sdb1/DOCKERPC-0.qcow2 --storage local --format qcow
Am I anywhere close with this?

I'm happy to store the data in local for now

The file name is: DOCKERPC-0.qcow2

The VM ID is 104

USB Disk:


1726526492872.png

VM Details:


1726526628550.png

Thank you and sorry for the basic questions.
 
The USB disk is formatted as NTFS. There is no built-in NTFS support in Linux Kernel (search the forum as this topic has been discussed before).
Google how to mount NTFS disk on modern Linux (PVE). Once you have it mounted, you can then use the command you posted with the correct path, ie "/mnt/temp/filename".

Depending on the file size, you can also re-format your USB as FAT32, for slightly more straightforward access.

Good luck

PS google "how to mount usb disk" and add NTFS if necessary



Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited:
The USB disk is formatted as NTFS. There is no built-in NTFS support in Linux Kernel (search the forum as this topic has been discussed before).
Google how to mount NTFS disk on modern Linux (PVE). Once you have it mounted, you can then use the command you posted with the correct path, ie "/mnt/temp/filename".

Depending on the file size, you can also re-format your USB as FAT32, for slightly more straightforward access.

Good luck

PS google "how to mount usb disk" and add NTFS if necessary



Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Thank you.

Does Proxmox recognise exFAT or only FAT32?
 
PVE uses Debian Linux with Ubuntu derived Kernel. A quick google search indicates that exfat is natively supported by Linux.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Thank you.

I've pushed on from here.

I've imported the qcow2.

Code:
sudo cp /dev/sdb2/DOCKERPC-0.qcow2 /var/lib/vz/template/qcow/

Code:
qm importdisk 104 DOCKERPC-0.qcow2 local-lvm


2024-09-17_23-34-23.png

I've changed the config of the VM so it can see the disk, this has resulted in an error on boot

Is the name likely to be the issue here and if so am I able to edit this without importing it again?


2024-09-17_23-41-19.png
 
You, presumably, successfully imported the disk. It exists now in your LVM pool as an LVM slice. Why do you still have the original qcow as part of your VM config?
Go ahead and detach/unset it. It has a name that does not pass PVE sanity checks, hence it caused a VM start issue.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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!