Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

CIFS / SMB

Direct answer

Proxmox CIFS/SMB storage mounts a Windows or Samba share on every node for backups, ISOs, templates or disk images. It is shared storage, but it is usually slower than NFS for VM disks.

When to use this

Use this when Proxmox stores backups or ISOs on SMB shares.

First 30 seconds

1. CIFS/SMB storage for backups/ISOs (and disks if needed).

2. Credentials stored in /etc/pve/priv.

3. Use SMB 3 (smbversion 3).

4. Not ideal for VM disks.

5. Check permissions on the share.

Operational verification

file → CIFS mount → SMB server

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Hypervisor Storage
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.

PlatformHypervisor Storage
Scope / prerequisiteUse this when Proxmox stores backups or ISOs on SMB shares.
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 Checks Verify boundary
  • pvesm status shows the storage active.
  • Mount present: findmnt | grep cifs.
  • SMB 3 negotiated on the NAS.
Step 2 Common mistakes Narrow the fault
  • SMB1/2 versions.
  • Credentials in shell history — use the GUI or a credentials file.
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
  • Mounted on every node.
  • Slower for VM disks.
  • Credentials stored in Proxmox.
Key checks
  • findmnt /mnt/pve/<id> — CIFS mounted
  • grep -A6 'cifs:' /etc/pve/storage.cfg — settings
  • ls -l /etc/pve/priv/storage/<id>.pw — stored credentials
ReferenceHow it works1 section · depth on demand

How it works

Proxmox mounts an SMB/CIFS share on each node under /mnt/pve/<storage-id> using stored credentials. It is mainly used for backups and ISO images from Windows file servers or NAS devices. As shared storage it supports migration, but SMB from a single NAS is a single point of failure for running VMs.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

SMB/CIFS shares as Proxmox storage

The Proxmox storage documentation describes the CIFS backend:

# pvesm scan cifs fs01.corp.example.com --username svc-pve --password
projects     |
pvebackup    | Proxmox backups
# pvesm add cifs fs01-backup --server fs01.corp.example.com --share pvebackup \
      --username svc-pve --password --domain CORP --smbversion 3.11 --content backup,iso
# pvesm status --storage fs01-backup
# ls -l /etc/pve/priv/storage/fs01-backup.pw
-rw------- 1 root www-data 13 Nov 27 10:12 /etc/pve/priv/storage/fs01-backup.pw
OptionDocumented meaning
server, shareRequired; pvesm scan cifs lists shares
usernameOptional; defaults to guest
passwordStored in /etc/pve/priv/storage/<ID>.pw, readable only by root
domainUser domain (workgroup)
smbversionUnset or default negotiates the highest SMB2+ version; SMB1 is not supported
subdirMount a subdirectory of the share
pathLocal mount point; default /mnt/pve/<ID>/

Good uses

ContentFit
Backups (vzdump)Good, on a dedicated share and service account
ISO and templatesGood
VM disksPossible, but NFS or block storage is usually more predictable

Troubleshooting

SymptomCheck
Storage inactivemount | grep fs01-backup; credentials; port 445 from every node
Permission denied writing backupsShare and NTFS rights for the service account
Works on one node onlyDNS or firewall difference between nodes
Logon failures after a password changeUpdate the stored password (pvesm set fs01-backup --password)

Use a dedicated account with access to this share only, so the stored credential cannot reach anything else.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Configuration

pvesm add cifs nas-smb --server nas01 --share vmstore --username pve --password 'xxx' --smbversion 3
pvesm status

Documented example, not captured output.

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 docHypervisor Storage current

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

Basis: https://pve.proxmox.com/pve-docs/chapter-pvesm.html · confidence 94%
Confirmation

Confirm action

Continue?