VMware Cloud Community
vrinda
Contributor
Contributor
Jump to solution

Configuring NFS on windows hosts

Hi,

Due to non-availability of NAS filer, I need to create NFS volumes on a normal windows hosts and mount to an ESX server 3.5.

For this I have followed the steps outlined in the article.

http://vmblog.com/archive/2007/01/23/using-windows-based-nfs-in-vi3.aspx

But while mounting the NFS volume to an ESX server , I got a pop up error message "Error suring the configuration of the host: NFS Error: Unable to Mount Filesystem: Unable to connect to NFS server"

I didn't succeed creating an NFS volume mounted over ESX server once.

Can anybody help.................

Thanks

Himabindu

0 Kudos
1 Solution

Accepted Solutions
weinstein5
Immortal
Immortal
Jump to solution

Have you created a vmkernel port on the NFS network - to connect to NFS storage you need to have a vmkernel port that can see the NFS server - the vmkping command will allow you to ping through the vmkernel port -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful

View solution in original post

0 Kudos
13 Replies
oreeh
Immortal
Immortal
Jump to solution

Did you enable root access (right click the share - NFS Sharing - Permissions - Allow root access)

Also make sure you mapped root to a local :smileyalert: admin account not a domain admin account.

0 Kudos
vrinda
Contributor
Contributor
Jump to solution

Yes.I have enabled root access and used local administrator account for mapping the root user.

Thanks...........

0 Kudos
oreeh
Immortal
Immortal
Jump to solution

On to the next possible problem...

Did you enable the NFS client in the ESX firewall?

Can you ping the NFS server from the VMkernel (vmkping)?

0 Kudos
weinstein5
Immortal
Immortal
Jump to solution

I do not think the problem is with the ESX firewall - I believe the vmkernel port can not connect get to the IP of the NFS mount - check the networking and maje sure they are on the same segment or you have agateway configured for your vmkernel port and it can route to the network the MVS mount is on -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos
vrinda
Contributor
Contributor
Jump to solution

I have created a virtual switch which will be the IP of a windows machine where there is an NFS share.

And the default gateway is same as that of ESX server's default gateway.

But the ESX server's subnet and windows NFS share is different.

Is this thr right configuration? Still i am getting the same error.

Thanks...............

0 Kudos
oreeh
Immortal
Immortal
Jump to solution

Is this thr right configuration?

No. You have to get the routing right before the connection actually can work.

Post the IP configuration

0 Kudos
vrinda
Contributor
Contributor
Jump to solution

ESX server IP: 153.34.59.73

Windows NFS server IP:- 153.34.58.240

0 Kudos
oreeh
Immortal
Immortal
Jump to solution

what is the gateway to the 53.34.58.0/24 network?

0 Kudos
vrinda
Contributor
Contributor
Jump to solution

For ESX server IP: 153.34.59.73 , the default gateway is 153.34.59.1

Windows NFS server IP:- 153.34.58.240 , the default gateway is 153.34.58.1

0 Kudos
oreeh
Immortal
Immortal
Jump to solution

Can you ping the NFS server from the ESX server (vmkping 153.34.58.240)?

0 Kudos
vrinda
Contributor
Contributor
Jump to solution

Hi,

I am not able to ping using vmkping command.

Can you please help.

Thanks..............

0 Kudos
Texiwill
Leadership
Leadership
Jump to solution

Hello,

If you can not vmkping the NFS server from the SC, then the NFS vmkernel device can not reach the NFS server. This is really a networking issue. The vmkernel IP address should be on the network or at least routed to the same network as the NFS server. Run:

esxcfg-vmknics -l

esxcfg-vswitch -l

On the NFS server use 'ipconfig/all' and see if they are on the same network. Can the NFS server ping the NFS vmkernel device.

Note this is NOT the same IP address as the Service Console. If you do not have a NFS vmkernel device then the ESX host can not use NFS as a datastore.


Best regards,

Edward L. Haletky

VMware Communities User Moderator

====

Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.

CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354

As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
weinstein5
Immortal
Immortal
Jump to solution

Have you created a vmkernel port on the NFS network - to connect to NFS storage you need to have a vmkernel port that can see the NFS server - the vmkping command will allow you to ping through the vmkernel port -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos