Feature #49125
openmgr/volumes: Provide subvolume and subvolumegroup interfaces to manage CephFS mirrors
0%
Description
CephFS mirroring currently works when the CLI explicitly calls out the required path within the FS to mirror. For example,
ceph fs snapshot mirror add <fs> <path>
In the case of subvolumes and subvolumegroups, the desire is to enable mirrors for specific subvolumes or groups. Hence, this feature request is to add interfaces for the same. For example,
ceph fs subvolume snapshot mirror add <vol_name> <subvol_name>
The conversion from the subvolume to the path within the subvolume that needs to be mirrored can then be handled by the volume plugin automatically to invoke the underlying mirror interface.
Updated by Milind Changire about 3 years ago
So "fs snapshot mirror status" would then need to show group and sub-volume names along with dir name in the output. If user has added subvolume for replication, then it is natural to expect the same in the status output. Showing dir name in the output would then be a bonus for the user.