Project

General

Profile

Actions

Bug #18962

closed

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

Added by Wido den Hollander about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
ceph-disk,zap
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Actions

Also available in: Atom PDF