Skip to contentSkip to conversation

RBD Utilization

DISCUSSION Anmol Babu 5 participants 6 messages Mar 23, 2016 – Mar 24, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Anmol Babu

author
#1 lore raw

Hi,

I would like to know how much of my storage is rbd consumed.

Is there a way I can get this info using some command?

Awaiting your valuable response.

Thanks,
Anmol

#2 lore raw

Try with:

ceph df // will give better information on all pools used and
avail storage.

Thanks
Swami

Quoted 14 lines · Anmol Babu

Hi,

I would like to know how much of my storage is rbd consumed.

Is there a way I can get this info using some command?

Awaiting your valuable response.

Thanks,
Anmol
--
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

author
#3 lore raw

No ceph df gives utilizations of all pools right?

Although the default rbd pool has the name rbd, there's no restriction and/or indication to suggest a pool as containing block devices right?

So, I wanted a command or a way in general to find the space occupied by rbd's in the cluster

Thanks,
Anmol

----- Original Message -----
From: "M Ranga Swami Reddy" <[email protected]>
To: "Anmol Babu" <[email protected]>
Cc: "ceph-devel" <[email protected]>, "Team discussions around SDS management program (aka USM or RHS Controller)" <[email protected]>
Sent: Wednesday, March 23, 2016 3:31:48 PM
Subject: Re: RBD Utilization

Try with:

ceph df // will give better information on all pools used and
avail storage.

Thanks
Swami

Quoted 14 lines · Anmol Babu

Hi,

I would like to know how much of my storage is rbd consumed.

Is there a way I can get this info using some command?

Awaiting your valuable response.

Thanks,
Anmol
--
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

#4 lore raw

What I like to do is create a pool for each rbd. Then using any of the commands that provide per pool stats now also reflect each rbd.

Quoted 44 lines · Anmol Babu

No ceph df gives utilizations of all pools right?

Although the default rbd pool has the name rbd, there's no restriction and/or indication to suggest a pool as containing block devices right?

So, I wanted a command or a way in general to find the space occupied by rbd's in the cluster

Thanks,
Anmol

----- Original Message -----
From: "M Ranga Swami Reddy" <[email protected]>
To: "Anmol Babu" <[email protected]>
Cc: "ceph-devel" <[email protected]>, "Team discussions around SDS management program (aka USM or RHS Controller)" <[email protected]>
Sent: Wednesday, March 23, 2016 3:31:48 PM
Subject: Re: RBD Utilization

Try with:

ceph df // will give better information on all pools used and
avail storage.

Thanks
Swami

Quoted 6 lines · Anmol Babu

Hi,

I would like to know how much of my storage is rbd consumed.

Is there a way I can get this info using some command?

Quoted 8 lines

Awaiting your valuable response.

Thanks,
Anmol
--
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

#5 lore raw
Quoted 2 lines · Bruce

What I like to do is create a pool for each rbd. Then using any of the commands that provide per pool stats now also reflect each rbd.

You should use "rbd du" for this. RADOS pools have substantial cluster-wide overhead (a pool is basically a set of PGs), you do not want to create one pool per image.

Thanks,

Ilya