Re: NFS-mounting from a QEMU/KVM guest

2019-11-18 Thread Ed Greshko
On 11/19/19 3:01 AM, Tom H wrote: > On Mon, Nov 18, 2019 at 1:09 AM Ed Greshko wrote: >> On 11/18/19 6:27 AM, Patrick O'Callaghan wrote: >>> I've never heard of nftables. I assumed that iptables was the backend. >> Yes, firewalld uses iptables. >> >> nftables is a different animal. nftables.servic

Re: NFS-mounting from a QEMU/KVM guest

2019-11-18 Thread Patrick O'Callaghan
On Mon, 2019-11-18 at 20:01 +0100, Tom H wrote: > On Mon, Nov 18, 2019 at 1:09 AM Ed Greshko wrote: > > On 11/18/19 6:27 AM, Patrick O'Callaghan wrote: > > > I've never heard of nftables. I assumed that iptables was the backend. > > > > Yes, firewalld uses iptables. > > > > nftables is a differe

Re: NFS-mounting from a QEMU/KVM guest

2019-11-18 Thread Tom H
On Mon, Nov 18, 2019 at 1:09 AM Ed Greshko wrote: > On 11/18/19 6:27 AM, Patrick O'Callaghan wrote: >> >> I've never heard of nftables. I assumed that iptables was the backend. > > Yes, firewalld uses iptables. > > nftables is a different animal. nftables.service is disabled by default. See > /etc

Re: NFS-mounting from a QEMU/KVM guest

2019-11-18 Thread Tom H
On Sun, Nov 17, 2019 at 11:28 PM Patrick O'Callaghan wrote: > On Sun, 2019-11-17 at 21:03 +0100, Tom H wrote: >> On Sun, Nov 17, 2019 at 10:14 AM Ed Greshko wrote: > > Of course. Note that virbr0 was already in the libvirt zone. I > didn't add it explicitly as far as I can recall. In fact I did >

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Ed Greshko
On 11/18/19 6:27 AM, Patrick O'Callaghan wrote: > I've never heard of nftables. I assumed that iptables was the backend. Yes, firewalld uses iptables. nftables is a different animal.  nftables.service is disabled by default.  See /etc/sysconfig/nftables.conf for "hints" -- The key to getting go

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Ed Greshko
On 11/18/19 4:03 AM, Tom H wrote: > On Sun, Nov 17, 2019 at 10:14 AM Ed Greshko wrote: >> On 11/17/19 5:07 PM, Tom H wrote: >>> On Sun, Nov 17, 2019 at 1:49 AM Ed Greshko wrote: I put the interface virbr0 in the FW zone libvirt. >>> Wow. Weird that virbr0 is firewalled, but good to know. Tha

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Patrick O'Callaghan
On Sun, 2019-11-17 at 21:03 +0100, Tom H wrote: > On Sun, Nov 17, 2019 at 10:14 AM Ed Greshko wrote: > > On 11/17/19 5:07 PM, Tom H wrote: > > > On Sun, Nov 17, 2019 at 1:49 AM Ed Greshko wrote: > > > > I put the interface virbr0 in the FW zone libvirt. > > > > > > Wow. Weird that virbr0 is fire

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Tom H
On Sun, Nov 17, 2019 at 3:32 PM Patrick O'Callaghan wrote: > On Sun, 2019-11-17 at 08:35 +0800, Ed Greshko wrote: >> >> If I disable the firewall on the host, it succeeds. > > Just as a matter of interest, how do you disable the firewall? systemctl stop firewalld.service _

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Tom H
On Sun, Nov 17, 2019 at 3:29 PM Patrick O'Callaghan wrote: > On Sun, 2019-11-17 at 09:55 +0100, Tom H wrote: >> >> FTR. for firewalld: >> "mountd" opens 20048, tcp & udp >> "nfs" opens 2049, tcp >> "nfs3" opens 2049, tcp & udp >> "rpc-bind" opens 111, tcp & udp > > Thanks. I solved it by adding th

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Tom H
On Sun, Nov 17, 2019 at 10:14 AM Ed Greshko wrote: > On 11/17/19 5:07 PM, Tom H wrote: >> On Sun, Nov 17, 2019 at 1:49 AM Ed Greshko wrote: >>> >>> I put the interface virbr0 in the FW zone libvirt. >> >> Wow. Weird that virbr0 is firewalled, but good to know. Thanks. > > Yep, and as my other pos

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Patrick O'Callaghan
On Sun, 2019-11-17 at 23:59 +0800, Ed Greshko wrote: > On 11/17/19 10:31 PM, Patrick O'Callaghan wrote: > > On Sun, 2019-11-17 at 08:35 +0800, Ed Greshko wrote: > > > > But from the guest: > > > > [poc@fedora30 ~]$ showmount -e bree > > > > clnt_create: RPC: Unable to receive > > > > > > >

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Ed Greshko
On 11/17/19 10:31 PM, Patrick O'Callaghan wrote: > On Sun, 2019-11-17 at 08:35 +0800, Ed Greshko wrote: >>> But from the guest: >>> [poc@fedora30 ~]$ showmount -e bree >>> clnt_create: RPC: Unable to receive >>> >>> What am I missing? >> OK, I put up an nfs server on the host and get the sa

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Patrick O'Callaghan
On Sun, 2019-11-17 at 21:57 +0800, Ed Greshko wrote: > > This stuff is definitely not obvious. Note that you have to repeat the > > service additions with the --permanent flag or it will all be lost on > > the next reboot. > > > > Thanks Ed. > > > > Welcome. In the process I learned that "firew

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Patrick O'Callaghan
On Sun, 2019-11-17 at 08:35 +0800, Ed Greshko wrote: > > But from the guest: > > [poc@fedora30 ~]$ showmount -e bree > > clnt_create: RPC: Unable to receive > > > > What am I missing? > > OK, I put up an nfs server on the host and get the same error. > > If I disable the firewall on the

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Patrick O'Callaghan
On Sun, 2019-11-17 at 09:55 +0100, Tom H wrote: > On Sat, Nov 16, 2019 at 7:50 PM Patrick O'Callaghan > wrote: > > This is quite embarrassing, but I'm banging my head against a wall > > and hoping other eyes will spot some obvious mistake. > > > > I have an F31 guest (fedora30) running in QEMU/KV

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Ed Greshko
On 11/17/19 9:42 PM, Patrick O'Callaghan wrote: > On Sun, 2019-11-17 at 08:48 +0800, Ed Greshko wrote: >> On 11/17/19 8:35 AM, Ed Greshko wrote: >>> On 11/17/19 2:48 AM, Patrick O'Callaghan wrote: But from the guest: [poc@fedora30 ~]$ showmount -e bree clnt_create: RPC: Unable

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Patrick O'Callaghan
On Sat, 2019-11-16 at 20:35 -0400, George N. White III wrote: > > I have an F31 guest (fedora30) running in QEMU/KVM on an F31 host > > (Bree). I want to mount a host directory via NFS in the guest. I set > > this up a long time ago and it has worked through several Fedora > > releases without issu

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Patrick O'Callaghan
On Sun, 2019-11-17 at 12:40 +0800, Ed Greshko wrote: > On 11/17/19 2:48 AM, Patrick O'Callaghan wrote: > > What am I missing? > > > > A follow-up of sorts > > In your original post you indicated > > Firewall setup on the host: >[poc@Bree ~]$ firewall-cmd --list-all >home (active) >

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Patrick O'Callaghan
On Sun, 2019-11-17 at 08:48 +0800, Ed Greshko wrote: > On 11/17/19 8:35 AM, Ed Greshko wrote: > > On 11/17/19 2:48 AM, Patrick O'Callaghan wrote: > > > But from the guest: > > >[poc@fedora30 ~]$ showmount -e bree > > >clnt_create: RPC: Unable to receive > > > > > > What am I missing? > > O

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Ed Greshko
On 11/17/19 5:07 PM, Tom H wrote: > On Sun, Nov 17, 2019 at 1:49 AM Ed Greshko wrote: >> On 11/17/19 8:35 AM, Ed Greshko wrote: >>> On 11/17/19 2:48 AM, Patrick O'Callaghan wrote: But from the guest: [poc@fedora30 ~]$ showmount -e bree clnt_create: RPC: Unable to receive

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Tom H
On Sun, Nov 17, 2019 at 10:01 AM Ed Greshko wrote: > On 11/17/19 4:59 PM, Tom H wrote: >> >> On which port is mountd running?! > > Keep reading the thread. :-) Got there. Thanks, LOL. ___ users mailing list -- users@lists.fedoraproject.org To unsubscrib

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Tom H
On Sun, Nov 17, 2019 at 1:49 AM Ed Greshko wrote: > On 11/17/19 8:35 AM, Ed Greshko wrote: >> On 11/17/19 2:48 AM, Patrick O'Callaghan wrote: >>> >>> But from the guest: >>>[poc@fedora30 ~]$ showmount -e bree >>>clnt_create: RPC: Unable to receive >>> >>> What am I missing? >> >> OK, I put

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Ed Greshko
On 11/17/19 4:59 PM, Tom H wrote: > On Sun, Nov 17, 2019 at 1:36 AM Ed Greshko wrote: >> On 11/17/19 2:48 AM, Patrick O'Callaghan wrote: >>> But from the guest: >>>[poc@fedora30 ~]$ showmount -e bree >>>clnt_create: RPC: Unable to receive >>> >>> What am I missing? >> OK, I put up an nfs s

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Tom H
On Sun, Nov 17, 2019 at 1:36 AM Ed Greshko wrote: > On 11/17/19 2:48 AM, Patrick O'Callaghan wrote: >> >> But from the guest: >>[poc@fedora30 ~]$ showmount -e bree >>clnt_create: RPC: Unable to receive >> >> What am I missing? > > OK, I put up an nfs server on the host and get the same err

Re: NFS-mounting from a QEMU/KVM guest

2019-11-17 Thread Tom H
On Sat, Nov 16, 2019 at 7:50 PM Patrick O'Callaghan wrote: > > This is quite embarrassing, but I'm banging my head against a wall > and hoping other eyes will spot some obvious mistake. > > I have an F31 guest (fedora30) running in QEMU/KVM on an F31 host > (Bree). I want to mount a host directory

Re: NFS-mounting from a QEMU/KVM guest

2019-11-16 Thread Ed Greshko
On 11/17/19 2:48 AM, Patrick O'Callaghan wrote: > What am I missing? > A follow-up of sorts In your original post you indicated Firewall setup on the host: [poc@Bree ~]$ firewall-cmd --list-all home (active) target: default icmp-block-inversion: no interfaces: enp3s0 As

Re: NFS-mounting from a QEMU/KVM guest

2019-11-16 Thread Ed Greshko
On 11/17/19 8:35 AM, Ed Greshko wrote: > On 11/17/19 2:48 AM, Patrick O'Callaghan wrote: >> But from the guest: >>[poc@fedora30 ~]$ showmount -e bree >>clnt_create: RPC: Unable to receive >> >> What am I missing? > OK, I put up an nfs server on the host and get the same error. > > If I disa

Re: NFS-mounting from a QEMU/KVM guest

2019-11-16 Thread George N. White III
On Sat, 16 Nov 2019 at 14:50, Patrick O'Callaghan wrote: > This is quite embarrassing, but I'm banging my head against a wall and > hoping other eyes will spot some obvious mistake. > > I have an F31 guest (fedora30) running in QEMU/KVM on an F31 host > (Bree). I want to mount a host directory vi

Re: NFS-mounting from a QEMU/KVM guest

2019-11-16 Thread Ed Greshko
On 11/17/19 2:48 AM, Patrick O'Callaghan wrote: > But from the guest: >[poc@fedora30 ~]$ showmount -e bree >clnt_create: RPC: Unable to receive > > What am I missing? OK, I put up an nfs server on the host and get the same error. If I disable the firewall on the host, it succeeds. Strang

Re: NFS-mounting from a QEMU/KVM guest

2019-11-16 Thread Ed Greshko
On 11/17/19 2:48 AM, Patrick O'Callaghan wrote: > This is quite embarrassing, but I'm banging my head against a wall and > hoping other eyes will spot some obvious mistake. > > I have an F31 guest (fedora30) running in QEMU/KVM on an F31 host > (Bree). I want to mount a host directory via NFS in th

NFS-mounting from a QEMU/KVM guest

2019-11-16 Thread Patrick O'Callaghan
This is quite embarrassing, but I'm banging my head against a wall and hoping other eyes will spot some obvious mistake. I have an F31 guest (fedora30) running in QEMU/KVM on an F31 host (Bree). I want to mount a host directory via NFS in the guest. I set this up a long time ago and it has worked