In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
How are Ceph storage pools handled by full and nearfull? To solve this problem, the editor summarizes this article on Ceph storage pool today, hoping to help more friends who want to solve this problem to find a more simple and easy way.
1. Check the settings of the current cluster full and nearfull, and query the Mon configuration on the Mon node.
Ceph--admin-daemon / run/ceph/ceph-mon.IP.asok config show | grep full_ratio
two。 Check the setting values of the current cluster full and nearfull, and query the osd configuration on other nodes
Ceph--admin-daemon / run/ceph/ceph-osd.0.asok config show | grep full
3. If you encounter an alarm from the cluster full and the storage cannot write data, emergency configuration steps
1) set OSD to prohibit reading and writing
Ceph osd pause
2) notify Mon to modify the threshold of nearfull and full
Ceph tell mon.* injectargs "--mon-osd-nearfull-ratio 0.96"
Ceph tell mon.* injectargs "--mon-osd-full-ratio 0.97"
Ceph tell osd.* injectargs "--mon-osd-nearfull-ratio 0.96"
Ceph tell osd.* injectargs "--mon-osd-full-ratio 0.97"
3) notify PG to modify the threshold of nearfull and full
Ceph pg set_nearfull_ratio 0.96
Ceph pg set_full_ratio 0.97
4) remove the ban on reading and writing of OSD
Ceph osd unpause
5) organize the cluster, delete some useless data, and expand the cluster.
6) restore the default configuration of the cluster
Ceph tell mon.* injectargs "--mon-osd-nearfull-ratio 0.85"
Ceph tell mon.* injectargs "--mon-osd-full-ratio 0.95"
Ceph tell osd.* injectargs "--mon-osd-nearfull-ratio 0.85"
Ceph tell osd.* injectargs "--mon-osd-full-ratio 0.95"
Ceph pg set_nearfull_ratio 0.85
Ceph pg set_full_ratio 0.95
After reading the above, do you have a general idea of how the Ceph storage pool full and nearfull are handled? If you want to know more about the content of the article, welcome to follow the industry information channel, thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.