Re: NFS with nearby host, VM clients?

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

 



On Wed, Apr 20, 2022 at 11:28:32PM -0500, Michael Jinks wrote:
> Much thanks.  Any of these would (will) be just fine.  I have at least one
> question.
> 
> ssh port forwarding would be the easiest, it was one way I tried, but I'm
> missing something.  In your example:
> 
> >   ssh -R 10809:nbd-server:10809 vm
> 
> ...is that to say that 10809 is the only port we need to handle?  Or, is it
> just an example showing one of the necessary ports?

That would enable you to access an outside NBD server from inside the
guest, allowing you to mount up a block device from outside.

You can use multiple -R options to reverse-forward multiple ports.

> NFS+RPC is one of my holdups; 10809, Linux Network Block Devices, is
> in /etc/ services on some, not all, of my Linux hosts, so, please
> educate me: does that process fix the "RPC problem"?

If you want NFS and can use NFSv4, then you should only need to
forward port 2049.  NFSv3 needed a whole lot of ports forwarded.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux