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.
1. Use units to create an image and for benchmark commands
Prior to this, the default unit was MB so we had to write the image size in consequence.
$ rbd create a -s 1G |
2. Space used by an image
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 |
3. OSD performance analyser
A new command that will connect to the daemon’s socket and show some statistics.
$ ceph daemonperf osd.1 |
4. Enable and disable image feature on the fly
Quick example on how to enable object map after the image creation.
$ rbd create a -s 1G --image-feature exclusive-lock |
5. Default new images to format 2
Thanks to this, we do not need to specify the format during the image creation, nor add a new line into your ceph.conf
.
Enjoy!
Comments