Project

General

Profile

Bug #18962

ceph-disk: Zap disk doesn't clear OSD journal data

Added by Wido den Hollander over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Start date:
02/16/2017
Due date:
% Done:

0%

Source:
Tags:
ceph-disk,zap
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:

Description

When Zapping a disk and re-creating a OSD on the same disk again the chance is there that the partition table will be identical to the one before.

If so the journal might contain 'old' data from the previous OSD which refuses the OSD to start afterwards.

ceph-disk should write 10M to all partitions on the disk prior to zapping the partitions should fix this

History

#1 Updated by Wido den Hollander over 1 year ago

  • Status changed from New to In Progress

#2 Updated by Nathan Cutler over 1 year ago

  • Assignee set to Wido den Hollander

#3 Updated by Loic Dachary about 1 year ago

  • Status changed from In Progress to Testing

#5 Updated by Sage Weil about 1 year ago

  • Status changed from Testing to Resolved

Also available in: Atom PDF