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

damon1

Well-Known Member
Apr 18, 2019
95
9
48
58
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!