| ceph osd |
ceph osd tree | فصل ۱ |
ceph osd pool create lab-pool | فصل ۱ |
ceph osd pool application enable lab-pool rados-test | فصل ۱ |
ceph osd map lab-pool hello | فصل ۱ |
ceph osd pool ls detail | فصل ۱ |
ceph osd df tree | فصل ۱ |
ceph osd pool autoscale-status | فصل ۱ |
ceph osd pool create rbd | فصل ۱ |
ceph osd pool rm lab-pool lab-pool --yes-i-really-really-mean-it | فصل ۱ |
ceph osd map rbd rbd_data.5e2a.0000000000000001 | فصل ۱ |
ceph osd pool create vms && rbd pool init vms | فصل ۲ |
ceph osd blocklist ls | فصل ۲ |
ceph osd pool create nvmeof-pool && rbd pool init nvmeof-pool Squid+ | فصل ۲ |
ceph osd pool create $p | فصل ۳ |
ceph osd pool ls detail | grep -E "images|volumes|backups|vms" | فصل ۳ |
ceph osd pool set volumes target_size_ratio 0.6 | فصل ۳ |
ceph osd pool set vms target_size_ratio 0.2 | فصل ۳ |
ceph osd pool set images target_size_ratio 0.1 | فصل ۳ |
ceph osd pool set backups target_size_ratio 0.1 | فصل ۳ |
ceph osd get-require-min-compat-client | فصل ۳ |
ceph osd pool create cephfs.fs02.meta | فصل ۶ |
ceph osd pool create cephfs.fs02.data | فصل ۶ |
ceph osd pool set cephfs.fs02.meta crush_rule ssd-rule | فصل ۶ |
ceph osd pool create cephfs.fs01.ec erasure | فصل ۶ |
ceph osd pool set cephfs.fs01.ec allow_ec_overwrites true | فصل ۶ |
ceph osd set norebalance && ceph osd set nobackfill | فصل ۷ |
ceph osd unset nobackfill && ceph osd unset norebalance | فصل ۷ |
ceph osd safe-to-destroy osd.9 | فصل ۷ |
ceph osd ok-to-stop osd.9 | فصل ۷ |
ceph osd tree down | فصل ۷ |
ceph osd safe-to-destroy osd.7 | فصل ۷ |
ceph osd tree | grep osd.7 | فصل ۷ |
ceph osd dump | grep -E 'full_ratio|nearfull' | فصل ۷ |
ceph osd df | sort -nk17 | tail | فصل ۷ |
ceph osd pool set rbd target_size_ratio 0.4 | فصل ۷ |
ceph osd pool set cephfs.fs01.meta pg_autoscale_mode on | فصل ۷ |
ceph osd pool set images bulk true | فصل ۷ |
ceph osd ok-to-stop $(ceph osd ls-tree ceph-node2 | tr '\n' ' ') | فصل ۷ |
ceph osd set noout | فصل ۷ |
ceph osd unset noout | فصل ۷ |
ceph osd set-group noout osd.4 | فصل ۷ |
ceph osd set-group noout ceph-node3 | فصل ۷ |
ceph osd unset-group noout ceph-node3 | فصل ۷ |
ceph osd map rbd rbd_data.12ab.0000000000000004 | فصل ۸ |
ceph osd crush tree --show-shadow | فصل ۸ |
ceph osd crush add-bucket rack1 rack | فصل ۸ |
ceph osd crush move rack1 root=default | فصل ۸ |
ceph osd crush move ceph-node1 rack=rack1 | فصل ۸ |
ceph osd crush set-device-class nvme osd.20 | فصل ۸ |
ceph osd crush class ls | فصل ۸ |
ceph osd crush reweight osd.20 3.49309 | فصل ۸ |
ceph osd reweight 20 0.9 | فصل ۸ |
ceph osd crush rule create-replicated rep-ssd-host default host ssd | فصل ۸ |
ceph osd crush rule create-replicated rep-rack default rack | فصل ۸ |
ceph osd erasure-code-profile set ec42-rack k=4 m=2 crush-failure-domain=rack crush-device-class=hdd | فصل ۸ |
ceph osd crush rule create-erasure ec42-rack ec42-rack | فصل ۸ |
ceph osd crush rule ls | فصل ۸ |
ceph osd crush rule dump rep-ssd-host | فصل ۸ |
ceph osd getcrushmap -o crush.bin | فصل ۸ |
ceph osd setcrushmap -i crush.new | فصل ۸ |
ceph osd crush show-tunables | فصل ۸ |
ceph osd crush tunables optimal | فصل ۸ |
ceph osd crush set-all-straw-buckets-to-straw2 | فصل ۸ |
ceph osd crush rm-device-class osd.$id | فصل ۸ |
ceph osd crush set-device-class fastnvme osd.$id | فصل ۸ |
ceph osd crush rule create-replicated fast-host default host fastnvme | فصل ۸ |
ceph osd pool create tenant-a-db 64 64 replicated fast-host | فصل ۸ |
ceph osd pool application enable tenant-a-db rbd | فصل ۸ |
ceph osd pool create analytics-rbd --autoscale-mode=on | فصل ۹ |
ceph osd pool set analytics-rbd crush_rule rep-ssd-host | فصل ۹ |
ceph osd pool application enable analytics-rbd rbd | فصل ۹ |
ceph osd pool create benchpool 128 128 | فصل ۱۰ |
ceph osd pool application enable benchpool rados-bench --yes-i-really-mean-it | فصل ۱۰ |
ceph osd perf | فصل ۱۰ |
ceph osd metadata 3 | jq '{bluefs_dedicated_db, bluefs_db_size, devices}' | فصل ۱۲ |
ceph osd pool set rgw-data compression_algorithm zstd | فصل ۱۲ |
ceph osd pool set rgw-data compression_mode aggressive | فصل ۱۲ |
ceph osd pool set rgw-data compression_required_ratio 0.875 | فصل ۱۲ |
ceph osd erasure-code-profile ls | فصل ۱۳ |
ceph osd erasure-code-profile get default | فصل ۱۳ |
ceph osd erasure-code-profile set ec42 plugin=isa technique=reed_sol_van k=4 m=2 \ | فصل ۱۳ |
ceph osd pool create ecpool erasure ec42 | فصل ۱۳ |
ceph osd pool set ecpool allow_ec_overwrites true | فصل ۱۳ |
ceph osd pool application enable ecpool rgw | فصل ۱۳ |
ceph osd erasure-code-profile set lrc42 plugin=lrc k=4 m=2 l=3 crush-failure-domain=host | فصل ۱۳ |
ceph osd erasure-code-profile set clay42 plugin=clay k=4 m=2 d=5 crush-failure-domain=host | فصل ۱۳ |
ceph osd pool set ecpool allow_ec_optimizations true Tentacle+ | فصل ۱۳ |
ceph osd pool get ecpool allow_ec_optimizations Tentacle+ | فصل ۱۳ |
ceph osd erasure-code-profile set ec42fast plugin=isa technique=reed_sol_van k=4 m=2 \ Tentacle+ | فصل ۱۳ |
ceph osd pool create rbd-ec erasure ec42fast Tentacle+ | فصل ۱۳ |
ceph osd pool set rbd-ec allow_ec_overwrites true Tentacle+ | فصل ۱۳ |
ceph osd pool set rbd-ec allow_ec_optimizations true Tentacle+ | فصل ۱۳ |
ceph osd crush rule dump ecpool | فصل ۱۳ |
ceph osd getcrushmap -o cm && crushtool -i cm --test --rule <id> --num-rep 6 --show-bad-mappings | فصل ۱۳ |
ceph osd pool set ecpool fast_read 1 | فصل ۱۳ |
ceph osd pool create devpool 32 | فصل ۱۴ |
ceph osd pool application enable devpool myapp | فصل ۱۴ |
ceph osd tier add cold-storage hot-storage | فصل ۱۶ |
ceph osd tier cache-mode hot-storage writeback | فصل ۱۶ |
ceph osd tier set-overlay cold-storage hot-storage | فصل ۱۶ |
ceph osd pool set hot-storage hit_set_type bloom | فصل ۱۶ |
ceph osd pool set hot-storage hit_set_count 12 | فصل ۱۶ |
ceph osd pool set hot-storage hit_set_period 14400 | فصل ۱۶ |
ceph osd pool set hot-storage target_max_bytes 1099511627776 | فصل ۱۶ |
ceph osd pool ls detail | grep -E "tier|cache_mode|read_tier|write_tier" | فصل ۱۶ |
ceph osd tier cache-mode hot-storage proxy | فصل ۱۶ |
ceph osd tier remove-overlay cold-storage | فصل ۱۶ |
ceph osd tier remove cold-storage hot-storage | فصل ۱۶ |
ceph osd crush rule create-replicated fast-rule default host nvme | فصل ۱۶ |
ceph osd erasure-code-profile set cold-ec k=4 m=2 crush-failure-domain=host crush-device-class=hdd | فصل ۱۶ |
ceph osd pool create vm-fast 128 128 replicated fast-rule | فصل ۱۶ |
ceph osd pool create archive 256 256 erasure cold-ec | فصل ۱۶ |
ceph osd pool set archive allow_ec_overwrites true | فصل ۱۶ |
ceph osd find 12 | فصل ۱۷ |
ceph osd dump | grep -E "^osd.12 " | فصل ۱۷ |
ceph osd dump | grep -E 'stretch_mode|degraded_stretch|recovering_stretch' | فصل ۱۸ |
ceph osd pool ls detail | grep -E 'peering_crush|min_size' | فصل ۱۸ |
ceph osd crush add-bucket site1 datacenter | فصل ۱۸ |
ceph osd crush add-bucket site2 datacenter | فصل ۱۸ |
ceph osd crush move site1 root=default | فصل ۱۸ |
ceph osd crush move site2 root=default | فصل ۱۸ |
ceph osd crush move stor-a1 datacenter=site1 | فصل ۱۸ |
ceph osd tree | grep -E "down|destroyed" | فصل ۱۹ |
ceph osd pool set vm-fast target_size_ratio 0.4 | فصل ۱۹ |
ceph osd pool set archive bulk true | فصل ۱۹ |
ceph osd pool set archive pg_num_min 256 | فصل ۱۹ |
ceph osd pool get threshold | فصل ۱۹ |
ceph osd pool set noautoscale | فصل ۱۹ |
ceph osd pool unset noautoscale | فصل ۱۹ |
ceph osd df tree | sort -nk17 | tail | فصل ۱۹ |
ceph osd set-group noout stor-b3 | فصل ۱۹ |
ceph osd unset-group noout stor-b3 | فصل ۱۹ |
ceph osd set norebalance && ceph osd unset norebalance | فصل ۱۹ |
ceph osd metadata 4 | jq '{bluestore_bdev_type, bluestore_bdev_rotational, bluestore_bdev_dev_node}' | فصل ۲۳ |
ceph osd erasure-code-profile set ec42 plugin=isa technique=reed_sol_van k=4 m=2 crush-failure-domain=host Tentacle+ | فصل ۲۷ |
ceph osd pool create ecdata erasure ec42 Tentacle+ | فصل ۲۷ |
ceph osd pool set ecdata allow_ec_overwrites true Tentacle+ | فصل ۲۷ |
ceph osd pool set ecdata allow_ec_optimizations true Tentacle+ | فصل ۲۷ |
ceph osd pool get ecdata all | grep -E 'ec_optim|stripe' Tentacle+ | فصل ۲۷ |
ceph osd pool ls detail | grep -E 'erasure|stripe_width' | فصل ۲۷ |
ceph osd getcrushmap -o cm.bin && crushtool -d cm.bin -o cm.txt | فصل ۲۸ |
ceph osd map rbd rbd_data.10ab2c3d4e5f.0000000000000000 | فصل ۲۸ |
ceph osd pg-upmap-items 3.15 4 11 | فصل ۲۸ |
ceph osd rm-pg-upmap-items 3.15 | فصل ۲۸ |
ceph osd crush weight-set ls | فصل ۲۸ |
ceph osd dump | grep -E '^pg_upmap(_items|_primary)?' | head | فصل ۲۸ |
ceph osd crush rule create-replicated fast default host ssd | فصل ۲۸ |
ceph osd crush class ls-osd ssd | فصل ۲۸ |
ceph osd dump | grep -E 'allow_crimson|crimson' فقط main | فصل ۳۰ |
ceph osd numa-status | فصل ۳۳ |
ceph osd map rbd rbd_header.5f3a2b8c1d4e | فصل ۳۴ |
| ceph orch |
ceph orch host add ceph-node2 192.168.56.12 --labels _admin | فصل ۱ |
ceph orch host add ceph-node3 192.168.56.13 | فصل ۱ |
ceph orch host ls | فصل ۱ |
ceph orch apply mon --placement="ceph-node1,ceph-node2,ceph-node3" | فصل ۱ |
ceph orch apply mgr --placement="ceph-node1,ceph-node2" | فصل ۱ |
ceph orch ls | فصل ۱ |
ceph orch ps | فصل ۱ |
ceph orch device ls | فصل ۱ |
ceph orch apply osd --all-available-devices | فصل ۱ |
ceph orch daemon add osd ceph-node1:/dev/sdb | فصل ۱ |
ceph orch host add ceph-node4 192.168.56.14 | فصل ۱ |
ceph orch host label add ceph-node4 rgw | فصل ۱ |
ceph orch device ls ceph-node4 | فصل ۱ |
ceph orch host label add ceph-node4 mon | فصل ۱ |
ceph orch apply -i mon.yaml | فصل ۱ |
ceph orch apply rgw demo --placement="label:rgw" --port=8080 | فصل ۱ |
ceph orch apply rbd-mirror --placement="2 ceph-node2 ceph-node3" | فصل ۲ |
ceph orch ps --daemon-type rbd-mirror | فصل ۲ |
ceph orch apply nvmeof nvmeof-pool group1 --placement="ceph-node2,ceph-node3" Squid+ | فصل ۲ |
ceph orch host label add ceph-node3 rgw | فصل ۴ |
ceph orch apply rgw objstore --placement="label:rgw count-per-host:1" --port=8080 | فصل ۴ |
ceph orch ls rgw | فصل ۴ |
ceph orch ps --daemon-type rgw | فصل ۴ |
ceph orch apply -i ingress.yaml | فصل ۴ |
ceph orch ls ingress | فصل ۴ |
ceph orch restart rgw.objstore | فصل ۴ |
ceph orch apply rgw gold-eu1 --realm=gold --zone=eu-1 \ | فصل ۵ |
ceph orch apply rgw gold-eu2 --realm=gold --zone=eu-2 \ | فصل ۵ |
ceph orch restart rgw.gold-eu2 | فصل ۵ |
ceph orch restart rgw.gold-eu1 | فصل ۵ |
ceph orch ps --daemon-type mds | فصل ۶ |
ceph orch apply mds fs02 --placement="2 ceph-node3 ceph-node4" | فصل ۶ |
ceph orch apply cephfs-mirror --placement="1 ceph-node2" | فصل ۶ |
ceph orch ps --daemon-type osd --hostname ceph-node2 | فصل ۷ |
ceph orch ls --export > cluster-specs.yaml | فصل ۷ |
ceph orch daemon restart osd.3 | فصل ۷ |
ceph orch daemon stop mds.fs01.ceph-node3.xyzabc | فصل ۷ |
ceph orch daemon start mds.fs01.ceph-node3.xyzabc | فصل ۷ |
ceph orch daemon redeploy mgr.ceph-node1.abcdef | فصل ۷ |
ceph orch host add ceph-node5 192.168.10.15 --labels osd | فصل ۷ |
ceph orch device ls ceph-node5 --refresh | فصل ۷ |
ceph orch ls osd | فصل ۷ |
ceph orch apply -i osd-spec.yaml | فصل ۷ |
ceph orch host label add ceph-node5 mon | فصل ۷ |
ceph orch apply -i mon-spec.yaml | فصل ۷ |
ceph orch osd rm 9 | فصل ۷ |
ceph orch osd rm status | فصل ۷ |
ceph orch host drain ceph-node5 | فصل ۷ |
ceph orch ps ceph-node5 | فصل ۷ |
ceph orch host rm ceph-node5 | فصل ۷ |
ceph orch osd rm 7 --replace --zap | فصل ۷ |
ceph orch device ls ceph-node2 --refresh | فصل ۷ |
ceph orch upgrade start --image quay.io/ceph/ceph:v20.2.5 | فصل ۷ |
ceph orch upgrade status | فصل ۷ |
ceph orch upgrade pause | فصل ۷ |
ceph orch upgrade resume | فصل ۷ |
ceph orch upgrade stop | فصل ۷ |
ceph orch upgrade start --image quay.io/ceph/ceph:v21.2.0 --daemon-types mgr,mon Umbrella+ | فصل ۷ |
ceph orch host maintenance enter ceph-node2 | فصل ۷ |
ceph orch host maintenance exit ceph-node2 | فصل ۷ |
ceph orch apply mgmt-gateway --placement="label:mgmt" Tentacle+ | فصل ۹ |
ceph orch apply mgmt-gateway --virtual_ip 192.168.10.60 --enable-auth=true --placement="label:mgmt" Tentacle+ | فصل ۹ |
ceph orch ls mgmt-gateway Tentacle+ | فصل ۹ |
ceph orch daemon stop osd.12 | فصل ۱۰ |
ceph orch daemon stop osd.20 | فصل ۱۰ |
ceph orch daemon start osd.20 | فصل ۱۰ |
ceph orch apply -i cluster.yaml --dry-run | فصل ۱۱ |
ceph orch apply -i cluster.yaml | فصل ۱۱ |
ceph orch ls --export > cluster-current.yaml | فصل ۱۱ |
ceph orch ls osd --export | فصل ۱۱ |
ceph orch rm rgw.objstore | فصل ۱۱ |
ceph orch device ls --wide | فصل ۱۱ |
ceph orch ls --export > /srv/ceph-gitops/specs/cluster.yaml | فصل ۱۱ |
ceph orch apply -i osd-hybrid.yaml --dry-run | فصل ۱۱ |
ceph orch device ls --refresh --wide | فصل ۱۱ |
ceph orch ls --export > /tmp/live-specs.yaml | فصل ۱۱ |
ceph orch daemon stop osd.7 | فصل ۱۲ |
ceph orch daemon start osd.7 | فصل ۱۲ |
ceph orch restart osd.<service> | فصل ۱۵ |
ceph orch apply rbd-mirror --placement=1 | فصل ۱۸ |
ceph orch upgrade start --ceph-version 20.2.5 | فصل ۱۹ |
ceph orch upgrade pause | resume | stop | فصل ۱۹ |
ceph orch upgrade start --image quay.io/ceph/ceph:v20.2.5 --daemon-types mgr,mon --hosts mon1,mon2 | فصل ۱۹ |
ceph orch upgrade start --image quay.io/ceph/ceph:v20.2.5 --services rgw.s3main --limit 2 | فصل ۱۹ |
ceph orch osd rm 17 --replace | فصل ۱۹ |
ceph orch device ls stor-b3 --refresh | فصل ۱۹ |
ceph orch device zap stor-b3 /dev/sdk --force | فصل ۱۹ |
ceph orch ps --daemon-type osd | grep osd.17 | فصل ۱۹ |
ceph orch host maintenance enter stor-b3 | فصل ۱۹ |
ceph orch host maintenance exit stor-b3 | فصل ۱۹ |
ceph orch host drain stor-b3 | فصل ۱۹ |
ceph orch host rm stor-b3 | فصل ۱۹ |
ceph orch apply node-exporter | فصل ۲۰ |
ceph orch apply ceph-exporter | فصل ۲۰ |
ceph orch apply alertmanager | فصل ۲۰ |
ceph orch apply prometheus | فصل ۲۰ |
ceph orch apply grafana | فصل ۲۰ |
ceph orch ls --service-type prometheus | فصل ۲۰ |
ceph orch apply mgmt-gateway --virtual_ip 192.0.2.50 --enable-auth=true --placement="label:mgmt" Tentacle+ | فصل ۲۰ |
ceph orch apply oauth2-proxy -i oauth2-proxy.yaml Tentacle+ | فصل ۲۰ |
ceph orch ls | grep -E "mgmt-gateway|oauth2" Tentacle+ | فصل ۲۰ |
ceph orch host ls --detail | فصل ۲۱ |
ceph orch apply nvmeof POOL GROUP --placement="host01, host02" Tentacle+ | فصل ۳۱ |
| ceph config |
ceph config dump | فصل ۱ |
ceph config get osd osd_memory_target | فصل ۱ |
ceph config set osd osd_max_backfills 2 | فصل ۱ |
ceph config show osd.0 | head | فصل ۱ |
ceph config help osd_memory_target | فصل ۱ |
ceph config set mon mon_allow_pool_delete true | فصل ۱ |
ceph config set mon mon_allow_pool_delete false | فصل ۱ |
ceph config generate-minimal-conf > /tmp/ceph.conf | فصل ۲ |
ceph config set client.rgw rgw_dns_name s3.example.com | فصل ۴ |
ceph config set client.rgw rgw_keystone_url https://keystone.example.com:5000 | فصل ۴ |
ceph config set client.rgw rgw_keystone_api_version 3 | فصل ۴ |
ceph config set client.rgw rgw_keystone_admin_user rgw | فصل ۴ |
ceph config set client.rgw rgw_keystone_admin_password_path /etc/ceph/keystone.pass | فصل ۴ |
ceph config set client.rgw rgw_keystone_admin_domain Default | فصل ۴ |
ceph config set client.rgw rgw_keystone_admin_project service | فصل ۴ |
ceph config set client.rgw rgw_keystone_accepted_roles "member,admin" | فصل ۴ |
ceph config set client.rgw rgw_keystone_implicit_tenants true | فصل ۴ |
ceph config set client.rgw rgw_swift_account_in_url true | فصل ۴ |
ceph config set client.rgw rgw_s3_auth_use_keystone true | فصل ۴ |
ceph config set osd osd_memory_target 6442450944 | فصل ۷ |
ceph config set osd.12 osd_memory_target 8589934592 | فصل ۷ |
ceph config set osd/class:ssd osd_memory_target 8589934592 | فصل ۷ |
ceph config set client.rgw.objstore rgw_max_concurrent_requests 2048 | فصل ۷ |
ceph config show osd.3 | grep memory_target | فصل ۷ |
ceph config log 10 | فصل ۷ |
ceph config set mgr target_max_misplaced_ratio .03 | فصل ۷ |
ceph config get osd osd_mclock_profile | فصل ۷ |
ceph config set osd osd_mclock_profile high_recovery_ops | فصل ۷ |
ceph config set osd osd_mclock_profile balanced | فصل ۷ |
ceph config set osd osd_scrub_begin_hour 1 | فصل ۷ |
ceph config set osd osd_scrub_end_hour 6 | فصل ۷ |
ceph config get mon ms_cluster_mode | فصل ۸ |
ceph config get mon ms_service_mode | فصل ۸ |
ceph config get mon ms_client_mode | فصل ۸ |
ceph config set global ms_cluster_mode "secure" | فصل ۸ |
ceph config set global ms_client_mode secure | فصل ۸ |
ceph config set global ms_service_mode secure | فصل ۸ |
ceph config set mgr mgr/prometheus/rbd_stats_pools "analytics-rbd" | فصل ۹ |
ceph config set mgr mgr/pgwatch/interval 10 | فصل ۹ |
ceph config set global mgr_stats_period p ؛ صبر 2p+2 ثانیه | فصل ۹ |
ceph config dump | grep osd_mclock_max_capacity_iops | فصل ۱۰ |
ceph config set mgr mgr/cephadm/container_image_prometheus registry.internal:5000/prometheus/prometheus:<tag> | فصل ۱۱ |
ceph config set mgr mgr/cephadm/container_image_grafana registry.internal:5000/ceph/grafana:<tag> | فصل ۱۱ |
ceph config set mgr mgr/cephadm/log_to_cluster_level debug | فصل ۱۱ |
ceph config dump --format json | jq -S 'sort_by(.section, .name)' > /tmp/live-config.json | فصل ۱۱ |
ceph config set global osd_pool_default_flag_ec_optimizations true Tentacle+ | فصل ۱۳ |
ceph config get client objecter_inflight_ops | فصل ۱۴ |
ceph config get client objecter_inflight_op_bytes | فصل ۱۴ |
ceph config set client.devapp rados_osd_op_timeout 30 | فصل ۱۴ |
ceph config get osd osd_class_dir | فصل ۱۵ |
ceph config set client.rgw rgw_lifecycle_work_time "00:00-23:59" | فصل ۱۶ |
ceph config get mon mon_stretch_cluster_recovery_ratio | فصل ۱۸ |
ceph config set mgr mgr/balancer/upmap_max_deviation 1 | فصل ۱۹ |
ceph config dump | head | فصل ۱۹ |
ceph config get osd.12 osd_memory_target | فصل ۱۹ |
ceph config show osd.12 | grep -E "osd_memory_target|osd_max_backfills" | فصل ۱۹ |
ceph config set osd/class:hdd osd_memory_target 6G | فصل ۱۹ |
ceph config set osd.12 debug_osd 10/10 | فصل ۱۹ |
ceph config rm osd.12 debug_osd | فصل ۱۹ |
ceph config log 20 | فصل ۱۹ |
ceph config reset 1234 | فصل ۱۹ |
ceph config help osd_op_queue | فصل ۱۹ |
ceph config get client.ceph-exporter exporter_prio_limit | فصل ۲۰ |
ceph config get mgr mgr_stats_period | فصل ۲۰ |
ceph config set osd osd_mclock_profile high_client_ops | فصل ۲۱ |
ceph config show osd.0 | grep -E "osd_mclock_max_capacity_iops|osd_mclock_scheduler" | فصل ۲۱ |
ceph config set osd/host:stor-a1 osd_memory_target 8G | فصل ۲۱ |
ceph config show osd.3 bluestore_throttle_cost_per_io | فصل ۲۱ |
ceph config set osd.3 debug_osd 20 ; ceph config set osd.3 debug_bluestore 20 | فصل ۲۲ |
ceph config rm osd.3 debug_osd ; ceph config rm osd.3 debug_bluestore | فصل ۲۲ |
ceph config get osd.4 bdev_ioring | فصل ۲۳ |
ceph config get osd.4 osd_memory_target | فصل ۲۳ |
ceph config set osd bluestore_rocksdb_options_annex "max_background_jobs=6" | فصل ۲۵ |
ceph config set osd crimson_prometheus_port_base 29180 فقط main | فصل ۳۰ |
ceph config set osd debug_osd 20/20 Squid+ | فصل ۳۲ |
| ceph tell |
ceph tell mds.cephfs:0 session ls | jq '.[] | {id, num_caps, "client": .client_metadata.hostname}' | فصل ۶ |
ceph tell mds.cephfs:0 dump_ops_in_flight | jq '.ops[0]' | فصل ۶ |
ceph tell mds.cephfs:0 perf dump mds_log | jq '.mds_log | {ev, seg, evtrm}' | فصل ۶ |
ceph tell mds.cephfs:0 cache status | فصل ۶ |
ceph tell mds.fs01:0 session ls | فصل ۶ |
ceph tell mds.fs01:0 perf dump mds_server | فصل ۶ |
ceph tell mds.fs01:0 dump_ops_in_flight | فصل ۶ |
ceph tell mds.fs01:0 cache status | فصل ۶ |
ceph tell mds.fs01:0 client ls | grep -E '"id"|hostname' | فصل ۶ |
ceph tell mds.fs01:0 client evict id=4305 | فصل ۶ |
ceph tell osd.* config set debug_osd 10/10 | فصل ۷ |
ceph tell osd.* config set debug_osd 1/5 | فصل ۷ |
ceph tell mon.ceph-node1 mon_status | فصل ۸ |
ceph tell mgr.$(ceph mgr stat | jq -r .active_name) config set debug_mgr 20 | فصل ۹ |
ceph tell osd.0 bench | فصل ۱۰ |
ceph tell osd.0 bench 12288000 4096 4194304 100 | فصل ۱۰ |
ceph tell osd.3 dump_ops_in_flight | فصل ۱۰ |
ceph tell osd.3 dump_historic_slow_ops | فصل ۱۰ |
ceph tell osd.* version | فصل ۱۰ |
ceph tell mon.* sessions | jq length | فصل ۱۰ |
ceph tell mds.fs01:0 perf dump | فصل ۱۰ |
ceph tell mds.fs01:0 perf dump mds_server | jq '.mds_server | {req: .handle_client_request}' | فصل ۱۰ |
ceph tell osd.4 bench | فصل ۱۰ |
ceph tell osd.4 bench 12288000 4096 4194304 100 | فصل ۱۰ |
ceph tell osd.3 dump_mempools | jq '.mempool.by_pool | to_entries | sort_by(-.value.bytes) | .[0:5]' | فصل ۱۰ |
ceph tell osd.3 heap stats | فصل ۱۰ |
ceph tell osd.3 heap release | فصل ۱۰ |
ceph tell osd.3 heap start_profiler | فصل ۱۰ |
ceph tell osd.3 heap dump | فصل ۱۰ |
ceph tell osd.3 heap stop_profiler | فصل ۱۰ |
ceph tell osd.3 bluefs stats | فصل ۱۲ |
ceph tell osd.3 bluestore allocator score block | فصل ۱۲ |
ceph tell osd.3 bluestore allocator fragmentation histogram block | فصل ۱۲ |
ceph tell osd.4 config get osd_backoff_on_peering | فصل ۱۴ |
ceph tell osd.4 dump_mempools | jq '.mempool.by_pool | to_entries | sort_by(-.value.bytes) | .[:6]' | فصل ۲۳ |
ceph tell osd.4 dump_mempools | jq '.mempool.total' | فصل ۲۳ |
ceph tell osd.4 compact | فصل ۲۵ |
ceph tell osd.4 config get osd_recovery_max_active_hdd | فصل ۲۷ |
ceph tell osd.0 dump_metrics reactor_utilization فقط main | فصل ۳۰ |
ceph tell osd.0 dump_store_shards فقط main | فصل ۳۰ |
ceph tell osd.4 dump_scrubs Squid+ | فصل ۳۲ |
ceph tell osd.4 dump_scrub_reservations Squid+ | فصل ۳۲ |
ceph tell osd.4 dump_recovery_reservations Squid+ | فصل ۳۲ |
ceph tell osd.3 dump_mempools | jq '.mempool.by_pool | to_entries | sort_by(-.value.bytes) | .[:5]' | فصل ۳۳ |
ceph tell osd.3 perf dump | jq '."bluestore-pricache:meta"' | فصل ۳۳ |
| ceph fs |
ceph fs volume create cephfs01 | فصل ۱ |
ceph fs volume create manila-fs | فصل ۳ |
ceph fs volume create fs01 --placement="2 ceph-node3 ceph-node4" | فصل ۶ |
ceph fs ls | فصل ۶ |
ceph fs status fs01 | فصل ۶ |
ceph fs new fs02 cephfs.fs02.meta cephfs.fs02.data | فصل ۶ |
ceph fs set fs01 allow_standby_replay true | فصل ۶ |
ceph fs set fs01 standby_count_wanted 1 | فصل ۶ |
ceph fs set fs01 max_mds 2 | فصل ۶ |
ceph fs authorize fs01 client.webapp /web rw | فصل ۶ |
ceph fs authorize fs01 client.analyst / r /reports rw | فصل ۶ |
ceph fs subvolumegroup create fs01 smb Tentacle+ | فصل ۶ |
ceph fs subvolume create fs01 docs --group_name smb --size 107374182400 Tentacle+ | فصل ۶ |
ceph fs status ; ceph health detail | grep -E 'MDS_|CLIENT' | فصل ۶ |
ceph fs subvolumegroup create fs01 teams | فصل ۶ |
ceph fs subvolume create fs01 data-eng --group_name teams --size 53687091200 --mode 770 | فصل ۶ |
ceph fs subvolume getpath fs01 data-eng --group_name teams | فصل ۶ |
ceph fs subvolume info fs01 data-eng --group_name teams | فصل ۶ |
ceph fs subvolume resize fs01 data-eng 107374182400 --group_name teams --no_shrink | فصل ۶ |
ceph fs subvolume ls fs01 --group_name teams | فصل ۶ |
ceph fs subvolume snapshot create fs01 data-eng snap-2026-11-15 --group_name teams | فصل ۶ |
ceph fs subvolume snapshot clone fs01 data-eng snap-2026-11-15 data-eng-test --group_name teams | فصل ۶ |
ceph fs clone status fs01 data-eng-test | فصل ۶ |
ceph fs snap-schedule add /projects 1h --fs fs01 | فصل ۶ |
ceph fs snap-schedule retention add /projects h 24 --fs fs01 | فصل ۶ |
ceph fs snap-schedule retention add /projects d 7 --fs fs01 | فصل ۶ |
ceph fs snap-schedule status /projects --fs fs01 | فصل ۶ |
ceph fs add_data_pool fs01 cephfs.fs01.ec | فصل ۶ |
ceph fs authorize fs01 client.mirror_remote / rwps | فصل ۶ |
ceph fs snapshot mirror peer_bootstrap create fs01 client.mirror_remote site-b | فصل ۶ |
ceph fs snapshot mirror enable fs01 | فصل ۶ |
ceph fs snapshot mirror peer_bootstrap import fs01 <token> | فصل ۶ |
ceph fs snapshot mirror add fs01 /projects | فصل ۶ |
ceph fs snapshot mirror peer_list fs01 | فصل ۶ |
ceph fs status | فصل ۶ |
ceph fs subvolumegroup create fs01 analytics | فصل ۹ |
ceph fs subvolume create fs01 shared --group_name analytics --size 2199023255552 | فصل ۹ |
ceph fs subvolume getpath fs01 shared --group_name analytics | فصل ۹ |
| ceph pg |
ceph pg ls-by-pool lab-pool | head | فصل ۱ |
ceph pg force-recovery 2.1f | فصل ۷ |
ceph pg force-backfill 2.1f 2.20 | فصل ۷ |
ceph pg cancel-force-recovery 2.1f | فصل ۷ |
ceph pg deep-scrub 2.1f | فصل ۷ |
ceph pg map 3.1f | فصل ۸ |
ceph pg stat | فصل ۸ |
ceph pg dump_stuck inactive | فصل ۸ |
ceph pg dump_stuck unclean | فصل ۸ |
ceph pg ls degraded | فصل ۸ |
ceph pg 3.1f query | jq '.recovery_state' | فصل ۸ |
ceph pg ls-by-pool tenant-a-db | head | فصل ۸ |
ceph pg 5.3a query | jq .state | فصل ۱۰ |
ceph pg ls-by-pool ecpool | grep -c 2147483647 | فصل ۱۳ |
ceph pg 5.1as2 query | jq '.info | {last_update, last_complete, log_tail}' | فصل ۱۳ |
ceph pg 5.1a list_unfound | فصل ۱۳ |
ceph pg dump_stuck stale | فصل ۱۷ |
ceph pg ls down | فصل ۱۷ |
ceph pg 2.1f query | jq '.state, .recovery_state[0]' | فصل ۱۷ |
ceph pg repair 2.1f | فصل ۱۷ |
ceph pg 2.5 list_unfound | فصل ۱۷ |
ceph pg 2.5 query | jq '.recovery_state[] | select(.name|test("Active")) | .might_have_unfound' | فصل ۱۷ |
ceph pg 2.5 mark_unfound_lost revert | فصل ۱۷ |
ceph pg <pgid> query | jq '.info.stats.stat_sum.num_objects_degraded' | فصل ۲۷ |
ceph pg 2.1f query | jq '.recovery_state' Squid+ | فصل ۳۲ |
| ceph daemon |
ceph daemon osd.4 bluestore allocator score block | فصل ۱ |
ceph daemon osd.3 config show | فصل ۷ |
ceph daemon mon.a sessions | jq length | فصل ۷ |
ceph daemon osd.4 dump_ops_in_flight | jq '.ops[] | select(.description|test("ECSub"))' | فصل ۱۳ |
ceph daemon osd.4 dump_blocked_ops | فصل ۱۴ |
ceph daemon client.admin.<pid>.<cookie> objecter_requests | فصل ۱۴ |
ceph daemon osd.12 status | فصل ۱۷ |
ceph daemon osd.7 dump_ops_in_flight | jq '.ops[] | {age, description, last: .type_data.events[-1].event}' | فصل ۱۷ |
ceph daemon osd.7 dump_blocked_ops | فصل ۱۷ |
ceph daemon osd.7 dump_historic_slow_ops | jq '.ops[0].type_data.events' | فصل ۱۷ |
ceph daemon osd.7 dump_historic_ops_by_duration | jq '.ops[0:3][] | {duration, description}' | فصل ۱۷ |
ceph daemon osd.3 counter schema | jq 'keys' | head | فصل ۲۰ |
ceph daemon osd.3 counter dump | jq '.osd[0].counters | {op_w, op_r}' | فصل ۲۰ |
ceph daemon osd.3 perf dump osd | jq '.osd.op_w_latency' | فصل ۲۰ |
ceph daemon osd.3 perf schema | jq '.osd.op_r_latency' | فصل ۲۰ |
ceph daemon osd.3 perf dump | jq '.osd.op_r_latency' | فصل ۲۰ |
ceph daemon osd.3 counter dump | jq 'keys' | head | فصل ۲۰ |
ceph daemon osd.3 dump_mempools | jq '.mempool.by_pool | to_entries | sort_by(-.value.bytes) | .[0:5]' | فصل ۲۱ |
ceph daemon osd.3 perf dump | jq '.prioritycache' | فصل ۲۱ |
ceph daemon osd.3 dump_mempools | jq '.mempool.total' | فصل ۲۱ |
ceph daemon osd.4 bluefs stats | فصل ۲۴ |
ceph daemon osd.4 bluestore allocator fragmentation histogram block | فصل ۲۴ |
ceph daemon osd.4 perf dump bluestore | jq '.bluestore | {onodes, onode_hits, onode_misses}' | فصل ۲۴ |
ceph daemon osd.4 messenger dump | فصل ۲۶ |
ceph daemon osd.12 dump_ops_in_flight | jq '.ops[] | {description, age, flag_point}' | فصل ۳۴ |
| ceph dashboard |
ceph dashboard create-self-signed-cert | فصل ۹ |
ceph dashboard set-ssl-certificate -i dashboard.crt | فصل ۹ |
ceph dashboard set-ssl-certificate-key -i dashboard.key | فصل ۹ |
ceph dashboard ac-user-create admin2 -i /root/dash-admin.pw administrator | فصل ۹ |
ceph dashboard ac-user-show admin2 | فصل ۹ |
ceph dashboard ac-role-show | فصل ۹ |
ceph dashboard ac-role-create storage-ops "Ops team: OSD and pool only" | فصل ۹ |
ceph dashboard ac-role-add-scope-perms storage-ops osd read update | فصل ۹ |
ceph dashboard ac-role-add-scope-perms storage-ops pool read create update | فصل ۹ |
ceph dashboard ac-user-create --pwd_update_required alice -i /root/alice.pw storage-ops | فصل ۹ |
ceph dashboard ac-user-set-roles alice storage-ops read-only | فصل ۹ |
ceph dashboard ac-user-disable alice | فصل ۹ |
ceph dashboard set-pwd-policy-enabled true | فصل ۹ |
ceph dashboard set-pwd-policy-min-length 12 | فصل ۹ |
ceph dashboard set-pwd-policy-check-complexity-enabled true | فصل ۹ |
ceph dashboard motd set warning 2h "Maintenance on ceph-node3 in progress" | فصل ۹ |
ceph dashboard motd clear | فصل ۹ |
ceph dashboard sso setup saml2 https://ceph-dash.example.internal \ | فصل ۹ |
ceph dashboard sso status | فصل ۹ |
ceph dashboard sso enable saml2 | فصل ۹ |
ceph dashboard feature status | فصل ۹ |
ceph dashboard feature disable iscsi mirroring | فصل ۹ |
ceph dashboard feature enable mirroring | فصل ۹ |
ceph dashboard get-prometheus-api-host | فصل ۲۰ |
| ceph auth |
ceph auth get-or-create client.rbd-lab \ | فصل ۲ |
ceph auth get client.rbd-lab | فصل ۲ |
ceph auth get-or-create client.glance \ | فصل ۳ |
ceph auth get-or-create client.cinder \ | فصل ۳ |
ceph auth get-or-create client.cinder-backup \ | فصل ۳ |
ceph auth get client.glance | ssh glance-host sudo tee /etc/ceph/ceph.client.glance.keyring | فصل ۳ |
ceph auth get client.cinder | ssh cinder-host sudo tee /etc/ceph/ceph.client.cinder.keyring | فصل ۳ |
ceph auth get client.cinder | ssh compute1 sudo tee /etc/ceph/ceph.client.cinder.keyring | فصل ۳ |
ceph auth get client.cinder-backup | ssh backup-host sudo tee /etc/ceph/ceph.client.cinder-backup.keyring | فصل ۳ |
ceph auth get-or-create client.manila mon 'allow r' mgr 'allow rw' | فصل ۳ |
ceph auth get client.webapp | فصل ۶ |
ceph auth get client.webapp -o /etc/ceph/ceph.client.webapp.keyring | فصل ۶ |
ceph auth ls | فصل ۸ |
ceph auth get client.admin | فصل ۸ |
ceph auth get-or-create client.vmhost mon 'profile rbd' osd 'profile rbd pool=vms' mgr 'profile rbd pool=vms' | فصل ۸ |
ceph auth get-or-create client.monitor mon 'allow r' mgr 'allow r' | فصل ۸ |
ceph auth get-or-create client.tenant1 mon 'allow r' osd 'allow rw pool=shared namespace=tenant1' | فصل ۸ |
ceph auth caps client.vmhost mon 'profile rbd' osd 'profile rbd pool=vms, profile rbd-read-only pool=images' | فصل ۸ |
ceph auth rm client.old-app | فصل ۸ |
ceph auth get-or-create client.devapp mon 'allow r' osd 'allow rwx pool=devpool' \ | فصل ۱۴ |
ceph auth caps client.devapp mon 'allow r' \ | فصل ۱۵ |
ceph auth caps client.counter mon 'allow r' \ | فصل ۱۵ |
| ceph mgr |
ceph mgr module enable rgw | فصل ۵ |
ceph mgr module enable nfs | فصل ۶ |
ceph mgr module enable smb Tentacle+ | فصل ۶ |
ceph mgr module enable snap_schedule | فصل ۶ |
ceph mgr module enable mirroring | فصل ۶ |
ceph mgr module ls | grep -i dashboard | فصل ۹ |
ceph mgr module enable dashboard | فصل ۹ |
ceph mgr services | فصل ۹ |
ceph mgr module disable dashboard && ceph mgr module enable dashboard | فصل ۹ |
ceph mgr module disable prometheus && ceph mgr module enable prometheus | فصل ۹ |
ceph mgr module ls | jq '.enabled_modules' | فصل ۹ |
ceph mgr module enable pgwatch --force | فصل ۹ |
ceph mgr fail | فصل ۹ |
ceph mgr stat | فصل ۹ |
ceph mgr module enable prometheus | فصل ۲۰ |
| ceph mon |
ceph mon stat | فصل ۷ |
ceph mon dump | grep election_strategy | فصل ۷ |
ceph mon set election_strategy connectivity | فصل ۷ |
ceph mon add disallowed_leader e | فصل ۷ |
ceph mon dump | فصل ۸ |
ceph mon dump | grep -E "v2:|v1:" | فصل ۸ |
ceph mon dump | grep -E 'tiebreaker|stretch|location' | فصل ۱۸ |
ceph mon set_location a datacenter=site1 | فصل ۱۸ |
ceph mon set_location b datacenter=site1 | فصل ۱۸ |
ceph mon set_location c datacenter=site2 | فصل ۱۸ |
ceph mon set_location d datacenter=site2 | فصل ۱۸ |
ceph mon set_location e datacenter=site3 | فصل ۱۸ |
ceph mon enable_stretch_mode e stretch_rule datacenter | فصل ۱۸ |
| ceph health |
ceph health detail | grep -A3 LARGE_OMAP | فصل ۴ |
ceph health detail | grep -i mds | فصل ۶ |
ceph health detail | فصل ۷ |
ceph health detail | grep -i scrub | فصل ۷ |
ceph health detail | grep -i cephadm | فصل ۱۰ |
ceph health mute CEPHADM_STRAY_DAEMON 1h | فصل ۱۱ |
ceph health detail | grep -i spillover | فصل ۱۲ |
ceph health detail --format json-pretty | jq '.checks | keys' | فصل ۱۷ |
ceph health detail | grep -A3 SLOW_OPS | فصل ۱۷ |
ceph health detail | grep -E "inconsistent|scrub errors" | فصل ۱۷ |
| ceph balancer |
ceph balancer status | فصل ۷ |
ceph balancer mode upmap | فصل ۷ |
ceph balancer on | فصل ۷ |
ceph balancer eval | فصل ۱۹ |
ceph balancer status && ceph balancer eval | فصل ۲۸ |
| ceph nfs |
ceph nfs cluster create nfs01 "2 ceph-node2 ceph-node3" --ingress --virtual_ip 192.168.10.50/24 | فصل ۶ |
ceph nfs cluster info nfs01 | فصل ۶ |
ceph nfs export create cephfs --cluster-id nfs01 --pseudo-path /shared --fsname fs01 --path /web | فصل ۶ |
ceph nfs export ls nfs01 --detailed | فصل ۶ |
| ceph telemetry |
ceph telemetry preview | فصل ۹ |
ceph telemetry show | فصل ۹ |
ceph telemetry on --license sharing-1-0 | فصل ۹ |
ceph telemetry off | فصل ۹ |
| ceph df |
ceph df | فصل ۱ |
ceph df detail | فصل ۱ |
ceph df detail | grep -E 'POOL|rgw-data' | فصل ۱۲ |
| ceph rgw |
ceph rgw realm bootstrap -i primary.yaml | فصل ۵ |
ceph rgw realm tokens | فصل ۵ |
ceph rgw zone create -i secondary.yaml | فصل ۵ |
| ceph smb |
ceph smb cluster create smb01 user --define-user-pass=alice%S3cret-Ch@ngeMe --placement="1 ceph-node2" Tentacle+ | فصل ۶ |
ceph smb share create smb01 docs fs01 / --subvolume=smb/docs Tentacle+ | فصل ۶ |
ceph smb show Tentacle+ | فصل ۶ |
| ceph quorum_status |
ceph quorum_status -f json-pretty | jq '.quorum_names' | فصل ۷ |
ceph quorum_status | jq '.quorum_leader_name, .quorum_names' | فصل ۷ |
ceph quorum_status -f json-pretty | فصل ۸ |
| ceph log |
ceph log last 20 info cluster | فصل ۹ |
ceph log last cephadm 50 | فصل ۱۱ |
ceph log last 100 | فصل ۱۷ |
| ceph nvmeof |
ceph nvmeof subsystem add --nqn nqn.2016-06.io.spdk:cnode1 Tentacle+ | فصل ۳۱ |
ceph nvmeof listener add --nqn nqn.2016-06.io.spdk:cnode1 --host-name host01 --traddr 10.0.0.11 --trsvcid 4420 Tentacle+ | فصل ۳۱ |
ceph nvmeof namespace add --nqn nqn.2016-06.io.spdk:cnode1 --rbd-pool rbd --rbd-image-name vol1 Tentacle+ | فصل ۳۱ |
| ceph device |
ceph device ls-by-daemon osd.7 | فصل ۷ |
ceph device light on <devid> ident | فصل ۷ |
| ceph crash |
ceph crash ls-new | فصل ۱۷ |
ceph crash ls | grep osd.12 | فصل ۱۷ |
| ceph -v |
ceph -v | فصل ۱ |
| ceph status |
ceph status | فصل ۱ |
| ceph -s |
ceph -s | فصل ۱ |
| ceph --id |
ceph --id rbd-lab -s | فصل ۲ |
| ceph versions |
ceph versions | فصل ۷ |
| ceph -W |
ceph -W cephadm | فصل ۷ |
| ceph features |
ceph features | فصل ۸ |
| ceph pgwatch |
ceph pgwatch status | فصل ۹ |
| ceph cephadm |
ceph cephadm check-host ceph-node2 | فصل ۱۱ |
| ceph nvme-gw |
ceph nvme-gw show POOL GROUP Tentacle+ | فصل ۳۱ |