OSD磁盘日常监控方法是什么
发表于:2025-12-01 作者:千家信息网编辑
千家信息网最后更新 2025年12月01日,本篇内容介绍了"OSD磁盘日常监控方法是什么"的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!1.磁盘碎
千家信息网最后更新 2025年12月01日OSD磁盘日常监控方法是什么
本篇内容介绍了"OSD磁盘日常监控方法是什么"的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!
1.磁盘碎片管理
查看磁盘碎片xfs_db -c frag -r /dev/sdb1actual 981, ideal 964, fragmentation factor 1.73% 整理碎片 xfs_fsr /dev/sdb1
2.OSD磁盘性能
root@demo:~# ceph --admin-daemon /var/run/ceph/ceph-osd.0.asok perf dump{ "WBThrottle": { "bytes_dirtied": 0, "bytes_wb": 0, "ios_dirtied": 0, "ios_wb": 0, "inodes_dirtied": 0, "inodes_wb": 0 }, "filestore": { "journal_queue_max_ops": 300, "journal_queue_ops": 0, "journal_ops": 3210, "journal_queue_max_bytes": 33554432, "journal_queue_bytes": 0, "journal_bytes": 5007708, "journal_latency": { "avgcount": 3210, "sum": 9.786657669 }, "journal_wr": 2643, "journal_wr_bytes": { "avgcount": 2643, "sum": 13221888 }, "journal_full": 0, "committing": 0, "commitcycle": 270, "commitcycle_interval": { "avgcount": 270, "sum": 1352.249982669 }, "commitcycle_latency": { "avgcount": 270, "sum": 2.088010691 }, "op_queue_max_ops": 50, "op_queue_ops": 0, "ops": 3210, "op_queue_max_bytes": 104857600, "op_queue_bytes": 0, "bytes": 4962768, "apply_latency": { "avgcount": 3210, "sum": 34.241022045 }, "queue_transaction_latency_avg": { "avgcount": 3210, "sum": 0.431766161 } }, "leveldb": { "leveldb_get": 1064, "leveldb_transaction": 5662, "leveldb_compact": 0, "leveldb_compact_range": 0, "leveldb_compact_queue_merge": 0, "leveldb_compact_queue_len": 0 }, "mutex-FileJournal::completions_lock": { "wait": { "avgcount": 0, "sum": 0.000000000 } }, "mutex-FileJournal::finisher_lock": { "wait": { "avgcount": 0, "sum": 0.000000000 } }, "mutex-FileJournal::write_lock": { "wait": { "avgcount": 0, "sum": 0.000000000 } }, "mutex-FileJournal::writeq_lock": { "wait": { "avgcount": 0, "sum": 0.000000000 } }, "mutex-JOS::ApplyManager::apply_lock": { "wait": { "avgcount": 0, "sum": 0.000000000 } }, "mutex-JOS::ApplyManager::com_lock": { "wait": { "avgcount": 0, "sum": 0.000000000 } }, "mutex-JOS::SubmitManager::lock": { "wait": { "avgcount": 0, "sum": 0.000000000 } }, "mutex-WBThrottle::lock": { "wait": { "avgcount": 0, "sum": 0.000000000 } }, "objecter": { "op_active": 0, "op_laggy": 0, "op_send": 0, "op_send_bytes": 0, "op_resend": 0, "op_ack": 0, "op_commit": 0, "op": 0, "op_r": 0, "op_w": 0, "op_rmw": 0, "op_pg": 0, "osdop_stat": 0, "osdop_create": 0, "osdop_read": 0, "osdop_write": 0, "osdop_writefull": 0, "osdop_append": 0, "osdop_zero": 0, "osdop_truncate": 0, "osdop_delete": 0, "osdop_mapext": 0, "osdop_sparse_read": 0, "osdop_clonerange": 0, "osdop_getxattr": 0, "osdop_setxattr": 0, "osdop_cmpxattr": 0, "osdop_rmxattr": 0, "osdop_resetxattrs": 0, "osdop_tmap_up": 0, "osdop_tmap_put": 0, "osdop_tmap_get": 0, "osdop_call": 0, "osdop_watch": 0, "osdop_notify": 0, "osdop_src_cmpxattr": 0, "osdop_pgls": 0, "osdop_pgls_filter": 0, "osdop_other": 0, "linger_active": 0, "linger_send": 0, "linger_resend": 0, "linger_ping": 0, "poolop_active": 0, "poolop_send": 0, "poolop_resend": 0, "poolstat_active": 0, "poolstat_send": 0, "poolstat_resend": 0, "statfs_active": 0, "statfs_send": 0, "statfs_resend": 0, "command_active": 0, "command_send": 0, "command_resend": 0, "map_epoch": 307, "map_full": 0, "map_inc": 4, "osd_sessions": 0, "osd_session_open": 0, "osd_session_close": 0, "osd_laggy": 0 }, "osd": { "op_wip": 0, "op": 23405, "op_in_bytes": 0, "op_out_bytes": 1171017, "op_latency": { "avgcount": 23405, "sum": 55.533429364 }, "op_process_latency": { "avgcount": 23405, "sum": 17.161994525 }, "op_r": 311, "op_r_out_bytes": 1171017, "op_r_latency": { "avgcount": 311, "sum": 0.678950936 }, "op_r_process_latency": { "avgcount": 311, "sum": 0.432590809 }, "op_w": 252, "op_w_in_bytes": 0, "op_w_rlat": { "avgcount": 3, "sum": 0.013514400 }, "op_w_latency": { "avgcount": 252, "sum": 0.919190656 }, "op_w_process_latency": { "avgcount": 252, "sum": 0.841467934 }, "op_rw": 22842, "op_rw_in_bytes": 0, "op_rw_out_bytes": 0, "op_rw_rlat": { "avgcount": 24, "sum": 0.148906958 }, "op_rw_latency": { "avgcount": 22842, "sum": 53.935287772 }, "op_rw_process_latency": { "avgcount": 22842, "sum": 15.887935782 }, "subop": 0, "subop_in_bytes": 0, "subop_latency": { "avgcount": 0, "sum": 0.000000000 }, "subop_w": 0, "subop_w_in_bytes": 0, "subop_w_latency": { "avgcount": 0, "sum": 0.000000000 }, "subop_pull": 0, "subop_pull_latency": { "avgcount": 0, "sum": 0.000000000 }, "subop_push": 0, "subop_push_in_bytes": 0, "subop_push_latency": { "avgcount": 0, "sum": 0.000000000 }, "pull": 0, "push": 0, "push_out_bytes": 0, "push_in": 0, "push_in_bytes": 0, "recovery_ops": 0, "loadavg": 1, "buffer_bytes": 0, "numpg": 363, "numpg_primary": 363, "numpg_replica": 0, "numpg_stray": 0, "heartbeat_to_peers": 2, "heartbeat_from_peers": 0, "map_messages": 11, "map_message_epochs": 24, "map_message_epoch_dups": 11, "messages_delayed_for_map": 0, "stat_bytes": 16094572544, "stat_bytes_used": 77381632, "stat_bytes_avail": 16017190912, "copyfrom": 0, "tier_promote": 0, "tier_flush": 0, "tier_flush_fail": 0, "tier_try_flush": 0, "tier_try_flush_fail": 0, "tier_evict": 0, "tier_whiteout": 0, "tier_dirty": 0, "tier_clean": 0, "tier_delay": 0, "tier_proxy_read": 0, "agent_wake": 0, "agent_skip": 0, "agent_flush": 0, "agent_evict": 0, "object_ctx_cache_hit": 23389, "object_ctx_cache_total": 23487 }, "recoverystate_perf": { "initial_latency": { "avgcount": 363, "sum": 2.022209602 }, "started_latency": { "avgcount": 359, "sum": 730.718602096 }, "reset_latency": { "avgcount": 722, "sum": 476.611571568 }, "start_latency": { "avgcount": 722, "sum": 0.058745941 }, "primary_latency": { "avgcount": 359, "sum": 730.632491466 }, "peering_latency": { "avgcount": 722, "sum": 278.388649805 }, "backfilling_latency": { "avgcount": 0, "sum": 0.000000000 }, "waitremotebackfillreserved_latency": { "avgcount": 0, "sum": 0.000000000 }, "waitlocalbackfillreserved_latency": { "avgcount": 0, "sum": 0.000000000 }, "notbackfilling_latency": { "avgcount": 0, "sum": 0.000000000 }, "repnotrecovering_latency": { "avgcount": 0, "sum": 0.000000000 }, "repwaitrecoveryreserved_latency": { "avgcount": 0, "sum": 0.000000000 }, "repwaitbackfillreserved_latency": { "avgcount": 0, "sum": 0.000000000 }, "RepRecovering_latency": { "avgcount": 0, "sum": 0.000000000 }, "activating_latency": { "avgcount": 722, "sum": 340.170526206 }, "waitlocalrecoveryreserved_latency": { "avgcount": 0, "sum": 0.000000000 }, "waitremoterecoveryreserved_latency": { "avgcount": 0, "sum": 0.000000000 }, "recovering_latency": { "avgcount": 0, "sum": 0.000000000 }, "recovered_latency": { "avgcount": 722, "sum": 0.068415915 }, "clean_latency": { "avgcount": 359, "sum": 545.272422195 }, "active_latency": { "avgcount": 359, "sum": 730.279927807 }, "replicaactive_latency": { "avgcount": 0, "sum": 0.000000000 }, "stray_latency": { "avgcount": 0, "sum": 0.000000000 }, "getinfo_latency": { "avgcount": 722, "sum": 0.217885208 }, "getlog_latency": { "avgcount": 722, "sum": 0.164532650 }, "waitactingchange_latency": { "avgcount": 0, "sum": 0.000000000 }, "incomplete_latency": { "avgcount": 0, "sum": 0.000000000 }, "getmissing_latency": { "avgcount": 722, "sum": 0.074722045 }, "waitupthru_latency": { "avgcount": 363, "sum": 277.748508783 } }, "throttle-filestore_bytes": { "val": 0, "max": 33554432, "get": 0, "get_sum": 0, "get_or_fail_fail": 0, "get_or_fail_success": 0, "take": 3210, "take_sum": 5007708, "put": 2642, "put_sum": 5007708, "wait": { "avgcount": 0, "sum": 0.000000000 } }, "throttle-filestore_ops": { "val": 0, "max": 300, "get": 0, "get_sum": 0, "get_or_fail_fail": 0, "get_or_fail_success": 0, "take": 3210, "take_sum": 3210, "put": 2642, "put_sum": 3210, "wait": { "avgcount": 0, "sum": 0.000000000 } }, "throttle-msgr_dispatch_throttler-client": { "val": 0, "max": 104857600, "get": 24264, "get_sum": 4056332, "get_or_fail_fail": 0, "get_or_fail_success": 0, "take": 0, "take_sum": 0, "put": 24264, "put_sum": 4056332, "wait": { "avgcount": 0, "sum": 0.000000000 } }, "throttle-msgr_dispatch_throttler-cluster": { "val": 0, "max": 104857600, "get": 0, "get_sum": 0, "get_or_fail_fail": 0, "get_or_fail_success": 0, "take": 0, "take_sum": 0, "put": 0, "put_sum": 0, "wait": { "avgcount": 0, "sum": 0.000000000 } }, "throttle-msgr_dispatch_throttler-hb_back_server": { "val": 0, "max": 104857600, "get": 10398, "get_sum": 488706, "get_or_fail_fail": 0, "get_or_fail_success": 0, "take": 0, "take_sum": 0, "put": 10398, "put_sum": 488706, "wait": { "avgcount": 0, "sum": 0.000000000 } }, "throttle-msgr_dispatch_throttler-hb_front_server": { "val": 0, "max": 104857600, "get": 10398, "get_sum": 488706, "get_or_fail_fail": 0, "get_or_fail_success": 0, "take": 0, "take_sum": 0, "put": 10398, "put_sum": 488706, "wait": { "avgcount": 0, "sum": 0.000000000 } }, "throttle-msgr_dispatch_throttler-hbclient": { "val": 0, "max": 104857600, "get": 20926, "get_sum": 983522, "get_or_fail_fail": 0, "get_or_fail_success": 0, "take": 0, "take_sum": 0, "put": 20926, "put_sum": 983522, "wait": { "avgcount": 0, "sum": 0.000000000 } }, "throttle-msgr_dispatch_throttler-ms_objecter": { "val": 0, "max": 104857600, "get": 0, "get_sum": 0, "get_or_fail_fail": 0, "get_or_fail_success": 0, "take": 0, "take_sum": 0, "put": 0, "put_sum": 0, "wait": { "avgcount": 0, "sum": 0.000000000 } }, "throttle-objecter_bytes": { "val": 0, "max": 104857600, "get": 0, "get_sum": 0, "get_or_fail_fail": 0, "get_or_fail_success": 0, "take": 0, "take_sum": 0, "put": 0, "put_sum": 0, "wait": { "avgcount": 0, "sum": 0.000000000 } }, "throttle-objecter_ops": { "val": 0, "max": 1024, "get": 0, "get_sum": 0, "get_or_fail_fail": 0, "get_or_fail_success": 0, "take": 0, "take_sum": 0, "put": 0, "put_sum": 0, "wait": { "avgcount": 0, "sum": 0.000000000 } }, "throttle-osd_client_bytes": { "val": 0, "max": 524288000, "get": 23556, "get_sum": 3961555, "get_or_fail_fail": 0, "get_or_fail_success": 0, "take": 0, "take_sum": 0, "put": 24212, "put_sum": 3961555, "wait": { "avgcount": 0, "sum": 0.000000000 } }, "throttle-osd_client_messages": { "val": 20, "max": 100, "get": 30908, "get_sum": 30908, "get_or_fail_fail": 0, "get_or_fail_success": 0, "take": 0, "take_sum": 0, "put": 30888, "put_sum": 30888, "wait": { "avgcount": 0, "sum": 0.000000000 } }}root@demo:~# ceph osd perfosd fs_commit_latency(ms) fs_apply_latency(ms) 0 3 10 1 3 12 2 3 133.通电时长
smartctl -A /dev/sdasmartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.8.0-44-generic] (local build)Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.netCurrent Drive Temperature: 27 CDrive Trip Temperature: 65 CElements in grown defect list: 0Vendor (Seagate) cache information Blocks sent to initiator = 0Vendor (Seagate/Hitachi) factory information number of hours powered up = 53413.70 number of minutes until next internal SMART test = 7
"OSD磁盘日常监控方法是什么"的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注网站,小编将为大家输出更多高质量的实用文章!
磁盘
碎片
方法
监控
内容
更多
知识
实用
学有所成
接下来
困境
实际
性能
情况
文章
时长
案例
编带
网站
行业
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
数字网络安全系统
立讯网络安全
三峡大学网络安全研究生录取分数
服务器占用电脑硬盘
查看数据库中所有分区表
中国古代人物数据库
交互式边缘计算服务器收费
天地伟业网络技术有限公司
服务器禁ping安全策略
本科软件开发专业好找工作吗
怎么启动静态资源服务器
曲周企业网络推广需要服务器吗
数据库查询求行的和
服务器系统入安全模式
oracle数据库 发展
识别数据库中的命令
网络安全技术前景如何
博山物流竞价软件开发报价
网络安全事件处置时限要求
想做软件开发需要学什么专业
组装e7服务器
阿里云数据库优化后异常
如何让mc服务器优化
网络安全的三个重要属性
研究服务器安全的背景及意义
校园网络安全保护
地震应急数据库的关键技术
三亚科技互联网招聘会
北京软件开发定制费用
软件开发项目订单模板