Project

General

Profile

Fix #7109

disallow removing the first data pool

Added by Greg Farnum about 10 years ago. Updated about 10 years ago.

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

0%

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

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 about 10 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 about 10 years ago

  • Target version set to v0.77

#3 Updated by Greg Farnum about 10 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to John Spray

#4 Updated by Greg Farnum about 10 years ago

  • Status changed from Fix Under Review to Resolved

Merged into master in commit:4cca38c

Also available in: Atom PDF