Project

General

Profile

Actions

Feature #2560

closed

rbd: safe parent deletion

Added by Sage Weil almost 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
% Done:

0%

Source:
Tags:
CY2012
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

- maintain map of parent/child pairs in each child pool

   $ rbd preserve pool/image
   $ rbd rm pool/image
   Error: image is preserved. If you really know what you're doing, 
unpreserve it.
   $ rbd unpreserve pool/image
     - mark-unpreserving pool/image
     - ... verify no children ...
     - clear preserved flag on pool/image
   $ rm pool/image
Actions #1

Updated by Sage Weil almost 12 years ago

  • Category set to librbd
Actions #2

Updated by Sage Weil almost 12 years ago

  • Description updated (diff)
Actions #3

Updated by Sage Weil almost 12 years ago

  • Translation missing: en.field_position deleted (2)
  • Translation missing: en.field_position set to 19
Actions #4

Updated by Sage Weil almost 12 years ago

  • Subject changed from cls_rbd: safe parent deletion to rbd: safe parent deletion
  • Translation missing: en.field_position deleted (34)
  • Translation missing: en.field_position set to 34
Actions #5

Updated by Sage Weil almost 12 years ago

  • Translation missing: en.field_story_points set to 5
  • Translation missing: en.field_position deleted (35)
  • Translation missing: en.field_position set to 35
Actions #6

Updated by Sage Weil almost 12 years ago

  • Project changed from Ceph to rbd
  • Category deleted (librbd)
Actions #7

Updated by Sage Weil almost 12 years ago

  • Translation missing: en.field_position deleted (44)
  • Translation missing: en.field_position set to 9
Actions #8

Updated by Anonymous almost 12 years ago

  • Translation missing: en.field_position deleted (27)
  • Translation missing: en.field_position set to 4
Actions #9

Updated by Josh Durgin over 11 years ago

  • Translation missing: en.field_position deleted (22)
  • Translation missing: en.field_position set to 3
Actions #10

Updated by Anonymous over 11 years ago

  • Priority changed from Normal to High
  • Tags set to CY2012
Actions #11

Updated by Dan Mick over 11 years ago

I think this is more or less implemented. The commands are "snap protect" and
"snap unprotect", but they behave as above.

Actions #12

Updated by Sage Weil over 11 years ago

  • Target version set to v0.53a
  • Translation missing: en.field_position deleted (7)
  • Translation missing: en.field_position set to 4
Actions #13

Updated by Sage Weil over 11 years ago

  • Status changed from New to Resolved
  • Translation missing: en.field_position deleted (4)
  • Translation missing: en.field_position set to 4
Actions #14

Updated by Sage Weil over 11 years ago

  • Target version changed from v0.53a to v0.52a
  • Translation missing: en.field_position deleted (4)
  • Translation missing: en.field_position set to 1
Actions

Also available in: Atom PDF