Project

General

Profile

Fix #7109

disallow removing the first data pool

Added by Greg Farnum over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
01/06/2014
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:

Description

Our lookup-by-ino code requires that we be able to look for all existing inodes in a well-known location — the default data pool. If a user removes this pool, then we no longer have the backtraces we need.
A more sophisticated solution would involve copying the data from the "old default" pool to the "new default" pool, and that would be hard. That basically leaves us with not permitting users to delete the first pool.

Associated revisions

Revision 4cca38ca
Added by Gregory Farnum over 5 years ago

Merge pull request #1173 from ceph/wip-7109

Fix #7109: Prevent removal of default data pool

Reviewed-by: Greg Farnum <>

History

#2 Updated by Sage Weil over 5 years ago

  • Target version set to v0.77

#3 Updated by Greg Farnum over 5 years ago

  • Status changed from New to Need Review
  • Assignee set to John Spray

#4 Updated by Greg Farnum over 5 years ago

  • Status changed from Need Review to Resolved

Merged into master in commit:4cca38c

Also available in: Atom PDF