找回密码
 注册
查看: 1574|回复: 0

查看osdmap 在ceph中查看

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-12-10 17:10:17 | 显示全部楼层 |阅读模式
[root@compute01 ~]# ceph osd getmap -o osds.map
* b: R, A4 d+ J$ zgot osdmap epoch 149) h( g0 B6 m! ]
[root@compute01 ~]# osdmaptool --print osds.map
2 g3 V0 }& c7 _+ A9 x1 josdmaptool: osdmap file 'osds.map'
4 ~$ a0 q8 o) |* \& B1 Bepoch 149! k- Z& {3 d" K) d8 g
fsid a6d0359e-8295-4e62-8620-54273462e79f
- S8 }( r1 o- ^created 2021-12-03 18:34:09.677584
; r8 n9 ~1 K# W7 @# ]4 }modified 2021-12-10 16:32:22.153190+ m" f' K1 o/ ^
flags sortbitwise,recovery_deletes,purged_snapdirs,pglog_hardlimit
. Q. D! V0 e4 e% S% X/ @crush_version 22
8 H& c1 ]; C* L# r9 O" F4 n% {full_ratio 0.95
, u- e6 x! X# @) d: V- ]. \/ |backfillfull_ratio 0.9
4 g0 ~$ T- B: t# Q# w0 @6 Nnearfull_ratio 0.85
6 x% K5 P5 r2 t9 J0 h4 Crequire_min_compat_client jewel
5 G( O7 G1 h. r6 S+ Smin_compat_client jewel
6 s/ A9 S; V5 C1 D  Frequire_osd_release nautilus2 D) [& R7 O* w# w- h; g  n
pool 5 'images' replicated size 2 min_size 2 crush_rule 1 object_hash rjenkins pg_num 64 pgp_num 64 autoscale_mode warn last_change 149 flags hashpspool,selfmanaged_snaps stripe_width 0 application rbd
% A! G, J7 M& k5 U. Y removed_snaps [1~3,5~7,d~7]
- v# e; ~2 t' j& E' kpool 6 'volumes' replicated size 3 min_size 2 crush_rule 1 object_hash rjenkins pg_num 1024 pgp_num 1024 autoscale_mode warn last_change 147 lfor 0/0/89 flags hashpspool,selfmanaged_snaps stripe_width 0 application rbd
; o, [6 A$ s: _' v0 s7 _% P; e removed_snaps [1~4,6~1]
7 a1 t4 ]' P; F' Z6 tpool 7 'backups' replicated size 3 min_size 2 crush_rule 1 object_hash rjenkins pg_num 128 pgp_num 128 autoscale_mode warn last_change 78 flags hashpspool stripe_width 0 application rbd
0 o. Z& ?0 ?. L* R9 mpool 8 'vms' replicated size 3 min_size 2 crush_rule 1 object_hash rjenkins pg_num 128 pgp_num 128 autoscale_mode warn last_change 125 flags hashpspool,selfmanaged_snaps stripe_width 0 application rbd
2 h( {! A4 M4 o) |  T removed_snaps [1~3]
. [* n* v8 c% J! K" {pool 9 'ceph-test' replicated size 2 min_size 2 crush_rule 1 object_hash rjenkins pg_num 64 pgp_num 64 autoscale_mode warn last_change 122 flags hashpspool,selfmanaged_snaps stripe_width 0 application rbd
8 q# _  x3 M3 f# s: z- z+ H4 a removed_snaps [1~3], `, D- d, Y9 r9 w6 X) a8 h
max_osd 7
6 y' b2 N+ T3 H: Sosd.0 up   in  weight 1 up_from 101 up_thru 119 down_at 100 last_clean_interval [43,99) [v2:192.168.0.75:6801/1643,v1:192.168.0.75:6803/1643] [v2:10.10.10.5:6802/1643,v1:10.10.10.5:6803/1643] exists,up 4f5521db-440b-4cbf-99f5-e635d43ff385; j; ~; K; s# _4 Q* f0 @
osd.1 up   in  weight 1 up_from 101 up_thru 119 down_at 100 last_clean_interval [43,99) [v2:192.168.0.75:6800/1645,v1:192.168.0.75:6802/1645] [v2:10.10.10.5:6800/1645,v1:10.10.10.5:6801/1645] exists,up d2c2a02e-db57-4ce2-a48c-4dc7bdb9c355
' h: n4 D- j( |osd.2 up   in  weight 1 up_from 107 up_thru 119 down_at 104 last_clean_interval [45,99) [v2:192.168.0.77:6800/1620,v1:192.168.0.77:6801/1620] [v2:10.10.10.6:6800/1620,v1:10.10.10.6:6801/1620] exists,up c0cd79db-1d5f-4fd7-93ed-134ba3db4c6a
& `. K3 L: N1 t2 k9 Kosd.3 up   in  weight 1 up_from 106 up_thru 119 down_at 104 last_clean_interval [45,99) [v2:192.168.0.77:6802/1624,v1:192.168.0.77:6803/1624] [v2:10.10.10.6:6802/1624,v1:10.10.10.6:6803/1624] exists,up 93e39c2f-7309-4c33-b093-468f9b0ff17c! J6 G( u! R: O) Z
osd.5 up   in  weight 1 up_from 102 up_thru 119 down_at 101 last_clean_interval [43,99) [v2:192.168.0.79:6800/1641,v1:192.168.0.79:6801/1641] [v2:10.10.10.7:6800/1641,v1:10.10.10.7:6801/1641] exists,up cf8b72d9-3e06-4afd-834b-eedacc09d87e9 I- L* ?# N/ H1 P# P
osd.6 up   in  weight 1 up_from 101 up_thru 119 down_at 100 last_clean_interval [43,99) [v2:192.168.0.79:6804/1643,v1:192.168.0.79:6805/1643] [v2:10.10.10.7:6804/1643,v1:10.10.10.7:6805/1643] exists,up feb33073-aa20-48cb-b947-d00b5a3e34db
7 m4 c3 A* q1 ~7 ^
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:57 , Processed in 0.020294 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表