add a storage to a vm located on the same machine with ceph

benoitc

Member
Dec 21, 2019
173
9
23
I am wondering if the following scenario is possible:

1) a vm is created
2) the software in the vm can instruct ceph to create a new storage located on the same machine

I guess it is always possible to do it if i use a N-copy strategy where N = the number of the machines. But is there any other way to do it?
 
on the same machine
Do you mean the PVE host or the virtual machine?

You could access the API of your PVE host from the VM and create virtual disks that reside on your Ceph storage.