Feature #58129
Updated by Patrick Donnelly over 1 year ago
Storage operators like Rook constantly do "reconciliation" to ensure that the desired state of the system (e.g. file system ocs-storageclass-cephfs exists) is reached. If we need to recover a broken file system (cephfs-data-scan) onto a new recovery file system, we need a way would like to prevent the operator like Rook from recreating the file system while we (1) *atomically* rename the old damaged broken file system to something else for (for later analysis analysis) and (2) then rename the recovered recovery file system to the old file system name. Right now that's not possible without introducing a new API: <pre> ceph fs swap <fs1> <fs2> </pre> It should operate similar to "fs rename" but operate on both file systems in one PAXOS transaction.