Bug #54576
opencache tier set proxy faild
100%
Description
When I set the proxy mode to remove a writeback cache according to the official documentation [[https://docs.ceph.com/en/latest/rados/operations/cache-tiering/]],
an error occurred:
[root@controller-1 mon]# ceph osd tier cache-mode cachepool proxy
Invalid command: proxy not in writeback|readproxy|readonly|none
osd tier cache-mode <pool> writeback|readproxy|readonly|none [--yes-i-really-mean-it] : specify the caching mode for cache tier <pool>
Error EINVAL: invalid command
Updated by changzhi tan about 2 years ago
According to the description of the official website document:
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.
Change the cache mode to proxy so that new and modified objects will flush to the backing storage pool.
ceph osd tier cache-mode {cachepool} proxy
For example:
ceph osd tier cache-mode hot-storage proxy
I think proxy mode should stay, otherwise cache pool will still write data.
Updated by Radoslaw Zarzynski about 1 year ago
- Status changed from Resolved to Pending Backport
- Backport changed from v16.2.7 v17.0.1 to quincy, pacific
Updated by Backport Bot about 1 year ago
- Copied to Backport #59084: quincy: cache tier set proxy faild added
Updated by Backport Bot about 1 year ago
- Copied to Backport #59085: pacific: cache tier set proxy faild added