Project

General

Profile

Bug #44748

lvm zap is not zapping the db lv

Added by Joshua Schmid 6 months ago. Updated 5 months ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

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

Description

Using the following setup as an example:

vdb                                                                                                                   254:16   0   25G  0 disk
└─ceph--block--98dcac35--91fe--41fd--8869--e3b9becaa1da-osd--block--d6b5fc92--bfda--43b3--b700--8b2e1cf75d9c          253:1    0   25G  0 lvm
vdc                                                                                                                   254:32   0   25G  0 disk
└─ceph--block--8216011b--f986--4e27--a543--2269d7d9a1b5-osd--block--dcdce2ee--d545--43fa--a768--30a78f908fdb          253:2    0   25G  0 lvm
vdd                                                                                                                   254:48   0   25G  0 disk
└─ceph--block--f11503c2--6acc--4386--9cf1--c33eb1105e5d-osd--block--1f55dc9f--c6d1--426d--a519--91710a20a8f8          253:0    0   25G  0 lvm
vde                                                                                                                   254:64   0   50G  0 disk
├─ceph--block--dbs--73211778--d508--46d1--af76--24af1b4966e3-osd--block--db--c1105e24--9273--44a5--bba9--5ab868fa4a0f 253:3    0 16.7G  0 lvm
├─ceph--block--dbs--73211778--d508--46d1--af76--24af1b4966e3-osd--block--db--f6f2ab96--db96--4d6d--bcf2--f72c4b8ded90 253:4    0 16.7G  0 lvm
└─ceph--block--dbs--73211778--d508--46d1--af76--24af1b4966e3-osd--block--db--ead2ccdc--3c28--47b8--bf5a--912836977e24 253:5    0 16.7G  0 lvm

1) zapping a device using

ceph-volume lvm zap --osd-id 0 --destroy

(0 is associated with /dev/vdb)

the outcome looks like this:

vdb                                                                                                                   254:16   0   25G  0 disk
vdc                                                                                                                   254:32   0   25G  0 disk
└─ceph--block--8216011b--f986--4e27--a543--2269d7d9a1b5-osd--block--dcdce2ee--d545--43fa--a768--30a78f908fdb          253:2    0   25G  0 lvm
vdd                                                                                                                   254:48   0   25G  0 disk
└─ceph--block--f11503c2--6acc--4386--9cf1--c33eb1105e5d-osd--block--1f55dc9f--c6d1--426d--a519--91710a20a8f8          253:0    0   25G  0 lvm
vde                                                                                                                   254:64   0   50G  0 disk
├─ceph--block--dbs--73211778--d508--46d1--af76--24af1b4966e3-osd--block--db--c1105e24--9273--44a5--bba9--5ab868fa4a0f 253:3    0 16.7G  0 lvm
├─ceph--block--dbs--73211778--d508--46d1--af76--24af1b4966e3-osd--block--db--f6f2ab96--db96--4d6d--bcf2--f72c4b8ded90 253:4    0 16.7G  0 lvm
└─ceph--block--dbs--73211778--d508--46d1--af76--24af1b4966e3-osd--block--db--ead2ccdc--3c28--47b8--bf5a--912836977e24 253:5    0 16.7G  0 lvm

I would expect that `ceph--block--dbs--73211778--d508--46d1--af76--24af1b4966e3-osd--block--db--c1105e24--9273--44a5--bba9--5ab868fa4a0f` is removed as well.

History

#1 Updated by Jan Fajerski 5 months ago

  • Status changed from New to Can't reproduce

I'm unable to reproduce this, so closing. Please reopen if this is still an issue.

Also available in: Atom PDF