reported to the monitor cluster in a while (configured by
``mon_osd_report_timeout``).
-Revert "lost" objects to their prior state, either a previous version
+Delete "lost" objects or revert them to their prior state, either a previous version
or delete them if they were just created. ::
- ceph pg {pgid} mark_unfound_lost revert
+ ceph pg {pgid} mark_unfound_lost revert|delete
OSD Subsystem
a previous version of the object or (if it was a new object) forget about it
entirely. To mark the "unfound" objects as "lost", execute the following::
- ceph pg {pg-id} mark_unfound_lost revert
+ ceph pg {pg-id} mark_unfound_lost revert|delete
.. important:: Use this feature with caution, because it may confuse
applications that expect the object(s) to exist.
to learn about writes that were performed before the writes themselves
are recovered. To mark the "unfound" objects as "lost"::
- ceph pg 2.5 mark_unfound_lost revert
+ ceph pg 2.5 mark_unfound_lost revert|delete
This the final argument specifies how the cluster should deal with
-lost objects. Currently the only supported option is "revert", which
-will either roll back to a previous version of the object or (if it
-was a new object) forget about it entirely. Use this with caution, as
-it may confuse applications that expected the object to exist.
+lost objects.
+
+The "delete" option will forget about them entirely.
+
+The "revert" option (not available for erasure coded pools) will
+either roll back to a previous version of the object or (if it was a
+new object) forget about it entirely. Use this with caution, as it
+may confuse applications that expected the object to exist.
Homeless Placement Groups