Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

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
    Copy to Clipboard Toggle word wrap

    Example output:

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

    $ odf purge-osd 0
    Copy to Clipboard Toggle word wrap
  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
    Copy to Clipboard Toggle word wrap
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat