[SOLVED] Adding NFS Share: Permission denied at /usr/share/perl5/PVE/Storage/Plugin.pm line 952. (500)

baxtmann

New Member
Feb 25, 2020
2
0
1
24
Hi, I am trying to add an NFS share I have created in Windows Server 2019 to my proxmox cluster.

The Settings I have set for NFS Share:
Code:
ID: test

Server: 192.168.0.112

Export: /Storage

Content: Everything

NFS Version: Default

(and the network path to share would be 192.168.0.112:/Storage)

The error I get:
Code:
create storage failed: error with cfs lock 'file-storage_cfg': mkdir /mnt/pve/test/images: Permission denied at /usr/share/perl5/PVE/Storage/Plugin.pm line 952. (500)

Package Versions (all nodes):
Code:
proxmox-ve: 6.0-2 (running kernel: 5.0.15-1-pve)
pve-manager: 6.0-4 (running version: 6.0-4/2a719255)
pve-kernel-5.0: 6.0-5
pve-kernel-helper: 6.0-5
pve-kernel-5.0.15-1-pve: 5.0.15-1
ceph-fuse: 12.2.11+dfsg1-2.1
corosync: 3.0.2-pve2
criu: 3.11-3
glusterfs-client: 5.5-3
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.10-pve1
libpve-access-control: 6.0-2
libpve-apiclient-perl: 3.0-2
libpve-common-perl: 6.0-2
libpve-guest-common-perl: 3.0-1
libpve-http-server-perl: 3.0-2
libpve-storage-perl: 6.0-5
libqb0: 1.0.5-1
lvm2: 2.03.02-pve3
lxc-pve: 3.1.0-61
lxcfs: 3.0.3-pve60
novnc-pve: 1.0.0-60
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.0-5
pve-cluster: 6.0-4
pve-container: 3.0-3
pve-docs: 6.0-4
pve-edk2-firmware: 2.20190614-1
pve-firewall: 4.0-5
pve-firmware: 3.0-2
pve-ha-manager: 3.0-2
pve-i18n: 2.0-2
pve-qemu-kvm: 4.0.0-3
pve-xtermjs: 3.13.2-1
qemu-server: 6.0-5
smartmontools: 7.0-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.1-pve1

For the Windows NFS share, I have given full permissions to all machines and all users, and have allowed root access.

Things I have already tried:
Restarting windows server
Restarting pveproxy, pvedameon, pve-cluster on all nodes.

Any idea how to fix? Is this a know issue? Thanks for your help in advance.
 
Hi, I am trying to add an NFS share I have created in Windows Server 2019 to my proxmox cluster.
Why not use CIFS, if you have a Windows hosting the share?

mkdir /mnt/pve/test/images: Permission denied
When you mount the share manually, can you create files/directories?

For the Windows NFS share, I have given full permissions to all machines and all users, and have allowed root access.
I am not sure how Microsoft implemented the NFS server in Windows. If it is like with SMB, then you may have multiple location for permission handling.
 
SOLVED!
Update: Was able to get it working buy giving windows DL "Everyone" Write access... not secure but it gets the job done...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!