Use this when Proxmox stores backups or ISOs on SMB shares.
CIFS / SMB
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.
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.
file → CIFS mount → SMB server
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
pvesm statusshows 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 · 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.
- Mounted on every node.
- Slower for VM disks.
- Credentials stored in Proxmox.
findmnt /mnt/pve/<id>— CIFS mountedgrep -A6 'cifs:' /etc/pve/storage.cfg— settingsls -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
| Option | Documented meaning |
|---|---|
server, share | Required; pvesm scan cifs lists shares |
username | Optional; defaults to guest |
password | Stored in /etc/pve/priv/storage/<ID>.pw, readable only by root |
domain | User domain (workgroup) |
smbversion | Unset or default negotiates the highest SMB2+ version; SMB1 is not supported |
subdir | Mount a subdirectory of the share |
path | Local mount point; default /mnt/pve/<ID>/ |
Good uses
| Content | Fit |
|---|---|
| Backups (vzdump) | Good, on a dedicated share and service account |
| ISO and templates | Good |
| VM disks | Possible, but NFS or block storage is usually more predictable |
Troubleshooting
| Symptom | Check |
|---|---|
| Storage inactive | mount | grep fs01-backup; credentials; port 445 from every node |
Permission denied writing backups | Share and NTFS rights for the service account |
| Works on one node only | DNS or firewall difference between nodes |
| Logon failures after a password change | Update 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.
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
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 → 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%