From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Priebe - Profihost AG Subject: Re: extent rbd ls to show size and free space? Date: Mon, 18 Jun 2012 15:03:08 +0200 Message-ID: <4FDF270C.7010606@profihost.ag> References: <4FDF1A31.6010606@profihost.ag> <4FDF235E.8030301@widodh.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail.profihost.ag ([85.158.179.208]:42941 "EHLO mail.profihost.ag" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750696Ab2FRNDL (ORCPT ); Mon, 18 Jun 2012 09:03:11 -0400 In-Reply-To: <4FDF235E.8030301@widodh.nl> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Wido den Hollander Cc: "ceph-devel@vger.kernel.org" Am 18.06.2012 14:47, schrieb Wido den Hollander: > 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 Yes > 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. Sure i didn't mean that. > If you want to know the usage of the rbd pool I suggest using "rados df". ah OK. > The RBD tool could however be modified to show the image size if you > give another flag. > > $ rbd --extended ls That would be great. Stefan