[SOLVED] Can you use Ceph as a storage for VM's disk image files?

damon1

Active Member
Apr 18, 2019
95
9
28
57
Hi All,
either I have mucked up something or I have the wrong information.

I have created a 3 node CephFS and i can upload ISO's to it but I cannot createe a VM and use it for the disk image.

1571115852596.png

I thought Ceph could be used for disk images?
Am I wrong?
If not then is there someway to add "disk image" to the content types?

thanks

damon
 
No worries Damon, I've been benchmarking a new Ceph setup today so I've been in and out of those settings for the last few hours. Glad I could help.


David
...
 
post any hints you find once you are done, would love to know what I can do to improve anything.

thanks again

damon
 
I'm in the same boat. Created a cephfs and can't store disk images on it.

If you recreate that as RBD you can create / move VM disks to it.
How (and where in the gui) do I do that?

Thanks!
 
* Undo what you've done to setup your CephFS.
* In the GUI Node level Ceph menu create a pool with the settings you want
* In the GUI Datacenter level Storage menu Add a new RBD storage using the pool


David
...
 
Thank you for the pointer.

Actually, I did not need to undo CephFS set up.

And the pool was already there (three pools, actually; I went for „data“).

So I just needed to add RBD as additional storage.

Perfect!
 
Good to hear. The only issue is that those other pools won't be used by anything so that's a little bit of wasted space.
Well, one of the other pools is called „metadata“ and the third pool also had a name that gave me the impression that it has a purpose (maybe for CephFS). I just can‘t go and look up what it was atm.

Anyway, thank you for the pointer!
 

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!