Re: NFS from a VM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2016-04-05 at 09:44 -0700, Rick Stevens wrote:
> On 04/05/2016 08:49 AM, John J. McDonough wrote:
> > 
> > I have a small server that offers a number of directories over
> > NFS.  I
> > am running a virtual machine on another physical machine.
> > 
> > When I try to mount an NFS directory on the VM, the NFS server
> > refuses,
> > claiming a bad port.  Successive tries result in different reported
> > port numbers.
> > 
> > What is going on?  Is there some sort of virtio setting I am
> > missing?
> > NFS works fine to the machine hosting the VM, but not to another
> > machine.
> It rather depends on the NFS client implementation. For example, a
> normal NFS mount will fail if the client is a Mac because the Mac's
> client won't use reserved ports unless you specifically give it an
> "-o resvport" option. This is more or less the opposite of Linux
> (which
> uses reserved ports by default).
> 
> My suggestion is to try the mount on the VM clients and try the "-o 
> resvport" option, just in case:
> 
> 	mount -o resvport,rw nfsserver:/export /mountpoint
> 
> and see what you get.

Did that, no joy.

And it is all Linux.  VM is running F18, hosted on F23.  Server is
Pidora 20.  The point of the VM is to run F18 to avoid the Publican
regressions in later versions.

I think somehow the path through the virbr to the host across the
network to the server the port is getting masqueraded.  Even tried
specifying the port but it came back different on the server. (although
it looks like the port option doesn't work for NFS3+)

I do have some other workarounds, a little ugly but ....


--McD
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
http://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux