Subscribe
Accepted Solution

NFS exported mounted on CentOS but denied on Ubuntu

Hi all, I'm running some NFS mount tests this morning and getting some weird results

 

Disclaimer - newbie to linux and netapp - any help is greatly apprecaited!

 

 

CentOS will mount

Ubuntu will not

 

Same commands are issued

 

mount –t nfs 10.250.1.5:/Vol003 /mnt/db

 

 

From Centos

Screen Shot 2017-08-30 at 09.49.39.png

 

 

From Ubuntu

Screen Shot 2017-08-30 at 09.49.59.png

 

 

here are the details on the Volume

Screen Shot 2017-08-30 at 09.53.30.png

 

 

Any ideas

 

Cheers Mike

Re: NFS exported mounted on CentOS but denied on Ubuntu

Looking at the IPs for the NFS share and for the hosts in the export policy, I see they are on different subnets.

 

This means that if you have multiple NICs in your CentOS and ubuntu systems, it will use whichever NIC holds the default route to mount the storage, this might be a different one to the one you plan. Can you confirm if there are multiple NICs in these VMs and if so, what the IPs are?

Re: NFS exported mounted on CentOS but denied on Ubuntu

[ Edited ]

HI Alex

 

Both VMs have a single NIC, as follows

  • CentOS VM is on 10.255.255.71
  • Ubuntu VM is on 10.255.255.86

 

The Filer is in a different location (layer3) and both can ping the 10.250.1.5 address ok

 

Cheers

Mike

 

 

Re: NFS exported mounted on CentOS but denied on Ubuntu

It looks like this is a test scenario? Can you make the Ubuntu system take on the CentOS system IP and see if it works then?

 

A good resource to work through is our NFS troubleshooting guide for Clustered ONTAP - let me know how it goes!

Re: NFS exported mounted on CentOS but denied on Ubuntu

Is an issue with my base Ubuntu Image - deployed and AWS Ubuntu AMI and the NFS mount command worked......

Re: NFS exported mounted on CentOS but denied on Ubuntu

On the 14.04 Ubuntu Image, that i was experiencing issues on, I needed to add this options

-o v3

 and it mounted. This wasn't required for my 16.04 image