admin 发表于 2021-12-10 17:10:17

查看osdmap 在ceph中查看

# ceph osd getmap -o osds.map
got osdmap epoch 149
# osdmaptool --print osds.map
osdmaptool: osdmap file 'osds.map'
epoch 149
fsid a6d0359e-8295-4e62-8620-54273462e79f
created 2021-12-03 18:34:09.677584
modified 2021-12-10 16:32:22.153190
flags sortbitwise,recovery_deletes,purged_snapdirs,pglog_hardlimit
crush_version 22
full_ratio 0.95
backfillfull_ratio 0.9
nearfull_ratio 0.85
require_min_compat_client jewel
min_compat_client jewel
require_osd_release nautilus
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
removed_snaps
pool 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
removed_snaps
pool 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
pool 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
removed_snaps
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
removed_snaps
max_osd 7
osd.0 up   inweight 1 up_from 101 up_thru 119 down_at 100 last_clean_interval exists,up 4f5521db-440b-4cbf-99f5-e635d43ff385
osd.1 up   inweight 1 up_from 101 up_thru 119 down_at 100 last_clean_interval exists,up d2c2a02e-db57-4ce2-a48c-4dc7bdb9c355
osd.2 up   inweight 1 up_from 107 up_thru 119 down_at 104 last_clean_interval exists,up c0cd79db-1d5f-4fd7-93ed-134ba3db4c6a
osd.3 up   inweight 1 up_from 106 up_thru 119 down_at 104 last_clean_interval exists,up 93e39c2f-7309-4c33-b093-468f9b0ff17c
osd.5 up   inweight 1 up_from 102 up_thru 119 down_at 101 last_clean_interval exists,up cf8b72d9-3e06-4afd-834b-eedacc09d87e
osd.6 up   inweight 1 up_from 101 up_thru 119 down_at 100 last_clean_interval exists,up feb33073-aa20-48cb-b947-d00b5a3e34db
页: [1]
查看完整版本: 查看osdmap 在ceph中查看