@enovance.com
To: Daniel Schwager daniel.schwa...@dtnet.de
Cc: ceph-users@lists.ceph.com
Sent: Tuesday, November 4, 2014 4:33:29 PM
Subject: Re: [ceph-users] RBD - possible to query used space of
images/clones ?
$ rbd diff rbd/myimage-1 | awk '{ SUM += $2 } END { print SUM/1024/1024 MB
Hi,
is there a way to query the used space of a RBD image created with format 2
(used for kvm)?
Also, if I create a linked clone base on this image, how do I get the
additional, individual used space of this clone?
In zfs, I can query these kind of information by calling zfs info .. (2).
rbd
$ rbd diff rbd/myimage-1 | awk '{ SUM += $2 } END { print SUM/1024/1024 MB }'
--
Regards,
Sébastien Han.
On 04 Nov 2014, at 16:57, Daniel Schwager daniel.schwa...@dtnet.de wrote:
Hi,
is there a way to query the used space of a RBD image created with format 2
(used for kvm)?
Also, if I