[SOLVED] Can't find image .raw

Geodav

New Member
Nov 24, 2021
5
0
1
34
Good day, I want to convert the image from .raw to QCOW2. However i can't find it.
My guess the cause of the problem is since it is configured as a block device.


pvesm path local-lvm:vm-100-disk-0 storage 'local-lvm' does not exist

lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert vm-100-disk-0 PVE_DISKS -wi------- 50.00g data pve twi-a-tz-- <23.00g 0.00 1.58 root pve -wi-ao---- 12.25g swap pve -wi-ao---- 6.00g

Thank you
 
hi,

Good day, I want to convert the image from .raw to QCOW2. However i can't find it.
what image are you trying to convert? is it a VM?

pvesm path local-lvm:vm-100-disk-0 storage 'local-lvm' does not exist
the error message you're getting is because you don't have a storage named local-lvm. your VG is called PVE_DISKS. you should check /etc/pve/storage.cfg along with the config for VM where the disk is attached (qm config VMID where VMID is the number of your VM) to find out where is that disk you're looking for stored.
you can check out our documentation about storage as well [0]

hope this helps

[0]: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_storage
 
hi,


what image are you trying to convert? is it a VM?
It is a VM
the error message you're getting is because you don't have a storage named local-lvm. your VG is called PVE_DISKS. you should check /etc/pve/storage.cfg along with the config for VM where the disk is attached (qm config VMID where VMID is the number of your VM) to find out where is that disk you're looking for stored.
you can check out our documentation about storage as well [0]

hope this helps

[0]: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_storage

It showed me the path however going to that directory it still is not to be found.

root@proxmox:/# pvesm path PVE_DISKS:vm-100-disk-0 /dev/PVE_DISKS/vm-100-disk-0





root@proxmox:/dev/pve# qm config 100 boot: order=ide0;ide2;net0 cores: 2 ide0: PVE_DISKS:vm-100-disk-0,size=50G ide2: none,media=cdrom machine: pc-i440fx-6.1 memory: 4096 meta: creation-qemu=6.1.0,ctime=1637684398 name: tmp-W10-21H2-Client net0: virtio=C6:B9:3A:A5:4D:BC,bridge=vmbr0,firewall=1 numa: 0 ostype: win10 scsihw: virtio-scsi-pci smbios1: uuid=6d36be77-0cf2-4d74-a809-021046297d89 sockets: 1 vmgenid: c5ba2f35-b297-4133-acc0-f6425800fe36

Went through these directories also, no file to be found

ir: local path /var/lib/vz content snippets shared 0 lvm: PVE_DISKS vgname PVE_DISKS content images,rootdir nodes proxmox shared 0 dir: PVE_Rescources path /mnt/pve/PVE_Rescources content backup,iso,vztmpl is_mountpoint 1 nodes proxmox shared 0
 
showed me the path however going to that directory it still is not to be found.

root@proxmox:/# pvesm path PVE_DISKS:vm-100-disk-0 /dev/PVE_DISKS/vm-100-disk-0
that is the path to the block device. there's no raw disk allocated for that VM according to the configuration, so you'll have to convert it if you want that. you can move the disk using the GUI to another storage where it will be stored as a raw disk.

what are you trying to accomplish?
 
  • Like
Reactions: Geodav
that is the path to the block device. there's no raw disk allocated for that VM according to the configuration, so you'll have to convert it if you want that. you can move the disk using the GUI to another storage where it will be stored as a raw disk.

what are you trying to accomplish?
That was the solution thank you
 
glad to be of help, you can mark the thread [SOLVED] so others know what to expect :)
 

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!