VMware Cloud Community
dhananjayh
Contributor
Contributor

Unable to add NAS Datastore

Hi I am getting below errors while adding NAS Datastore to ESX server.

#esxcfg-nas -a -o 10.209.87.164 -s /sharedvol SVS

Connecting to NAS volume: SVS

Unable to connect to NAS volume SVS: NFS Error: Unable to Mount filesystem: Unable to connect to NFS server

however I am able to ping,coonect to NFS server

# esxcfg-vmknic -l

Interface Port Group/DVPort IP Family IP Address Netmask Broadcast MAC Address MTU TSO MSS Enabled Type

vmk0 VMkernel IPv4 10.209.87.164 255.255.252.0 10.209.87.255 00:50:56:79:08:f3 1500 65535 true STATIC

# vmkping 10.209.87.164

PING 10.209.87.164 (10.209.87.164): 56 data bytes

64 bytes from 10.209.87.164: icmp_seq=0 ttl=64 time=0.082 ms

--- 10.209.87.164 ping statistics ---

1 packets transmitted, 1 packets received, 0% packet loss

round-trip min/avg/max = 0.082/0.082/0.082 ms

# rpcinfo -p 10.209.87.164

program vers proto port

100000 2 tcp 111 portmapper

100000 2 udp 111 portmapper

100011 1 udp 873 rquotad

100011 2 udp 873 rquotad

100011 1 tcp 876 rquotad

100011 2 tcp 876 rquotad

100003 2 udp 2049 nfs

100003 3 udp 2049 nfs

100021 1 udp 56245 nlockmgr

100021 3 udp 56245 nlockmgr

100021 4 udp 56245 nlockmgr

100003 2 tcp 2049 nfs

100003 3 tcp 2049 nfs

100021 1 tcp 51923 nlockmgr

100021 3 tcp 51923 nlockmgr

100021 4 tcp 51923 nlockmgr

100005 1 udp 771 mountd

100005 1 tcp 774 mountd

100005 2 udp 771 mountd

100005 2 tcp 774 mountd

100005 3 udp 771 mountd

100005 3 tcp 774 mountd

100024 1 udp 785 status

100024 1 tcp 788 status

Please help me.

0 Kudos
4 Replies
AWo
Immortal
Immortal

Welcome to the forums!

ESX or ESXi, which major version?

Have you opened the firewall for NFS?


AWo

VCP 3 & 4

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
Texiwill
Leadership
Leadership

Hello,

Moved to the vSphere Storage Forum.

However can you 'vmkping' the NFS server. Remember that on ESX, NFS makes use of a vmkernel device not the service console device.


Best regards,
Edward L. Haletky VMware Communities User Moderator, VMware vExpert 2009, 2010

Now Available: 'VMware vSphere(TM) and Virtual Infrastructure Security'[/url]

Also available 'VMWare ESX Server in the Enterprise'[/url]

Blogging: The Virtualization Practice[/url]|Blue Gears[/url]|TechTarget[/url]|Network World[/url]

Podcast: Virtualization Security Round Table Podcast[/url]|Twitter: Texiwll[/url]

--
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
dhananjayh
Contributor
Contributor

Hi All,

Thanks for the help on this.

My ESX version was 4.0 & datastore was Virtual Store from Symantec.

But I have two ESX in my Vcenter & on one ESX I have added Datastore but it failing on second

Also Firewall is configured to accept & out for all ports.

vmkping work properly with NFS server but still failes

0 Kudos
AWo
Immortal
Immortal

Can you get any logs from your NAS box showing something?

Is the second ESX server authorized to use the NFS export on the NAS box?


AWo

VCP 3 & 4

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos