mapping a RBD

Norman Uittenbogaart

Renowned Member
Feb 28, 2012
150
5
83
Rotterdam, Netherlands, Netherlands
Is it possible in anyway to directly map a RBD device from ceph?
As the RBD module is not present in the PVE kernel?

I would like to convert a OpenVZ container to KVM, for this to do it "easier" it would help to be able to map a RBD device.
Or does anyone know of a other method?
 
Hi Norman

You can use rbd-fuse to mount pools, but the performance it's not so good...

#rbd-fuse -p pool_name /path/to/pool_mountpoint

Then format/mount the images inside the pool

#mkfs.{xfs,ext4} /path/to/pool_mountpoint/image
#mount /path/to/pool_mountpoint/image /path/to/fs_mountpoint

[]'s
 
Last edited: