[pve-devel] [PATCH v2 storage 2/3] Incorporate wipe_disks from PVE::Ceph::Tools

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Mar 4 15:41:54 CET 2020


On 2/25/20 11:28 AM, Dominic Jäger wrote:
> Move wipe_disks from PVE::Ceph::Tools to PVE::Diskmanage and improve it by
>  - Handling invalid parameters
>  - Adding options for wiping
>  - Making names clearer, especially the sub name to indicate that it works for
>    partitions, too.
>  - Use `blockdev` system call because it is easier to understand
>  - Adding tests
> 
> Relies on the corresponding patch in pve-manager.
> 
> Signed-off-by: Dominic Jäger <d.jaeger at proxmox.com>
> ---
> v1->v2:
>  - Fix typo
>  - Not only move the function but also improve it
> 
>  PVE/Diskmanage.pm     | 63 ++++++++++++++++++++++++++++++++++++++
>  test/disklist_test.pm | 71 +++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 134 insertions(+)
> 

Dominik, please take a look at this series, I'd like a R-b from you for this.






More information about the pve-devel mailing list