pve-manager/PVE/API2/Ceph
Alwin Antreich b436dca874 Fix #2051: preserve DB/WAL disk on destroy
When destroying an OSD over API or CLI, e.g. by executing:

'pveceph osd destroy <num> --cleanup'

all disks associated with the OSD got wiped with dd, which included
any shared and by others still in use ones, e.g., separate disks with
DB/WAL.

The patch changes 'wipe_disks' to wipe the partition instead of the
whole disk.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-02-08 14:20:23 +01:00
..
FS.pm ceph: move service_cmd and MDS related code to Services.pm 2018-12-20 09:44:01 +01:00
Makefile ceph: move Monitor API calls to API2/Ceph/MON.pm 2018-12-20 09:44:01 +01:00
MDS.pm ceph: move service_cmd and MDS related code to Services.pm 2018-12-20 09:44:01 +01:00
MGR.pm ceph: move MGR API calls to API2/Ceph/MGR.pm 2018-12-20 09:44:01 +01:00
MON.pm ceph: move Monitor API calls to API2/Ceph/MON.pm 2018-12-20 09:44:01 +01:00
OSD.pm Fix #2051: preserve DB/WAL disk on destroy 2019-02-08 14:20:23 +01:00