NFS storages of storage.cfg not mounted

grobs

Active Member
Apr 1, 2016
56
0
26
38
France
Hi everyone,

I am running several Proxmox 2 and 3 hosts and a Proxmox 4 host.
All of them declare a local storage and 2 nfs storages in /etc/pve/storage.cfg like this :

Code:
# cat /etc/pve/storage.cfg

nfs: share-online
  path /mnt/pve/share-online
  server server1.domain.com
  export /srv/vzshare
  options vers=3
  content images,iso,vztmpl,backup
  maxfiles 0

nfs: share-ovh
  path /mnt/pve/share-ovh
  server server2.domain.com
  export /srv/vzshare
  options vers=3
  content images,iso,vztmpl,backup
  maxfiles 0

dir: local
  path /var/lib/vz
  content images,iso,vztmpl,rootdir
  maxfiles 0

and obviously, the mount command cannot work because nfs shares are not in the fstab...

My question is: how can I tell to Proxmox "please, read your storage.cfg and mount the associated storages" ?

Any help will be very appreciated :)

Code:
# pveversion -v
proxmox-ve: 4.1-41 (running kernel: 4.2.8-1-pve)
pve-manager: 4.2-4 (running version: 4.2-4/2660193c)
pve-kernel-4.2.8-1-pve: 4.2.8-41
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 1.0-1
pve-cluster: 4.0-39
qemu-server: 4.0-74
pve-firmware: 1.1-8
libpve-common-perl: 4.0-60
libpve-access-control: 4.0-16
libpve-storage-perl: 4.0-50
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.5-15
pve-container: 1.0-63
pve-firewall: 2.0-26
pve-ha-manager: 1.0-31
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.5-7
lxcfs: 2.0.0-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5-pve9~jessie
 
Last edited:
Hi dietmar, thanks for the quick reply.

Unfortunately, only the local storage is listed:

Code:
# pvesm status
local    dir 1       436037240        46937656       366943504 11.84%
 
Last edited:
Hi dietmar, thanks for the quick reply.

Unfortunately, only the local storage is listed:

# pvesm status
local dir 1 436037240 46937656 366943504 11.84%

And the file /etc/pve/storage.cfg has the same content on that node (should be the same if the cluster is in sync)?
 
Yes, the two files have exactly the same content (same md5sum).
The Proxmox 4 server which doesn't want to mount the nfs storages is not in a cluster.

I don't know if it could be relevent to say that but I know that a collegue tried to créate a cluster with this host as first node and didn't manage to do it because of quorum issues. He then removed the server from the cluster and did "some stuff" to disable the cluster's features on this host.
We both are Proxmox newbies so please be kind :)
 
Here is the result:

Code:
# pvesh get /storage
200 OK
[
  {
  "content" : "iso,rootdir,vztmpl,images",
  "digest" : "21548bc295f8e3bbd14da50ebb26a93705725b64",
  "maxfiles" : 0,
  "path" : "/var/lib/vz",
  "priority" : 0,
  "storage" : "local",
  "type" : "dir"
  }
]

Thanks for your help
 
Last edited:
I edited my previous posts with adding "code" tags (and re-ran commands to copy/paste whitespaces).
Each line is preceeded by 8 spaces except the top block line of each block.
 
Last edited:
Hi,

I installed a new proxmox 4 physical host and tried to deploy the same /etc/pve/storage
Unfortunately, I have the exact same problem on this host. The local storage is shown in "pvesm status" and nfs storages are just absent...

What further test could I do?

Thanks