]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commit
Fix "disk zap" sgdisk invocation 200/head
authorLars Marowsky-Bree <lmb@suse.com>
Wed, 25 Jun 2014 15:12:24 +0000 (17:12 +0200)
committerLars Marowsky-Bree <lmb@suse.com>
Wed, 25 Jun 2014 15:12:24 +0000 (17:12 +0200)
commit775adfee88ad45fa880b3078c691e5337ebd1bfc
tree41c9db93bf2dbf723f54f42e56de7f6e5398dbb7
parent567a36bd1622cab568aa2162991a8a89fedbaaa3
Fix "disk zap" sgdisk invocation

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.
ceph_deploy/osd.py