VMware Cloud Community
firary_2004
Contributor
Contributor

Add Network File system

i installed NFS in win98 and win2003 and i made shared NFS folder to see it in the ESX as storage. but it doesnot work it gives me (Error during the configuration of the host: Unable to Mount filesystem: Unable to connect to NFS server).. can anyone help in this ?

0 Kudos
9 Replies
virtech
Expert
Expert

Have you opened the NFS client port on your ESX host?

Using the VI Client

Goto:

Configuration | Security Profile | Properties |

Tick "NFS Client"

Message was edited by:

Mooihoek

0 Kudos
Dave_Mishchenko
Immortal
Immortal

Here's a guide to follow:

http://www.rtfm-ed.co.uk/?p=225

Based on your other post here: http://www.vmware.com/community/thread.jspa?messageID=667868��

it might help to see the output of

esxcfg-vswif -l

esxcfg-nics -l

esxcfg-vswitch -l

And as mentioned, make sure the ESX firewall is opened to allow NFS traffic and that you can ping to and from the NFS host.

0 Kudos
firary_2004
Contributor
Contributor

no .... how can i do it could yopu give me the steps please?

0 Kudos
Dave_Mishchenko
Immortal
Immortal

With the VI client, connect to your ESX host and then select the configuration tab. Then click on Security profile and then edit. On the window that comes up enable the NFS client. Then click OK and you should see it in the firewall list.

0 Kudos
firary_2004
Contributor
Contributor

ok i did it . what shall i do after to configure the esx server with NFS?

0 Kudos
firary_2004
Contributor
Contributor

Keep in Mind that thw windows will be the NFS server . please advice

0 Kudos
comroida
Contributor
Contributor

I suggest you use http://www.freenas.org/ (month proyect of sourceforge). You can download in a vmware prepared for working and contains a nfs server

0 Kudos
Texiwill
Leadership
Leadership

Hello,

A few things first... are you trying to access the NFS server from your ESX Service Console or to use as a datastore?

If it is to access from your Service Console, then changing your firewall to include nfsClient is correct and you now need to use the 'mount' command to access the NFS server 'man mount'.

If it is the second, then you do not need to change the service console firewall but you do need to make sure that the NFS vmkernel portgroup off the appropriate vSwitch has an IP/Netmask that is a different subnet than any other vmkernel portgroup and the service console. And that it can reach your NFS Server.

For example (esxcfg-vswif -l; esxcfg-vmknics -l)

vswif0: 10.0.0.0/255.255.0.0 <== Allows iSCSI access

iSCSI: 10.0.3.0/255.255.255.0 <== iSCSI only network

vMotion:10.0.2.0/255.255.255.0 <== vmotion only network and private vlan

NFS: 10.0.1.0/255.255.255.0 <== NFS only network

Routes are setup so that the gateway follows (esxcfg-route -l)

vswif0: default gateway

iSCSI: 10.0.3.1

vMotion: 10.0.2.1

NFS: 10.0.1.1

NFS server address is 10.0.1.9 for me. That way when I use NFS, I force everything out the 10.0.1.0 network and therefore it find 10.0.1.9. If the netmask for say vMotion is 255.255.0.0 and I try to use NFS, then everything goes out the vMotion network first. Which is a private vlan and gets no where.

Also, use IP Addresses when specifying NFS hosts just to rule out name resolution.

Verify on your NFS Server using its logs that you are getting initial packets.

Best regards,

Edward

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
Agu82VM
Contributor
Contributor

Hello, I am trying to make an NFS too.

When I go to Configuration | Security Profile | Properties |  then I do not see "NFS client" to tick.

The only thing I see is "VMWare vCenter Agent" and "NTP Daemon"

How do I add the "NFS Client" to the list?.

Thanks,

0 Kudos