remove_all_objects_from_a_pool

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
remove_all_objects_from_a_pool [2022/10/19 05:38] koovremove_all_objects_from_a_pool [2022/12/28 05:51] (현재) koov
줄 17: 줄 17:
  
 This is similar to the pool commands ''mkpool'', ''cppool'' and ''rmpool'' which don't use the ''-p'' option to specify the pool name. This is similar to the pool commands ''mkpool'', ''cppool'' and ''rmpool'' which don't use the ''-p'' option to specify the pool name.
 +
 +
 +===== OSP 전체 초기화 =====
 +OSP를 사용할때 스토리지 전체 초기화를 위해서는 아래와 같이 하면 된다.
 +데이터는 전부 삭제하지만 pool과 사용자 정보는 그대로 유지된다.
 +
 +<WRAP prewrap>
 +<code bash>
 +$ for i in `rados lspools`; do rados purge ${i} --yes-i-really-really-mean-it; done
 +</code>
 +</WRAP>
 +
 +데이터가 전부 다 삭제되니 주의하자
  • remove_all_objects_from_a_pool.1666157939.txt.gz
  • 마지막으로 수정됨: 2022/10/19 05:38
  • 저자 koov