Project

General

Profile

Feature #8276

ceph-filestore-dump import-rados -p <pool> <archive>

Added by Samuel Just over 5 years ago. Updated over 5 years ago.

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

0%

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

Description

I'd also like to propose a mode where ceph-filestore-dump reinserts the contents of an exported pg via rados, something like

ceph-filestore-dump import-rados -p <pool> <archive>

That would allow us to extract a pg from a messed up osd and reinsert it via rados after a force_create_pg instead of by injecting it into a random osd.


Related issues

Blocks RADOS - Feature #8355: extend rados import to support recovering from archived erasure-coded shards New 05/14/2014

Associated revisions

Revision 23ec93a8 (diff)
Added by David Zafman over 5 years ago

ceph_objectstore_tool, test: Implement import-rados feature and unit test code

Fixes: #8276

Signed-off-by: David Zafman <>

Revision 4f83005b (diff)
Added by David Zafman almost 5 years ago

ceph_objectstore_tool, test: Implement import-rados feature and unit test code

Fixes: #8276

Signed-off-by: David Zafman <>
(cherry picked from commit 23ec93a86140c4b271b45d87c62682288079cbba)

History

#1 Updated by Samuel Just over 5 years ago

  • Target version deleted (v0.81)

#2 Updated by Ian Colle over 5 years ago

  • Assignee set to David Zafman

#3 Updated by Neil Levine over 5 years ago

  • Target version set to 0.85

#4 Updated by Samuel Just over 5 years ago

  • Target version changed from 0.85 to 0.85 cont.

#5 Updated by David Zafman over 5 years ago

  • Status changed from New to 7

Implemented syntax:

ceph_objectstore_tool import-rados pool [import_file|-]

Import into the specified pool on running cluster from export data. If third argument is not specified or "-" read from stdin otherwise read from specified file.

Undocumented: The --file option will be used if present and third argument not specified, otherwise it is ignored.

Import of a sharded pg export is not supported. Snapshots (non-head objects) are ignored by this type of import. Feature set compatibility isn't checked.

#6 Updated by Ian Colle over 5 years ago

  • Target version changed from 0.85 cont. to 0.86

#7 Updated by David Zafman over 5 years ago

  • Status changed from 7 to Fix Under Review

#8 Updated by David Zafman over 5 years ago

  • Status changed from Fix Under Review to Resolved

23ec93a86140c4b271b45d87c62682288079cbba

Also available in: Atom PDF