VMware Cloud Community
benchif4
Contributor
Contributor

Mounting to a NFS

What I'm trying to do is mount my /a1 dir to a NFS file share on my Management network.

I've made sure portmap, nfs, and other applicable services/daemons are running, but for some reason I'm still getting

mount: RPC: Remote system erro - Connection refused.

I've tried mount -t nfs x.x.x.x.:/dir /a1 and i still get the same problem.. has anyone had this same problem or am I not in the loop as far as ESX server not being able to mount to a NFS partition?

0 Kudos
5 Replies
AWo
Immortal
Immortal

Does the NFS server restrict access to the export (check "/etc/exports" on NFS server)?

Check also "/var/log/messages" on the NFS server for the counterparts of your "connection refused" messages.

Do you try to mount as "root"? On most systems and by default, "root" is not allowed to mount NFS exports (check this also in the servers "/etc/exports").

AWo

Message was edited by: AWo

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

Can the VMWare Kernel ping that address?

  1. vmkping x.x.x.x

(NFS server IP, of course)



----

Carter Manucy

---- Carter Manucy
0 Kudos
benchif4
Contributor
Contributor

Well, what funny is that I can connect through my vHost (linux) on my VI3 to the NFS mount on my Windows box.

when I do the vmkping x.x.x.x I get

vmkernel stack not configured!

0 Kudos
PerryWhittle
Enthusiast
Enthusiast

make sure you have an entry for the VMKernel in your /etc/hosts file

Please rememeber to award points if you found this helpful or correct
0 Kudos
cmanucy
Hot Shot
Hot Shot

You have to have a VMKernel and Service Console available to the ESX host so that it can connect to the NFS server.



----

Carter Manucy

---- Carter Manucy
0 Kudos