Five useful new features from Ceph Infernalis
Infernalis has just been released a couple of weeks ago and I have to admit that I am really impressed of the work that has been done. So I am going to present you 5 really handy things that came out with this new release.
Prior to this, the default unit was MB so we had to write the image size in consequence.
$ rbd create a -s 1G
Since images are sparse and that discard is available for some virtualization storage controllers it is nice to have the ability to track the space used by an image. Obviously using object-map is highly recommend here, as it will speed up the calculation time.
$ rbd du a
A new command that will connect to the daemon’s socket and show some statistics.
$ ceph daemonperf osd.1
Quick example on how to enable object map after the image creation.
$ rbd create a -s 1G --image-feature exclusive-lock
Thanks to this, we do not need to specify the format during the image creation, nor add a new line into your