Jump to content

I am trying to mount a NFS share from a QNAP nas to a new install of Ubuntu Server but running in to issues

 

I have created a new share on the QNAP called nextcloud

nextcloud.PNG.7ab5ccd7c5819492eef3d85d5d965bd4.PNG

 

When I attempt to mount the share on the Ubuntu VM with the following command I get an access denied error

 

Mount command - 192.168.1.3:/share/CACHEDEV1_DATA/nextcloud /mnt/qnapnas

Error - mount.nfs: access denied by server while mounting 192.168.1.3:/share/CACHEDEV1_DATA/nextcloud /mnt/qnapnas

 

Running showmount -e shows the share as available

 

I have created the /mnt/qnapnas folder and given my self full ownership of the folder

 

Not sure what else to check, fairly new to this.

Link to comment
https://linustechtips.com/topic/1110918-nfs-share-mounting-problem/
Share on other sites

Link to post
Share on other sites

10 hours ago, Creaky said:

I am trying to mount a NFS share from a QNAP nas to a new install of Ubuntu Server but running in to issues

 

I have created a new share on the QNAP called nextcloud

nextcloud.PNG.7ab5ccd7c5819492eef3d85d5d965bd4.PNG

 

When I attempt to mount the share on the Ubuntu VM with the following command I get an access denied error

 

Mount command - 192.168.1.3:/share/CACHEDEV1_DATA/nextcloud /mnt/qnapnas

Error - mount.nfs: access denied by server while mounting 192.168.1.3:/share/CACHEDEV1_DATA/nextcloud /mnt/qnapnas

 

Running showmount -e shows the share as available

 

I have created the /mnt/qnapnas folder and given my self full ownership of the folder

 

Not sure what else to check, fairly new to this.

 

So...based on my experiences with QNAP NAS devices, when you created the nextcloud folder on your QNAP NAS, did you create it as admin or did you create it as guest?

 

My suspicion is that it has to do with your read/write permissions and who owns that folder.

 

One way that you might be able to do it is if you created that folder under the admin account when you logged into the NAS unit, you might have to delete the folder and then log in as guest (if you want passwordless access to that folder, and create it again). But it might not let you because /share/CACHEDEV1_DATA might not have the permissions that you need to be able to create that folder there.

 

The other option would be to create the folder as admin, and then change the owner and the group to someone else.

 

You'll also want to check that you have connectivity to the QNAP NAS unit as well.

 

Hope that helps.

 

Thanks.

IB >>> ETH

Link to post
Share on other sites

Can you try turning on root_squash for the export?


Desktop: Dell T7500 (X5647, GTX 980, 2x 500GB Samsung SSD 860, 2x 500GB Toshiba HG6 SSD, 4x4TB Seagate, 4x Samsung C32F391)
VM NAS: 24 Bay SuperMicro H8DM8-2 (2x AMD Opteron 2346, 16GB, 2x 256SSD,24x 2TB SATA, 36TB usable, Ubuntu 16.04, 6x1GB/2x10GB nics) 
Data NAS: 24 Bay SuperMicro X8DTN (2x Intel Xeon X5570, 128GB, 2x512SSD, 12x 4TB SATA, 10x 3TB SATA, 50TB usable, Ubuntu 16.04, 6x1GB/2x10GB nics) 
VMware Hosts: 3x IBM x3690 X5 (2x Intel Xeon E6540, 128GB, ESXI 6.5, 6x1GB nics) 
Kubernetes Hosts: 3x IBM x3650 (2x Intel Xeon E5345, 48GB, Ubuntu 18.04, Docker 19.03, 6x1GB nics)
Firewall: 2x IBM x3650 (2x Intel Xeon E5345, 12GB, pfsense 2.4.4, HA cluster, 6x1GB nics)
Core Switches: 2x Dell Powerconnect 6248 (48x1GB, 2x10G uplinks, 2x20G stack)
Edge Switches: 2x Extreme X450e-24p (24x1GB POE, 2x10G uplinks)
 
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×