Actions
Feature #67292
closedcephfs_mirror: provide a command to list the paths configured for cephfs mirroring
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
Merge Commit:
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
}
}
Updated by Jos Collin over 1 year ago
- Status changed from New to Fix Under Review
- Pull request ID set to 58966
Updated by Venky Shankar over 1 year ago
- Target version set to v20.0.0
- Backport set to reef,squid
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
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
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
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
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
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
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
Updated by Jos Collin 8 months ago
- Status changed from Pending Backport to Resolved
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