Skip to content

How to Add SMB/CIFS Storage to Proxmox VE

Add an SMB/CIFS share to Proxmox VE: create the share, add it under Datacenter > Storage, store credentials safely, pick content types, and fix mount errors.

SDSysadmin Desk October 19, 2026 8 min read
Photographic illustration for How to Add SMB/CIFS Storage to Proxmox VE: homelab server rack and virtualization cluster dashboard

If your storage lives on a Windows server or a NAS that’s already sharing folders over SMB, you don’t need to set up a separate protocol just for Proxmox. Proxmox can mount an SMB share directly as CIFS storage and use it for ISOs, backups, and even VM disks. It speaks SMB natively, so there’s nothing to install on the host.

This guide covers both halves: making sure the share exists and is reachable, then adding it to Proxmox under Datacenter → Storage with credentials stored safely and the right content types enabled. It ends with the mount errors that come up most, because a CIFS share that won’t go active is almost always a credentials or protocol-version issue, not a Proxmox bug. Steps target Proxmox VE 8.x.

If your storage is a Linux box rather than Windows, adding NFS storage is usually the better fit — NFS tends to perform better with a Linux host. CIFS is the right tool when the share is Windows-based or your environment already runs on SMB.

Before you start

A CIFS mount has a few more moving parts than NFS because of authentication. Line these up first.

Before you start

  • An SMB/CIFS share reachable from the Proxmox node
  • The share path in UNC-style form, e.g. //192.168.1.20/proxmox
  • A username and password with read/write access to the share
  • The SMB version the server supports (2.1 or 3.x — never SMB1)
  • A decision on what the share is for: ISOs, backups, or VM disks

That last point shapes the permissions you grant and the content types you enable. A backup target needs write access and the backup content type; an ISO library can be read-mostly. Decide the job before you create the share.

Step 1: Make sure the share exists and is reachable

On a Windows Server, create a shared folder through Server Manager or by right-clicking the folder, then Properties → Sharing → Advanced Sharing, and grant the Proxmox account read/write at both the share and NTFS level. On a NAS appliance (Synology, QNAP, TrueNAS), enable SMB and create the shared folder in the appliance’s web interface.

Before touching Proxmox, confirm the node can actually see the share. From the Proxmox shell:

# list the shares the server is offering, authenticating as your user
smbclient -L //192.168.1.20 -U proxmoxuser

If the share name doesn’t appear in that list — or you get an authentication error — fix the server side first. Proxmox can’t mount a share it can’t list or log into.

Step 2: Add the CIFS storage in Proxmox

With the share confirmed, go to the web interface: Datacenter → Storage → Add → CIFS. Proxmox probes the server and can autodetect the available shares once you provide credentials.

CIFS storage fields in Proxmox

ID A name for the storage in Proxmox, such as nas-cifs. Lowercase, no spaces.
Server The SMB server's IP or hostname, e.g. 192.168.1.20.
Username / Password An account with access to the share. Proxmox stores this in a protected credentials file.
Share Click the dropdown to autodetect after credentials are entered, or type the share name.
Content What this storage holds (see Step 4).
Nodes Restrict to specific nodes, or leave on All for a cluster-wide share.

After you fill in the server and credentials, the Share dropdown populates with whatever the server exposes to that account. An empty dropdown means the credentials can’t see any shares — go back and check the username, password, and share permissions on the server.

If you prefer the command line, pvesm adds the same storage and handles the credential file for you:

# add a CIFS share as Proxmox storage 'nas-cifs', for ISOs and backups
pvesm add cifs nas-cifs \
  --server 192.168.1.20 \
  --share proxmox \
  --username proxmoxuser \
  --password \
  --content iso,backup

The --password flag with no value prompts you to type it interactively, which keeps it out of your shell history.

Step 3: Understand where the password is stored

This part is worth knowing because it affects security and troubleshooting. When you add CIFS storage with credentials, Proxmox does not put the password in the main storage config at /etc/pve/storage.cfg — that file is readable across the cluster. Instead it writes the password to a protected credentials file:

/etc/pve/priv/storage/<storage-id>.pw

That priv directory has tight permissions, so the password isn’t exposed to every read of the storage config. The practical takeaways: don’t hand-edit that file, and if you ever change the share’s password on the server, update it in Proxmox through the storage edit dialog so the credentials file is rewritten correctly.

Step 4: Choose the right content types

The Content setting decides what Proxmox will store on the share. As with other file-based storage, each content type gets its own subfolder, so one share can hold several kinds of data cleanly.

CIFS content types and what they store

ISO image Installer ISOs you attach to VMs. Stored under template/iso.
Container template LXC templates for spinning up containers. Stored under template/cache.
VZDump backup file vzdump backup archives. Stored under dump. A common reason to add CIFS.
Disk image Live VM disks as qcow2 files under images. Bounded by SMB and network speed.
Container Root filesystems for LXC containers.

For most setups, CIFS works best as an ISO and backup share — enable ISO image, Container template, and VZDump backup file, and keep VM disks on faster local storage. That gives every node one place to grab installers and drop backups, which is exactly what a NAS is good at.

Running VM disks on CIFS is possible (enable Disk image), and because the disks are qcow2, snapshots work. But SMB adds protocol overhead on top of the network, so a busy VM will feel slower than on local SSD. Test throughput before you put anything important on it.

Step 5: Confirm it’s working

Once added, the storage shows up in the left-hand tree under each assigned node. A healthy CIFS storage displays usage figures; an inactive one shows a grey/question-mark icon.

Check from the shell:

# is the CIFS share mounted? look for it in the mount list
mount | grep cifs

# Proxmox's own view of every storage and whether it's active
pvesm status

A line in pvesm status showing active with real numbers means you’re done. Upload a small ISO or run a test backup to it to confirm the full round trip works, not just the mount.

Troubleshooting a CIFS share that won’t mount

This is where CIFS storage usually gets stuck. Work through it in order — the fix is nearly always credentials or the SMB version.

Authentication fails. Re-test with smbclient -L //server -U user. If that fails too, the problem is the username, password, or share permissions on the server, not Proxmox. Confirm the account has access at both the share and filesystem level.

The share mounts on some servers but not an older NAS. This is usually an SMB dialect mismatch. Pin the version in the storage options or in /etc/pve/storage.cfg:

cifs: nas-cifs
        server 192.168.1.20
        share proxmox
        content iso,backup
        username proxmoxuser
        smbver 3.0

Try smbver 3.0 first; drop to 2.1 only if the server is genuinely that old. After editing the config, the change applies on the next mount.

Permission denied writing backups. The mount succeeded but the account is read-only. Grant write access on the server side at both the share and NTFS/filesystem level, then retry — no Proxmox change needed once permissions are fixed.

Wrapping up

Adding SMB/CIFS storage to Proxmox is two jobs that meet in the middle: confirm the share is reachable and the account can write to it, then add it under Datacenter → Storage with credentials Proxmox stores safely in /etc/pve/priv. For ISOs and backups it’s reliable and simple; for live VM disks, test the network and server throughput first, because SMB overhead adds up.

If your storage is Linux-based instead, compare with adding NFS storage to Proxmox, which is often the better performer for a Linux host. To build a backup routine around this share, see Proxmox backup and restore, and for the local storage layout on the host itself, LVM vs LVM-Thin vs ZFS is the companion piece. For more walkthroughs, browse the Proxmox guides.

Frequently asked questions

What's the difference between SMB and CIFS in Proxmox?

They're the same thing for practical purposes. CIFS is an older dialect of the SMB protocol, and Proxmox labels its Windows-share storage type 'CIFS' but uses the modern SMB protocol underneath. When you add the storage you can pin the SMB version with an option like 'smbver=3.0'. Treat 'CIFS storage' in Proxmox as 'mount a Windows or SMB share' and you'll have the right mental model.

Where does Proxmox store the SMB share password?

When you add CIFS storage with a username and password through the GUI or pvesm, Proxmox writes the password to a protected credentials file under /etc/pve/priv/storage/ rather than leaving it in the main storage config. That keeps it out of /etc/pve/storage.cfg, which is readable cluster-wide. Don't hand-edit the credentials file; let Proxmox manage it so permissions stay correct.

Should I use SMB/CIFS or NFS for Proxmox storage?

Use CIFS when the share lives on a Windows server or a NAS already configured for SMB, or when your environment is Windows-centric. Use NFS when the storage is Linux-based, since NFS usually performs better with a Linux host like Proxmox and avoids a credentials layer. Both support the same content types — ISOs, backups, and VM disks — and you add them almost identically. For most Linux-first setups NFS is the simpler default.

Why does my CIFS share show inactive or fail to mount?

The usual causes are wrong credentials, an SMB protocol version mismatch, or the share name being incorrect. Test from the node's shell with 'smbclient -L //server -U user' to list shares, and check whether the server requires SMB 2 or 3. Older NAS appliances sometimes need a pinned version like 'smbver=2.1', while modern servers reject the insecure SMB1 that some old guides still suggest. Fix the credential or version, then the storage goes active.

Can I run VM disks on a CIFS share?

You can, but it's the least ideal option for live disks. CIFS supports the Disk image content type and stores disks as qcow2, so snapshots work, but SMB adds protocol overhead and performance depends heavily on the network and the server. Most people use CIFS for ISOs, templates, and backups, and keep busy VM disks on local SSD or a faster shared option. Test throughput before committing a production VM to it.

Do I need to add the share to /etc/fstab?

No, and you shouldn't. Proxmox manages the CIFS mount itself based on the storage configuration and mounts it on demand. A duplicate entry in /etc/fstab leads to double mounts, 'device busy' errors, and storage that won't go inactive when expected. Add the share through Datacenter > Storage or pvesm and let Proxmox own the mount lifecycle.

Sources & further reading

Official vendor documentation referenced while writing this guide.

SD

Sysadmin Desk

Infrastructure & Cloud

Hands-on guidance for infrastructure, virtualization, and containers — Hyper-V, VMware, Docker, and the day-to-day operations work that keeps environments running.

MCSA Guru provides independent, educational IT guidance. Microsoft, Windows, Windows Server, Microsoft 365, Exchange, and Microsoft Teams are trademarks of Microsoft Corporation; Docker is a trademark of Docker, Inc. MCSA Guru is not affiliated with or endorsed by Microsoft or Docker. Always test changes in a safe environment before applying them in production.

Related guides

Photographic illustration for How to Add NFS Storage to Proxmox VE: homelab server rack and virtualization cluster dashboard

How to Add NFS Storage to Proxmox VE

Add an NFS share to Proxmox VE: configure the export, add it under Datacenter > Storage, pick content types for ISOs, backups, and disk images, and fix mount problems.

Sysadmin Desk Aug 14, 2026 8 min read

Fixing something right now?

Jump straight into the guide library or search for the exact error or task you are dealing with.