Project

General

Profile

Actions

Feature #10452

closed

ceph osd df

Added by Sage Weil over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

command that will output a table of

- osd id (or crush tree node?)
- crush weight
- reweight weight
- actual reported utilization
- variation from average (e.g., 1.23, .87)

and at the end include

- average
- min variation
- max variation
- standard deviation (of normalized actual_osd_utilization/crush_weight/reweight value)

i can't decide whether it makes sense to make this look like the ceph osd tree output or not.. it might be interesting to see the utilization stats for hosts and racks too.

Actions #1

Updated by Michael Kidd over 9 years ago

Sage Weil wrote:

i can't decide whether it makes sense to make this look like the ceph osd tree output or not.. it might be interesting to see the utilization stats for hosts and racks too.

I think it'd make a lot of sense to add a '--detail' or similar switch for osd tree which adds these additional outputs. Per-branch stats would also make sense in this context since OSD tree already breaks them out.

Actions #2

Updated by Travis Rhoden over 9 years ago

This would indeed be a nice feature. At Penguin, we had written some scripts that output the same information (but getting it from the nodes instead of the mon), and also had the ability to only show nodes above/below a certain percentage full, mainly to look for statistical outliers. Showing the avg and std dev info would make that very obvious.

Actions #3

Updated by Neil Levine over 9 years ago

I'd really like this data to be exposed up through Calamari too...

Actions #4

Updated by Sage Weil over 9 years ago

  • Target version changed from v0.92 to v0.93 - Last Hammer Sprint
Actions #5

Updated by Mykola Golub over 9 years ago

I created a pull request with incomplete implementation

https://github.com/ceph/ceph/pull/3347

more for discussion on this stage.

Actions #6

Updated by Sage Weil over 9 years ago

  • Status changed from New to 7
Actions #7

Updated by Sage Weil over 9 years ago

  • Status changed from 7 to Resolved
Actions

Also available in: Atom PDF