Ceph: Access data held in RBD via CephFS

proxwolfe

Well-Known Member
Jun 20, 2020
534
64
48
50
Hi,

I understand that Ceph offers both RBD and CephFS (and, in theory, but not on PVE, S3).

But it is not clear to me whether that means that I can access the same data both ways or whether data put into Ceph via the RBD will be seperated from data put in via CephFS and vice versa.

Can someone help?

Thanks!
 
Hi,
data will be separated. CephFS provides a file-system layer, so you can only create files on it. On the other hand, RBDs are virtual block devices/disks,. That means you can write arbitrary data to it, which might be a file system (most likely it won't be CephFS ;)), but might also be something completely different. See also here and here.