차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
remove_all_objects_from_a_pool [2022/03/30 13:34] – koov | remove_all_objects_from_a_pool [2022/12/28 05:51] (현재) – koov | ||
---|---|---|---|
줄 5: | 줄 5: | ||
<WRAP prewrap> | <WRAP prewrap> | ||
<code bash> | <code bash> | ||
- | rados purge < | + | rados purge < |
</ | </ | ||
</ | </ | ||
줄 14: | 줄 14: | ||
I made the usage differently than the feature description: | I made the usage differently than the feature description: | ||
- | '' | + | '' |
This is similar to the pool commands '' | This is similar to the pool commands '' | ||
+ | |||
+ | |||
+ | ===== OSP 전체 초기화 ===== | ||
+ | OSP를 사용할때 스토리지 전체 초기화를 위해서는 아래와 같이 하면 된다. | ||
+ | 데이터는 전부 삭제하지만 pool과 사용자 정보는 그대로 유지된다. | ||
+ | |||
+ | <WRAP prewrap> | ||
+ | <code bash> | ||
+ | $ for i in `rados lspools`; do rados purge ${i} --yes-i-really-really-mean-it; | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | 데이터가 전부 다 삭제되니 주의하자 |