Project

General

Profile

Actions

Bug #57902

closed

[rbd-nbd] add --snap-id option to "rbd device map" to allow mapping arbitrary snapshots (e.g. mirror snapshots)

Added by Ilya Dryomov over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

As any snapshot in a non-user snapshot namespace, mirror snapshots are inaccessible to most rbd CLI commands. As such, inspecting mirror snapshot contents is much harder than it should be -- they can't be diffed, exported, etc. Let's allow them to be mapped at least.

$ sudo rbd device map -t nbd --snap-id 123 testpool/testimage
/dev/nbd0

Related issues 1 (0 open1 closed)

Copied to rbd - Backport #58151: quincy: [rbd-nbd] add --snap-id option to "rbd device map" to allow mapping arbitrary snapshots (e.g. mirror snapshots)ResolvedIlya DryomovActions
Actions

Also available in: Atom PDF