pve_ceph_fs_destroy
Destroy a Ceph filesystem on Proxmox VE. Returns a dry-run plan by default; confirm to execute and optionally remove underlying pools and storage entries.
Instructions
MUTATION: destroy a Ceph filesystem.
RISK_HIGH: UNRECOVERABLE via the API (a recreated filesystem with the same name is a fresh EMPTY filesystem, not a restore). Refuses upstream while a 'cephfs' PVE storage entry still references this filesystem and is not disabled, UNLESS remove_storages=True (schema truth). No upstream cmd-safety check exists for filesystem destroy. CAPTURE-or-declare: reads the current filesystem list before planning (also readable directly via pve_ceph_fs_list, ADVERSARIAL — taint marked when tracking is on); if unreadable -> complete=False. Dry-run by default (returns a PLAN); confirm=True executes (DELETE /nodes/{node}/ceph/fs/{name}) and returns {"status": "submitted", "result": }. No rollback primitive on this plane.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the Ceph filesystem to destroy. | |
| node | No | PVE node the filesystem is on; defaults to the configured node if omitted. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the destroy. | |
| remove_pools | No | Also remove the underlying metadata and data pools used by this filesystem. Schema-defaults False. | |
| 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. | |
| remove_storages | No | Remove pveceph-managed PVE storage entries configured for this filesystem. REQUIRED if a 'cephfs' storage entry still references it (see docstring). Schema-defaults False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |