pbs_node_disk_wipe
Wipe all data and partition table from a PBS disk or partition for secure erasure. Dry-run returns a plan; confirm to execute irreversibly.
Instructions
MUTATION: wipe ALL data and the partition table on a PBS disk or partition.
RISK_HIGH, NO UNDO: DESTROYS all data, partitions, and filesystems on the named device — more destructive than pbs_node_disk_initgpt, which only overwrites the partition table. Unlike initgpt, 'disk' here MAY be a partition, not just a whole disk. Dry-run by default (returns a PLAN); confirm=True executes (PUT /nodes/{node}/disks/wipedisk, Smoke-confirm) and returns {"status": "submitted", "result": <task UPID | None>}. Needs PROXIMO_PBS_* config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| disk | Yes | Bare block device or partition name to wipe (e.g. 'sda', 'sda1', 'nvme0n1p1') — NOT a /dev/ path. ALL data on the target is destroyed. | |
| node | No | PBS node name (or 'localhost'). | localhost |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the irreversible wipe. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |