]> git.proxmox.com Git - pve-storage.git/commit
api: add wipedisk call
authorFabian Ebner <f.ebner@proxmox.com>
Fri, 23 Apr 2021 10:14:55 +0000 (12:14 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 2 Jun 2021 09:56:51 +0000 (11:56 +0200)
commit2829e6a85326cc8263232cbca730e3e7cdc13b69
tree09c37a3338fb3c178da0aa7ba4d399e797ca4e5b
parentcb057e21c549d9377169c56c15e3e66586c8fa7c
api: add wipedisk call

Try to detect active mounts and holders early, because it's cheap. The wipefs
command in the worker will detect even more situations where wiping alone is
not enough for the device to show up as unused, or could otherwise be
problematic.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/API2/Disks.pm