pve_node_storage_backend_create
Create a storage backend (LVM, LVM-thin, ZFS, or directory) on a Proxmox node. Formats specified disk(s) immediately if confirmed; dry-run by default to review the plan.
Instructions
MUTATION: create a storage backend on the node (lvm/lvmthin/zfs/directory).
Per-backend required params: zfs: devices (comma-sep disk list) + raidlevel lvm/lvmthin: devices (single disk) directory: devices (disk path) + filesystem (e.g. ext4)
RISK_HIGH: FORMATS the named disk(s) immediately — any pre-existing data is destroyed, irreversibly. To see what already exists use pve_node_storage_backend_list; to remove one use pve_node_storage_backend_delete. Dry-run by default (returns a PLAN); confirm=True executes (POST, Smoke-confirm) and returns {"status": "submitted", "result": <task UPID | None>}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kw | Yes | ||
| name | Yes | Name to assign to the new storage backend. | |
| node | No | PVE node name to create the backend on; defaults to the configured node if omitted. | |
| backend | Yes | Storage backend type to create: one of lvm, lvmthin, zfs, directory. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the creation. | |
| devices | No | Disk device(s) consumed by the new backend: comma-separated list for zfs, a single disk path for lvm/lvmthin/directory. | |
| 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 |