Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Ceph osd deletion

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. Introduction

In general, osd does not need to delete, but there is nothing absolute; in many cases, deletion is still needed (for example, if you re-adjust the scheme of a deployed storage cluster, you need to delete and re-adjust osd)

2. Out osd## will set osd out # # reweight to 0, and the cluster will migrate data # # equivalent to a "ceph osd reweight" operation # # when "reweight" is 0, the osd node is not included in the "in" count # ceph osd out {osd_id} 3, stop osd## closes the daemon of the osd node # # before shutting down the daemon Need to wait for the end of data migration after out # # the daemon of this node is not included in the "up" count # systemctl stop ceph-osd@ {osd_id} .service4, remove osd## remove osd## weight becomes 0 Then change the weight of crush algorithm # ceph osd crush remove osd. {osd_id} 5, aut del osd## aut del osd## delete osd node related permission information # ceph auth del osd. {osd_id} 6, rm osd## rm osd## delete osd node id number # ceph osd rm {osd_id}

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report