Network and Storage Protocols

NFS exported mounted on CentOS but denied on Ubuntu

zepherdog
7,517 Views

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

1 ACCEPTED SOLUTION

zepherdog
7,394 Views

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

View solution in original post

5 REPLIES 5

AlexDawson
7,494 Views

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?

zepherdog
7,487 Views

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

 

 

AlexDawson
7,475 Views

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!

zepherdog
7,454 Views

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

zepherdog
7,395 Views

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

Public