Este conteúdo não está disponível no idioma selecionado.

Chapter 6. OSD removal tool


6.1. Removing object storage devices using an automated tool

OpenShift Data Foundation provides a tool to automate the process of object storage device (OSD) removal. This tool helps to avoid the possible data loss while removing OSDs.

Prerequisites

Procedure

  1. Identify the OSD that needs to be removed. The OSD that needs removal is in CrashLoopBackOff or Error state.

    $ oc get -n openshift-storage pods -l app=rook-ceph-osd -o wide

    Example output:

    rook-ceph-osd-0-6d77d6c7c6-m8xj6    0/1    CrashLoopBackOff    0    24h   10.129.0.16   compute-2   <none>           <none>
  2. Run the following command to remove OSD 0:

    $ odf purge-osd 0
  3. [Optional] If removal of the OSD affects placement group (PG) status, enter yes-force-destroy-osd.
  4. Verify that the last line of the command output contains cephosd: completed removal of OSD 0.
  5. Verify the corresponding deployment is removed:

    $ oc get deployment rook-ceph-osd-0
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a documentação da Red Hat

Legal Notice

Theme

© 2026 Red Hat
Voltar ao topo