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

Re: Sloooow Boot [was NFS Mounting oddity...]

2011-12-06 Thread Arthur Dent
On Mon, 2011-12-05 at 19:42 +, Arthur Dent wrote: > On Mon, 2011-12-05 at 18:08 +0530, Soham Chakraborty wrote: snip > > So the long boot times (c. 2 mins) seem to be random, given no changes > in configuration. > > I looked at dmesg. I am no expert in what dmesg tells me, but here is > the

Re: NFS Mounting oddity...

2011-12-05 Thread Arthur Dent
an be to simply add _netdev option in the NFS exports and > check whether it improves things. > > > This is all what I can think of now. Well thanks for this. I think now that the NFS mounting may actually be a red-herring - but you set me on to some more detailed troubleshooting. I did 4

Re: NFS Mounting oddity...

2011-12-05 Thread Michael Cronenworth
Arthur Dent wrote: > Why does it now take so long? > How do I troubleshoot further, or - better yet - fix it? Have you tried enabling the following service? # systemctl enable NetworkManager-wait-online.service -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscrip

Re: NFS Mounting oddity...

2011-12-05 Thread Soham Chakraborty
On Mon, Dec 5, 2011 at 5:29 PM, Arthur Dent wrote: > Hello all, > > I have just upgraded my desktop to F16 from F14 (I skipped F15 because the > live distro did not seem able to run gnome 3 on - now it does > apparently!). > > I did a clean install (but with the existing /home partition) and copie

NFS Mounting oddity...

2011-12-05 Thread Arthur Dent
Hello all, I have just upgraded my desktop to F16 from F14 (I skipped F15 because the live distro did not seem able to run gnome 3 on - now it does apparently!). I did a clean install (but with the existing /home partition) and copied accross some config files (see below). Now, although F16 work

Re: nfs mounting

2010-03-05 Thread Tony Molloy
On Friday 05 March 2010 11:11:32 Mike Chambers wrote: > I have nfs setup, and works great. But the way I have it mounted, is at > boot via /etc/rc.local file with a mount command listed. I was > wondering if there was another way to get it mounted, or a more > automated way via a script that does

nfs mounting

2010-03-05 Thread Mike Chambers
I have nfs setup, and works great. But the way I have it mounted, is at boot via /etc/rc.local file with a mount command listed. I was wondering if there was another way to get it mounted, or a more automated way via a script that does just that or something? I already tried and don't want auto