Skip to content

Octopus: Rescue procedure for extremely large bluefs log#36112

Closed
aclamk wants to merge 3 commits intoceph:octopusfrom
aclamk:wip-bluefs-log-replay-rescue-octopus
Closed

Octopus: Rescue procedure for extremely large bluefs log#36112
aclamk wants to merge 3 commits intoceph:octopusfrom
aclamk:wip-bluefs-log-replay-rescue-octopus

Conversation

@aclamk
Copy link
Contributor

@aclamk aclamk commented Jul 15, 2020

This is procedure that stems from https://tracker.ceph.com/issues/46195.
It was created and tested in Luminous, but now needs to be ported to all other ceph branches.
This one is a cherry-picked from #36110
It fixes https://tracker.ceph.com/issues/46552

aclamk added 3 commits July 15, 2020 14:01
This is a procedure tries to find on disk unreachable extents and pretend they were
already a part of bluefs log. If this gives proper crc, accept it.

Fixes: https://tracker.ceph.com/issues/46195
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
(cherry-picked from commit 865871e)

Conflicts:
	src/os/bluestore/BlueFS.cc
This ability only makes sense as a step that allows to perform fsck before commiting recovered bluefs log.

Fixes: https://tracker.ceph.com/issues/46195
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
(cherry-picked from commit 60a2eb9)

Conflicts:
	src/os/bluestore/BlueFS.cc
Adds additional paragraph to ceph-bluestore-tool documentation,
describing how to use *special* options --bluefs_replay_recovery
and --bluefs_replay_recovery_disable_compact to recover large
bluefs log.

Fixes: https://tracker.ceph.com/issues/46195
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
(cherry-picked from commit f71e53c)
@neha-ojha
Copy link
Member

@aclamk aclamk closed this Jul 15, 2020
@aclamk
Copy link
Contributor Author

aclamk commented Jul 15, 2020

Superseded by:
#36123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants