Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Directory

Direct answer

The storage plugin trusts the host filesystem/mount beneath the configured path; if a network or block mount disappears, the directory path can still exist while pointing at the wrong local filesystem.

When to use this

Use this topic when the observed symptom or requested change has been narrowed to Proxmox VE → Storage → Directory. Start with current state and dependencies before changing configuration.

First 30 seconds

1. Directory storage stores qcow2/raw files on a mounted filesystem.

2. qcow2 gives snapshots.

3. Mark shared only if it's on shared storage mounted everywhere.

4. Use is_mountpoint to avoid filling the root disk if mount fails.

5. Simple and flexible.

Operational verification

qcow2/raw file → filesystem → disk

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

A readable directory shows path access, not that the intended mount, image integrity or shared-storage semantics are correct.

Common mistakes
  • Using RAW files on directory storage and losing snapshots.
  • Storing VM disks on the root file system.
  • Not marking mount points (is_mountpoint), so VMs write to an unmounted directory.
  • Wrong content types, so ISO or backup uploads do not appear.
Platform / version applicability
proxmox-ve
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
Scope / prerequisiteUse this topic when the observed symptom or requested change has been narrowed to Proxmox VE → Storage → Directory. Sta…
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.

1 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

Storage ID → directory path → mounted filesystem/block device → image/content file → consumer

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
  • Directory exists ≠ intended filesystem mounted.
  • Filesystem free space ≠ guest filesystem free space.
  • Image file present ≠ image chain healthy.
  • Local directory storage is not shared merely because names match on multiple nodes.
Key checks
  • pvesm status --storage local — usage
  • df -h /var/lib/vz — filesystem
  • ls /var/lib/vz/images/<vmid> — disk files
ReferenceWhat it is1 section · depth on demand

Directory storage tips

Set is_mountpoint 1 (or mkdir 0) for paths on separately mounted disks so Proxmox never writes into the root file system when the disk is missing. For qcow2 images on directory storage, snapshots are internal qcow2 snapshots. Use fstrim and discard so thin images shrink.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

A readable directory shows path access, not that the intended mount, image integrity or shared-storage semantics are correct.

In depth

Proxmox directory storage is any mounted path. Use it for ISOs, container templates, backups and snippets (cloud-init custom configs).

pvesm add dir usb-backup --path /mnt/usb --content backup --is_mountpoint yes --prune-backups keep-daily=7,keep-weekly=4
ls /var/lib/vz/{template/iso,template/cache,dump,snippets}

VM disks on directory storage use qcow2 (snapshots) or raw (no snapshots). The default local storage (/var/lib/vz) sits on the root filesystem — keep large backups off it.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 current

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

Basis: https://pve.proxmox.com/pve-docs/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
directory storage proxmoxdir storageproxmox directorystorage.cfg dir
Embedded reference data

Quick lookup tables

Proxmox VE → Storage → Directory reference map

Fast operational boundaries and evidence limits for Proxmox VE → Storage → Directory.

BoundaryWhat to verifyEvidence limit
Configured stateExpected Directory configuration is presentConfiguration alone does not prove runtime behavior
Runtime stateRelevant Directory service/object is active and error-freeRuntime state does not prove dependencies
DependencyBacking network, storage, cluster or host dependency is healthyLocal success does not prove end-to-end outcome
AcceptanceOriginal VM/container/workload test succeedsRequired to close the incident
Confirmation

Confirm action

Continue?