shell access to different drives

Arinmal

Member
Feb 14, 2020
7
1
8
44
Hello everyone, I'm trying to qemu-img convert a file over a vm added drive (so not local). I cant find it with winscp or in shell as root.

this is the command I'm trying to use
qemu-img convert -O raw -p -n DietPi_VMware-x86_64-Buster.qcow2 rbd:VM-Drive/vm-104-disk-0

but I don't have ceph installed. the drive/file doesn't exist using that command. When trying to use iscsi or lvmthin instead of rdb it still doesn't work, protocol doesn't exist

/dev/sde is the root/local
/dev/sdd is the VM-Drive

what am I doing wrong?

Edit: so I got it coppied over use this command
qemu-img convert -O raw -p -n DietPi_VMware-x86_64-Buster.qcow2 /dev/mapper/VM--Drive-vm--104--disk--0

now booting is either extremely slow or just gets stuck.
 
Last edited:
but I don't have ceph installed. the drive/file doesn't exist using that command.

The qemu-img tool does not know how to handle the Proxmox VE storage definitions.
Check the qm importdisk [0] command.
Why are you trying to import it to a Ceph pool if you don't have Ceph installed?



now booting is either extremely slow or just gets stuck.
What are the symptoms when it gets stuck? How is the VM configured?

[0] https://pve.proxmox.com/pve-docs/qm.1.html
 
Thanks for the reply! I followed a different guide and started from scratch. It's all working now
 

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!