PVE/Ceph RBD

mstidham

Member
Jun 11, 2020
2
0
6
42
I'm evaluating PVE connected to an external ceph cluster. I managed to get PVE connected to ceph and I am able to create Virtual Machines using the ceph rbd storage. However; when I select the ceph storage pool within pve it only shows the rbd images that were created from pve. Is this by design or do I have something configured incorrectly? Essentially after creating a test vm and cloned the image within ceph to see if it would then be available in PVE but it never lists it.

Essentially I'm trying to test importing / attaching existing disk images.
 
Disk images of Proxmox VE guests follow a strict naming schema and (if applicable for the storage type) folder structure. If you want to use an existing disk image you have two options
  1. make your disk image fit this structure or and run qm rescan (you will get a message like VM 101: add unreferenced volume 'rbd:vm-101-disk-4' as 'unused0' to config)
  2. use qm importdisk (same link)
For Ceph the first alternative is better. If you run rbd list you should have something like vm-100-disk-0.
If that does not help you, please post
Code:
cat /etc/pve/storage.cfg
rbd list
qm config <id_of_a_relevant_vm>
 
Last edited:

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!