Project

General

Profile

Actions

Feature #67292

closed

cephfs_mirror: provide a command to list the paths configured for cephfs mirroring

Added by Jos Collin over 1 year ago. Updated 5 months ago.

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

0%

Source:
Community (dev)
Backport:
quincy,reef,squid
Reviewed:
Affected Versions:
Component(FS):
cephfs-mirror
Labels (FS):
Pull request ID:
Tags (freeform):
backport_processed
Fixed In:
v19.3.0-5381-geb2183136d
Released In:
v20.2.0~1861
Upkeep Timestamp:
2025-11-01T01:32:28+00:00

Description

https://bugzilla.redhat.com/show_bug.cgi?id=2272718

Description of problem:
------------------------

We have "ceph fs snapshot mirror add" and "ceph fs snapshot remove" commands to create and remove the paths configured for mirroring.

It would be good if we could also list the paths that are configured for snapshot mirroring. ex: ceph fs snapshot mirror ls <fs_name>".

At present, the path configured can only be seen using the mirror daemon asok file -

[root@ceph1-hk-m-qxvm7g-node6 08b68d80-f0a2-11ee-a172-fa163e261bf6]# ceph --admin-daemon ceph-client.cephfs-mirror.ceph1-hk-m-qxvm7g-node6.fwrita.2.94224942373104.asok fs mirror peer status cephfs@1 de3cb61a-1e6d-4fe6-8822-d03d0b9771e1
{
    "/volumes/subvolgroup_1/subvol_1": {
        "state": "idle",
        "last_synced_snap": {
            "id": 12,
            "name": "scheduled-2024-04-02-18_00_00_UTC",
            "sync_duration": 0.030000054000000002,
            "sync_time_stamp": "52535.724746s" 
        },
        "snaps_synced": 2,
        "snaps_deleted": 0,
        "snaps_renamed": 0
    }
}


Related issues 3 (0 open3 closed)

Copied to CephFS - Backport #68414: squid: cephfs_mirror: provide a command to list the paths configured for cephfs mirroringResolvedJos CollinActions
Copied to CephFS - Backport #68415: reef: cephfs_mirror: provide a command to list the paths configured for cephfs mirroringResolvedJos CollinActions
Copied to CephFS - Backport #68416: quincy: cephfs_mirror: provide a command to list the paths configured for cephfs mirroringRejectedJos CollinActions
Actions #1

Updated by Jos Collin over 1 year ago

  • Description updated (diff)
Actions #2

Updated by Jos Collin over 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 58966
Actions #3

Updated by Venky Shankar over 1 year ago

  • Target version set to v20.0.0
  • Backport set to reef,squid
Actions #4

Updated by Venky Shankar over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from reef,squid to quincy,reef,squid
Actions #5

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #68414: squid: cephfs_mirror: provide a command to list the paths configured for cephfs mirroring added
Actions #6

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #68415: reef: cephfs_mirror: provide a command to list the paths configured for cephfs mirroring added
Actions #7

Updated by Upkeep Bot over 1 year ago

  • Copied to Backport #68416: quincy: cephfs_mirror: provide a command to list the paths configured for cephfs mirroring added
Actions #8

Updated by Upkeep Bot over 1 year ago

  • Tags (freeform) set to backport_processed
Actions #9

Updated by Upkeep Bot 9 months ago

  • Merge Commit set to eb2183136d4597ebdfeb5de9818452deec90887a
  • Fixed In set to v19.3.0-5381-geb2183136d4
  • Upkeep Timestamp set to 2025-07-08T18:45:53+00:00
Actions #10

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-5381-geb2183136d4 to v19.3.0-5381-geb2183136d45
  • Upkeep Timestamp changed from 2025-07-08T18:45:53+00:00 to 2025-07-14T15:46:09+00:00
Actions #11

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-5381-geb2183136d45 to v19.3.0-5381-geb2183136d
  • Upkeep Timestamp changed from 2025-07-14T15:46:09+00:00 to 2025-07-14T21:10:23+00:00
Actions #12

Updated by Jos Collin 8 months ago

  • Status changed from Pending Backport to Resolved
Actions #13

Updated by Upkeep Bot 5 months ago

  • Released In set to v20.2.0~1861
  • Upkeep Timestamp changed from 2025-07-14T21:10:23+00:00 to 2025-11-01T01:32:28+00:00
Actions

Also available in: Atom PDF