Project

General

Profile

Actions

Feature #56624

closed

add a column to indicate if a device has slaves in inventory subcommand

Added by Guillaume Abrioux almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
quincy,pacific
Reviewed:
Affected Versions:
Pull request ID:

Description

`ceph-volume inventory` currently reports the following:

# ceph-volume inventory

Device Path               Size        rotates available Model name
/dev/mapper/mpatha        50.00 GB    True    True
/dev/mapper/mpathaa       6.00 GB     True    True
/dev/mapper/mpathab       6.00 GB     True    True
/dev/mapper/mpathac       6.00 GB     True    True
/dev/mapper/mpathad       6.00 GB     True    True
/dev/mapper/mpathae       6.00 GB     True    True

whereas something like following would be useful:


# ceph-volume inventory

Device Path               Size         Device nodes    rotates available Model name
/dev/mapper/mpatha        50.00 GB     sdf,sde         True    True
/dev/mapper/mpathaa       6.00 GB      sdbe,sdat       True    True
/dev/mapper/mpathab       6.00 GB      sdav,sdbf       True    True
/dev/mapper/mpathac       6.00 GB      sdbb,sdbl       True    True
/dev/mapper/mpathad       6.00 GB      sdas,sdbc       True    True
/dev/mapper/mpathae       6.00 GB      sdax,sdbh       True    True

Related issues 2 (0 open2 closed)

Copied to ceph-volume - Backport #56957: pacific: add a column to indicate if a device has slaves in inventory subcommandResolvedGuillaume AbriouxActions
Copied to ceph-volume - Backport #56958: quincy: add a column to indicate if a device has slaves in inventory subcommandResolvedGuillaume AbriouxActions
Actions

Also available in: Atom PDF