Project

General

Profile

Bug #57902

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

Added by Ilya Dryomov 3 months ago. Updated about 2 months ago.

Status:
Pending Backport
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

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) In Progress

History

#1 Updated by Ilya Dryomov 3 months ago

  • 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)

#2 Updated by Prasanna Kumar Kalever 3 months ago

  • Pull request ID set to 48680

#3 Updated by Ilya Dryomov 3 months ago

  • Status changed from New to Fix Under Review

#4 Updated by Ilya Dryomov about 2 months ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to quincy

#5 Updated by Backport Bot about 2 months ago

  • 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

#6 Updated by Backport Bot about 2 months ago

  • Tags set to backport_processed

Also available in: Atom PDF