Project

General

Profile

Actions

Feature #3120

closed

provide command "ceph-disk-list" that lists osd data/journal disks and their state

Added by Anonymous over 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Sandon Van Ness
Category:
-
Target version:
% Done:

90%

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

Description

This should be easy after #3078 and #3079.

Something like

$ sudo ceph-disk-list --help
usage: ceph-disk-list [-h] [-v]

List Ceph data and journal disks

optional arguments:
  -h, --help           show this help message and exit
  -v, --verbose        be more verbose

(imagine /dev/sda as system disk, three osds sharing an ssd for journals, only one running; the prepared journal lines show what disks they'd be paired with, or something)

$ sudo ceph-disk-list
data /dev/sdb1 active osd.42
data /dev/sdc1 prepared
data /dev/sdd1 prepared
journal /dev/sde1 active osd.42
journal /dev/sde2 prepared /dev/sdc1
journal /dev/sde3 prepared /dev/sdd1 
Actions

Also available in: Atom PDF