Project

General

Profile

Bug #18962

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

Added by Wido den Hollander 7 months ago. Updated 6 months 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:
Release:
Needs Doc:
No

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 7 months ago

  • Status changed from New to In Progress

#2 Updated by Nathan Cutler 7 months ago

  • Assignee set to Wido den Hollander

#3 Updated by Loic Dachary 7 months ago

  • Status changed from In Progress to Testing

#4 Updated by Loic Dachary 7 months ago

#5 Updated by Sage Weil 6 months ago

  • Status changed from Testing to Resolved

Also available in: Atom PDF