Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Proxmox VE "storage 'x' is not online" and "unable to activate storage": find which check failed

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

A backup, restore or VM start that fails with storage 'nas-backup' is not online means the connection check Proxmox VE runs for an NFS or CIFS storage failed. unable to activate storage 'backup-dir' - directory '/mnt/backup' does not exist or is unreachable means the storage's local path was not found as a directory within 2 seconds: it does not exist, or access to it hangs. The cause is the server, the export, the credentials or a mount that is not there. Find which check failed before changing the storage definition.

What the error means

When Proxmox VE uses a storage it first activates it. In the pve-storage source, activate_storage stops with storage '<id>' is disabled for a disabled storage, then runs the storage type's connection check. If the check returns false the task ends with storage '<id>' is not online, and if the check itself fails it ends with connection check for storage '<id>' failed - and the reason. Only then does the type's own activation run: for NFS it mounts the share when it is not mounted, and the base code then tests that the path is a directory, within a 2-second limit.

The connection checks in that source differ by type:

  • NFS. Without vers=4 in options, it runs showmount --no-headers --exports <server> with a 10-second limit. With vers=4, it runs rpcinfo over TCP and, if that fails, tries a TCP connection to port 2049 (or the port in options). Neither form compares the storage's export with anything: the check only tests the server. A wrong export passes the check and fails later, when the share is mounted. If the base directory is missing and cannot be created, NFS activation ends with unable to activate storage '<id>' - directory '<path>' does not exist.
  • CIFS. It runs smbclient against //<server>/<share> with the stored credentials. A reply containing NT_STATUS_ACCESS_DENIED, NT_STATUS_INVALID_PARAMETER or NT_STATUS_LOGON_FAILURE is raised as the connection check ... failed text, and any other failure, including a share name that does not exist, gives is not online.
  • Directory. There is no connection check. With is_mountpoint set, an unmounted path gives unable to activate storage '<id>' - directory is expected to be a mount point but is not mounted: '<path>'. The is_mountpoint option, per the pvesm manual, makes Proxmox VE "consider the storage offline if it is not mounted".

The Proxmox VE Storage page notes that the NFS backend "can also test if the server is online". It recommends the server's IP address over a DNS name, to avoid lookup delays.

Likely causes

Cause What you see How to confirm
The NFS server is down, unreachable or filtered storage 'x' is not online showmount --exports <server> fails from the node
The definition points at the wrong NFS server address, for example after a NAS replacement The same message The server in /etc/pve/storage.cfg is not the address that answers
The definition points at the wrong NFS export Not is not online: the check passes and the mount step fails with a mount error from the operating system showmount --exports <server> answers, but the export in /etc/pve/storage.cfg is not in its list
The CIFS account or share is refused connection check for storage 'x' failed - with one of the three NT_STATUS_ words, or is not online for any other smbclient failure, for example a share name that does not exist The text after failed -, or its absence
A directory storage's disk or share is not mounted directory is expected to be a mount point but is not mounted, or does not exist or is unreachable findmnt --mountpoint <path> prints nothing
A hung mount does not answer in 2 seconds does not exist or is unreachable although the path exists The mount is listed, but access to it stalls

Prove the cause before changing anything

All of these only read.

  1. Read the storage definition:
cat /etc/pve/storage.cfg

Note the type, server, export, path, options and is_mountpoint of the storage.

  1. Find the exact message in a failed task: list failed tasks, then read one task's log:
pvenode task list --errors
pvenode task log UPID:pve01:00010D94:001CA6EA:6124E1B9:vzdump:100:root@pam:
  1. Check what is mounted at the storage's path. findmnt exits with status 1 when nothing is found:
findmnt --mountpoint /mnt/pve/nas-backup
findmnt --target /mnt/pve/nas-backup

A good result for NFS is a line naming the server and export. If --target names the root filesystem, the path is a plain local directory.

  1. For NFS, ask the server for its exports, the way Proxmox VE does without vers=4, and with Proxmox's own scan:
showmount --exports 192.0.2.50
pvesm scan nfs 192.0.2.50

A good result lists the export in the definition. An error means the server cannot be reached, which gives is not online. A list that lacks the export means a wrong export, which fails at the mount, not with is not online.

  1. For CIFS, read the text after failed - in step 2. One of the three NT_STATUS_ words names the refusal. A plain is not online, or no text after failed -, means smbclient failed without one of those words, for example on a share name that does not exist.

Fix

Server or network. If the NFS service is down, the export removed or a firewall blocks it, fix it on the NAS or the network. No Proxmox VE change is needed. Storage activates the next time it is used.

Wrong server address, or wrong export, in the definition. A wrong server address gives is not online; a wrong export fails at the mount. Either needs a new definition. The pvesm manual lists --server and --export for pvesm add but not for pvesm set, and the source marks both as fixed once the storage exists. The manual says pvesm remove "does not delete any data, and does not disconnect or unmount anything", so check step 3 first for a stale mount of the old server. First save the current state:

cp -p /etc/pve/storage.cfg /root/storage.cfg.2026-12-02

Disruptive step: the next two commands remove the storage definition nas-backup from the cluster and add it again with the new server address. Between them the storage does not exist for backup jobs, restores or VM disks on it. The new definition must repeat every other setting of the old one, such as content, nodes, options and prune-backups, taken from the saved file.

pvesm remove nas-backup
pvesm add nfs nas-backup --path /mnt/pve/nas-backup --server 192.0.2.51 --export /export/pve-backup --content backup

To undo it: remove the new definition and add the old one back with every value saved in /root/storage.cfg.2026-12-02 (the command below repeats only --content; add each other setting from the saved file, such as nodes, options and prune-backups), then read the definition back and compare it with the saved copy.

pvesm remove nas-backup
pvesm add nfs nas-backup --path /mnt/pve/nas-backup --server 192.0.2.50 --export /export/pve-backup --content backup
cat /etc/pve/storage.cfg

A directory storage on a mount that is missing. The mount itself is restored the way it was set up; the Directory Backend section describes mounting through /etc/fstab. That is an operating-system step outside these commands. The next step protects the storage from the same fault. The mkdir option defaults to yes and "Create the directory if it doesn't exist", so with no is_mountpoint, an unmounted path can become an empty local directory on the node's own disk, and backups can then be written there. This is a reading of the manual, not a statement in it. The pvesm manual also marks mkdir as deprecated in favour of create-base-path and create-subdirs. First save the current state:

cp -p /etc/pve/storage.cfg /root/storage.cfg.is-mountpoint.2026-12-02

Disruptive step: the next command sets is_mountpoint on the storage backup-dir, so Proxmox VE treats that storage as offline whenever /mnt/backup is not mounted. Backups to it fail with the message above instead of writing locally.

pvesm set backup-dir --is_mountpoint yes

To undo it: delete the setting, and read the definition back and compare it with /root/storage.cfg.is-mountpoint.2026-12-02.

pvesm set backup-dir --delete is_mountpoint
cat /etc/pve/storage.cfg

Example (illustrative): the node pve01 uses the NFS storage nas-backup, defined with server 192.0.2.50 and export /export/pve-backup. The old NAS was retired and a new one answers on 192.0.2.51. The backup log shows storage 'nas-backup' is not online. showmount --exports 192.0.2.50 fails, and showmount --exports 192.0.2.51 lists /export/pve-backup. The engineer saves storage.cfg, removes the definition and adds it again with the new server, and the next backup finds the storage.

Confirm the fix

First save the current state of the mount:

findmnt --mountpoint /mnt/pve/nas-backup > findmnt-before.txt

Disruptive step: the next command asks Proxmox VE to activate the storage nas-backup. In the pve-storage source that mounts the share, if it is not mounted, and creates the base directory when it is missing.

pvesm status --storage nas-backup

To back out: if findmnt-before.txt is empty, the share was not mounted before, and it can be unmounted again once no backup job or other process is using the path. A directory created by the activation stays.

umount /mnt/pve/nas-backup
findmnt --mountpoint /mnt/pve/nas-backup

A good result is a status line for nas-backup with sizes and no warning about activation. The next backup task log then shows no is not online.

What to watch afterwards

Risks and limits

  • These commands have not been run or lab-tested.
  • The check commands come from the pve-storage source at one commit and may change between releases. The documentation does not list these messages.
  • pvesm status activates storage, so it can mount a share. showmount and pvesm scan only query the server.
  • The source of the NFS check for vers=4 runs rpcinfo; no command for it is given here.
  • Restoring a missing mount is an operating-system step that these commands do not cover.

Sources