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

Chapter 38. Removing a Cache Tier


Removing a cache tier differs depending on whether it is a writeback cache or a read-only cache.

38.1. Removing a Read-Only Cache

Since a read-only cache does not have modified data, you can disable and remove it without losing any recent changes to objects in the cache.

  1. Change the cache-mode to none to disable it. :

    ceph osd tier cache-mode {cachepool} none

    For example:

    ceph osd tier cache-mode hot-storage none
  2. Remove the cache pool from the backing pool. :

    ceph osd tier remove {storagepool} {cachepool}

    For example:

    ceph osd tier remove cold-storage hot-storage

38.2. Removing a Writeback Cache

Since a writeback cache may have modified data, you must take steps to ensure that you do not lose any recent changes to objects in the cache before you disable and remove it.

  1. Change the cache mode to forward so that new and modified objects will flush to the backing storage pool. :

    ceph osd tier cache-mode {cachepool} forward

    For example:

    ceph osd tier cache-mode hot-storage forward
  2. Ensure that the cache pool has been flushed. This may take a few minutes:

    rados -p {cachepool} ls

    If the cache pool still has objects, you can flush them manually. For example:

    rados -p {cachepool} cache-flush-evict-all
  3. Remove the overlay so that clients will not direct traffic to the cache. :

    ceph osd tier remove-overlay {storagetier}

    For example:

    ceph osd tier remove-overlay cold-storage
  4. Finally, remove the cache tier pool from the backing storage pool. :

    ceph osd tier remove {storagepool} {cachepool}

    For example:

    ceph osd tier remove cold-storage hot-storage
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Ü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.

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 Dokumentation

Legal Notice

Theme

© 2026 Red Hat
Nach oben