[pve-devel] applied-partially: [PATCH-SERIES storage/widget-toolkit/manager] Add wipe disk api call and button
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Jun 2 14:17:26 CEST 2021
On 23.04.21 12:14, Fabian Ebner wrote:
> so admins wipe disks that are not actually used, but contain left-overs.
>
> The last patch needs dependency bumps for pve-storage and
> proxmox-widget-toolkit.
>
> storage:
>
> Fabian Ebner (5):
> diskmanage: add wipe_blockdev method
> diskmanage: factor out mounted_blockdevs helper
> diskmanage: add is_mounted method
> diskmanage: add has_holder method
> api: add wipedisk call
>
> PVE/API2/Disks.pm | 42 ++++++++++++++++++++++
> PVE/Diskmanage.pm | 91 ++++++++++++++++++++++++++++++++++++++++++++---
> 2 files changed, 129 insertions(+), 4 deletions(-)
>
applied the storage part, with a followup to add the single partitions to the wipefs
command to ensure that really all FS signatures are gone, else, if one creates a
similar partition layout later a mkfs. call may complain about potential existing FS.
More information about the pve-devel
mailing list