Can’t add NFS Storage from TrueNAS; Share Not Online

virtualtechie

New Member
Dec 12, 2022
12
3
1
I recently started getting into the Proxmox world and so far have been learning a lot. A few times I get stuck and come on here and ask the experts for help. I'm trying to add an NFS share to my PVE from TrueNAS. Purpose is to save VM backups to it.

Steps taken in TrueNAS:
1. Create Pool then create Dataset
2. Create NFS Share
3. Create user for accessing NFS share
4. Edit Dataset Permissions; make created user the owner of the dataset
5. Edit NFS share options; Mapalluser & Mapallgroud set to created user

Step taken in Proxmox:
1. Select Datacenter
2. Select Storage
3. Add NFS
4. Entered the following under General Tab
ID: VMBackups
Server: IP assigned by DHCP
Export: /mnt/Proxmox/VMBackups (I have to manually type in; doesn't autofill)
Content: Selected everything
5. Click Add and get an error message: Create storage failed "VMBackups" is not online (500).

From my understanding, this tells me Proxmox can't connect to the NFS share or that there's something wrong with it finding the created share. I' checked and double checked everything.

What am I missing? Where did I go wrong?
 
What happens when you run from PVE shell:
showmount -e IP_OF_NAS
mount IP_OF_NAS:/path/from/showmount /mnt

does that work? if it did - dont forget to umount /mnt
if it did not - then likely you have not permissioned the NFS export on your TrueNAS properly.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
What happens when you run from PVE shell:
showmount -e IP_OF_NAS
mount IP_OF_NAS:/path/from/showmount /mnt

does that work? if it did - dont forget to umount /mnt
if it did not - then likely you have not permissioned the NFS export on your TrueNAS properly.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Tried but nothing happens. I made sure I can ping the TrueNAS host from the PVE host and vice versa. Checked the share permissions and added the IP of the PVE host thinking that may help but still can't connect to the NFS share on PVE host.
 
you tried these two commands:
showmount -e IP_OF_NAS
mount IP_OF_NAS:/path/from/showmount /mnt
and
Tried but nothing happens.
That is very surprising... These commands are built to return informational errors when things are not working...

I suggest that you re-run the commands and present your full unedited results, including the command that you run using CODE tags in the post.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 

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!