Use this when Proxmox uses a mounted directory as storage.
Directory
Proxmox directory storage is any mounted path on a node used for qcow2 or raw images, ISOs, templates and backups. It is local unless marked shared on a path mounted on every node.
1. Directory storage keeps files (qcow2/raw) on a path.
2. Use is_mountpoint 1 so an unmounted disk doesn't fill root.
3. qcow2 for snapshots.
4. Can be shared only if the path is truly shared.
5. Simple backup/ISO target.
file → directory → filesystem
Context & applicabilityCommon mistakes · platform/version boundaries
- Directory storage on a mount that is not ready at boot; VMs start on the empty directory. Set
is_mountpoint 1. - Storing ISOs, backups and VM images on the root file system.
- Using RAW files on directory storage, losing snapshot support.
Operational reference
Fast context before you go deeper.
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.
- Local unless marked shared and mounted everywhere.
- Supports qcow2 snapshots.
- Check content types.
pvesm status --storage <dir>— usagefindmnt <path>— mounted filesystemgrep -A5 'dir: <id>' /etc/pve/storage.cfg— is_mountpoint option
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Directory storage uses any mounted filesystem path for ISOs, templates, backups and file-based VM disks (qcow2/raw/vmdk).
pvesm add dir backup-disk --path /mnt/backup --content backup,iso --is_mountpoint yes
pvesm status
is_mountpoint yes stops Proxmox from writing into the empty directory when the disk is not mounted — a common cause of a full root filesystem after a USB or NFS disk failed to mount. Mark directory storage as shared 1 only if the path really is the same shared filesystem on every node.
Example storage.cfg
dir: data-ssd
path /mnt/data-ssd
content images,rootdir
is_mountpoint 1
prune-backups keep-last=3
Documented example, not captured output. is_mountpoint 1 stops Proxmox from using the directory when the disk is not mounted.
ReferenceConfiguration & state1 section · depth on demand
Configuration
dir: backup
path /mnt/backup
content backup,iso,vztmpl
is_mountpoint 1
prune-backups keep-daily=7,keep-weekly=4
Documented example, not captured output. Set is_mountpoint 1 so Proxmox does not fill the root file system if the disk is not mounted. Directory storage on a shared path must be marked shared 1 on all nodes.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hypervisor Storage → Proxmox Storage → Directory. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://pve.proxmox.com/pve-docs/chapter-pvesm.html · confidence 94%