Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Storage Automation · Proxmox Automation

Direct answer

Proxmox storage automation adds and configures storage with pvesm or the API, creates ZFS pools, LVM-thin or Ceph pools, and assigns content types such as images, backups and ISOs.

When to use this

Use this when automating Proxmox storage.

First 30 seconds

1. Storage automation: add/remove storages, content types, shared flags.

2. Validate mount/backends.

3. Consistent across cluster.

4. Monitor capacity.

5. Document.

Operational verification

automation → /storage API → storage.cfg

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Proxmox VE API automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProxmox VE API automation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when automating Proxmox storage.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

The negative fixture should deliberately exercise risks such as wrong node/VMID, task accepted but later failed, cluster quorum/lock contention, storage/network mismatch, stale API view and retrying a still-running task, choosing the cases most relevant to storage object lifecycle, capacity/protection/attachment policy, destructive-operation gates and host/application visibility after provisioning.

Step 2 Common mistakes Narrow the fault
  • Adding storage that some nodes cannot reach.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • pvesm and the API manage storage.
  • Content types decide what can be stored.
  • The shared flag matters for migration.
Key checks
  • pvesm status — storages
  • pvesh create /storage --storage <id> --type nfs --server <s> --export <p> --content images — add storage
  • storage.cfg managed via automation — consistency
ReferenceWhy it matters1 section · depth on demand

What it is

Storage definitions (/etc/pve/storage.cfg) are managed with pvesm or the API and apply cluster-wide.

ReferenceHow it works1 section · depth on demand

In depth

Storage automation on Proxmox manages storage definitions (local ZFS/LVM, NFS, Ceph RBD, CephFS, PBS), disk allocation for VMs and lifecycle tasks such as snapshots and cleanup.

pvesm status
pvesm add nfs backup-nfs --server 10.0.0.20 --export /srv/pve --content backup
qm disk move 214 scsi0 ceph-vm --delete 1
pvesh get /nodes/pve01/storage/local-zfs/content --output-format json

Check the content types a storage allows (images, rootdir, backup, iso) — a common provisioning failure is targeting a storage that does not accept VM images. Monitor thin-provisioned storage (LVM-thin, ZFS) for fill level, since overcommitted storage fills without warning to individual VMs.

ReferenceImportant terms & boundaries1 section · depth on demand
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProxmox VE API automation current

Authoritative/upstream documentation reviewed for bounded claims in Proxmox Automation > Storage Automation. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://pve.proxmox.com/pve-docs/api-viewer/ · confidence 94%
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

For storage object lifecycle, capacity/protection/attachment policy, destructive-operation gates and host/application visibility after provisioning, prefer typed fields and stable IDs over human presentation text.

Confirmation

Confirm action

Continue?