Project

General

Profile

Actions

Feature #49125

open

mgr/volumes: Provide subvolume and subvolumegroup interfaces to manage CephFS mirrors

Added by Shyamsundar Ranganathan about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
mgr/volumes
Labels (FS):
Pull request ID:

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.

Actions #1

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.

Actions

Also available in: Atom PDF