Project

General

Profile

Actions

Bug #47664

open

ceph-volume lvm zap --destroy /dev/sdf

Added by none none over 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

I am replacing osd with encryption with this procedure

ceph osd crush reweight osd.30 0.0

ceph osd out 30
service ceph-osd@30 stop
ceph osd crush remove osd.30
ceph auth del osd.30
ceph osd rm 30

mv /var/lib/ceph/osd/ceph-30/ /var/lib/ceph/osd/ceph-30.old/

ceph-volume lvm zap --destroy /dev/sdi
ceph-volume lvm create --data /dev/sdi --dmcrypt

I do not know, why but sometimes this lvm create fails. Last time it failed I got stuck in the loop ceph-volume lvm zap, pvremove (see #47549), ceph-volume lvm create

I saw in the output this dd 10M

When I changed the procedure to
ceph-volume lvm zap, pvremove (see #47549), dd if=/dev/zero of=/dev/sdf bs=1M count=100, ceph-volume lvm create

The osd was successfully created.

I do not know what the difference is between doing a dd with 10M or 100M, but maybe it is worth investigating this.

Actions #1

Updated by Greg Farnum almost 3 years ago

  • Project changed from Ceph to ceph-volume
Actions

Also available in: Atom PDF