]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: add volumes + status to data: section of 'ceph status'
authorSage Weil <sage@newdream.net>
Fri, 29 Jan 2021 21:41:48 +0000 (16:41 -0500)
committerSage Weil <sage@newdream.net>
Wed, 17 Feb 2021 22:13:27 +0000 (17:13 -0500)
commit60ebc9b04e1baae080fc5680b2a1a469f87d93b5
treee7be1ab1b36285780241e624494c5a814146a24b
parent9c4df44fc51344e0ba5bbe59815d6fb238111658
mds: add volumes + status to data: section of 'ceph status'

This expands the data: section to include volume count and high-level
status, expanding the view of "logical" data services:

  data:
    volumes: 0/1 file systems healthy, 1 degraded
    pools:   3 pools, 65 pgs
    objects: 22 objects, 2.3 KiB
    usage:   1.0 GiB used, 100 GiB / 101 GiB avail
    pgs:     65 active+clean

or

  data:
    volumes: 1/1 file systems healthy
    pools:   3 pools, 65 pgs
    objects: 22 objects, 2.3 KiB
    usage:   1.0 GiB used, 100 GiB / 101 GiB avail
    pgs:     65 active+clean

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/FSMap.cc
src/mds/FSMap.h
src/mds/MDSMap.h
src/mon/MDSMonitor.h
src/mon/Monitor.cc