Hi,

> Hello list,
>
> are there any plans to extent rbd ls in a way that it shows, image size
> and free space of the pool?
>

You want something like:

$ rbd ls
NAME            SIZE
alpha           50G
beta            400G
charlie         150G

That is possible, but if you want to see the allocation of an image that will be harder, since RBD doesn't know which objects have been written to and which haven't.

There is also no such thing as "free pool space", you have to look at the free cluster space.

But again, if you cluster has X TB of free space and you have multiple pools, your usage will depend on the amount of written data and the replication level.

If you want to know the usage of the rbd pool I suggest using "rados df".

The RBD tool could however be modified to show the image size if you give another flag.

$ rbd --extended ls

Wido

On 06/18/2012 02:08 PM, Stefan Priebe - Profihost AG wrote:
Stefan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to