]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph: cleanup mds ceph status output
This is primarily to make the CephFS line more readable with lots of file
systems with more understandable output.
From something like:
mds: a-2/2/2 up {0=c=up:active,1=b=up:active}, 1 up:standby
Now with 1 FS and 1 active:
mds: a:1 {0=p=up:active}, 15 up:standby
2 FS, 2 actives:
mds: a:1 b:1 {a:0=o=up:active,b:0=n=up:active}, 14 up:standby
2 FS, 3 actives:
mds: a:1 b:2 {a:0=o=up:active,b:0=n=up:active,b:1=p=up:active}, 13 up:standby
3 FS and 2 active and 1 reconnect:
mds: a:1/1 b:1 c:1 {a:0=n=up:reconnect,b:0=p=up:active,c:0=o=up:active}, 13 up:standby
3 FS and 1 failed rank:
mds: a:0/1 b:1 c:1 {b:0=p=up:active,c:0=o=up:active}, 14 up:standby, 1 failed
3 FS, 4 actives:
mds: a:1 b:2 c:1 {a:0=o=up:active,b:0=n=up:active,b:1=p=up:active,c:0=l=up:active}, 12 up:standby
3 FS, 3 actives, 1 FS failed:
mds: a:1 b:2 c:0/1 {a:0=o=up:active,b:0=n=up:active,b:1=p=up:active}, 13 up:standby, 1 failed
3 FS, 5 actives:
mds: a:1 b:2 c:2 5 up:active, 11 up:standby
4 FS:
mds: 4 fs {a:0=o=up:active,b:0=n=up:active,c:0=l=up:active,d:0=p=up:active}, 12 up:standby
5 FS:
mds: 5 fs 5 up:active, 11 up:standby
5 FS, 1 degraded:
mds: 5 fs (degraded: c:0/1) {a:0=o=up:active,b:0=n=up:active,d:0=p=up:active,e:0=m=up:active}, 12 up:standby, 1 failed
8 FS, 1 degraded:
mds: 8 fs (degraded: c:0/1) 7 up:active, 9 up:standby, 1 failed
Fixes: http://tracker.ceph.com/issues/37954
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>