Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src/ceph-disk : disk zap sgdisk invocation #4561

Merged
1 commit merged into from May 7, 2015
Merged

src/ceph-disk : disk zap sgdisk invocation #4561

1 commit merged into from May 7, 2015

Conversation

ghost
Copy link

@ghost ghost commented May 6, 2015

Fixes #11143

If the metadata on the disk is truly invalid, sgdisk would fail to zero
it in one go, because --mbrtogpt apparently tried to operate on the
metadata it read before executing --zap-all.

Splitting this up into two separate invocations to first zap everything
and then clear it properly fixes this issue.

Based on patch by Lars Marowsky-Bree <lmb@suse.com> in ceph-deploy.
Created by Vincent Untz <vuntz@suse.com>

Signed-off-by: Owen Synge <osynge@suse.com>
Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
(cherry picked from commit fdd7f8d)
@ghost ghost self-assigned this May 6, 2015
@ghost ghost added this to the hammer milestone May 6, 2015
ghost pushed a commit that referenced this pull request May 7, 2015
src/ceph-disk : disk zap sgdisk invocation

Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost merged commit 3bd8e4f into ceph:hammer May 7, 2015
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants