Project

General

Profile

Feature #48944

pybind/mirroring: add subvolume/subvolumegroup interfaces for snapshot mirroring

Added by Venky Shankar 4 months ago.

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

0%

Source:
Tags:
Backport:
pacific
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:

Description

Rather than the operator adding subvolume/subvolumegroup paths via "fs snapshot mirror add/remove" interface, introduce subvolume/subvolumegroup interfaces. mgr/mirroring can resolve subvolume/subvolumegroup to filesystem paths internally.

Note: mgr/volumes v1 and v2 subvolumes have different snap locations, i.e., v1 snaps are under /volumes/<group>/<subvolume>/<uuid> and v2 snaps are under /volumes/<group>/<subvolume>. Auto upgraded subvolumes (no version -> v1) also needs to be taken into consideration.

Also available in: Atom PDF