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.
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
- Subject changed from [rbd-nbd] add snap_id mapping option to allow mapping arbitrary snapshots (e.g. mirror snapshots) to [rbd-nbd] add --snap-id option to "rbd device map" to allow mapping arbitrary snapshots (e.g. mirror snapshots)
- Description updated (diff)
- Pull request ID set to 48680
- Status changed from New to Fix Under Review
- Status changed from Fix Under Review to Pending Backport
- Backport set to quincy
- Copied to Backport #58151: quincy: [rbd-nbd] add --snap-id option to "rbd device map" to allow mapping arbitrary snapshots (e.g. mirror snapshots) added
- Tags set to backport_processed
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Also available in: Atom
PDF