From what I understand, when you inject a "foreign" PG into the OSD, it will report to the mons that it now has this PG and its objects (at some version) and then the mons/mgrs will often decide it is available, but perhaps misplaced and move it to where it now should reside. And if it is not broken, it will start serve data and/or be the source for backfills if it was the only replica for this PG.
Exactly, sometimes in conjunction with temporarily lowering min_size.
Of course I have never had to do this myself, but from what reports here on the maillist have said, I have understood it as being a good way to inject a copy of a PG if you can extract it from an otherwise failed OSD which will not start.
I've done it once or twice with success.
-- May the most significant bit of your life be positive. _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io