Re: NFS not connecting -

2019-12-08 Thread Tim via users
Tim: >> You might want to look at that file: >> >> /run/systemd/generator/nfs-server.service.d/order-with-mounts.conf Bob Goodwin: > [root@NFS-Server bobg]# cat > /run/systemd/generator/nfs-server.service.d/order-with-mounts.conf > # Automatically generated by nfs-server-generator > > [Unit] >

Re: NFS not connecting -

2019-12-08 Thread Bob Goodwin
On 2019-12-08 18:58, Ed Greshko wrote: One more thing. Based on what commands were given to get this working I wonder if you didn't have a typo earlier when you created the directory. I would do an ls / to make sure you don't have a directory with a bad name.  As well as ls /nfs4exports

Re: NFS not connecting -

2019-12-08 Thread Ed Greshko
On 2019-12-09 07:52, Bob Goodwin wrote: > > On 2019-12-08 18:45, Ed Greshko wrote: >> OK, so your nfs-server is now starting. >> >> So, you should be able to fix things up now they way you want. >> >> Thanks, Samuel for catching that. > > . > > I thank you both, > Welcome One more thing. Bas

Re: NFS not connecting -

2019-12-08 Thread Bob Goodwin
On 2019-12-08 18:45, Ed Greshko wrote: OK, so your nfs-server is now starting. So, you should be able to fix things up now they way you want. Thanks, Samuel for catching that. . I thank you both, Bob -- Bob Goodwin - Zuni, Virginia, Fedora Linux-31 XFCE ___

Re: NFS not connecting -

2019-12-08 Thread Ed Greshko
On 2019-12-09 07:14, Bob Goodwin wrote: > > On 2019-12-08 17:56, Ed Greshko wrote: >> That is extremely ODD.  There should be no mention of /nfs4exports/home/bobg. >> >> I don't know why that shows up. >> >> But, can you post the contents of your "/etc/fstab"? > > . > > [root@NFS-Server bobg]#

Re: NFS not connecting -

2019-12-08 Thread Ed Greshko
On 2019-12-09 07:30, Bob Goodwin wrote: > > On 2019-12-08 18:03, Samuel Sieb wrote: >> >> He might not have tried starting nfs again after changing the file. That >> directory was in the exports file earlier. >> ___ > > . > > Crrrect, I did nothing more

Re: NFS not connecting -

2019-12-08 Thread Bob Goodwin
On 2019-12-08 18:03, Samuel Sieb wrote: He might not have tried starting nfs again after changing the file. That directory was in the exports file earlier. ___ . Crrrect, I did nothing more than he asked ...  But restarting it changes the result

Re: NFS not connecting -

2019-12-08 Thread Bob Goodwin
On 2019-12-08 17:56, Ed Greshko wrote: That is extremely ODD.  There should be no mention of /nfs4exports/home/bobg. I don't know why that shows up. But, can you post the contents of your "/etc/fstab"? . [root@NFS-Server bobg]# cat /etc/fstab # # /etc/fstab # Created by anaconda on Thu

Re: NFS not connecting -

2019-12-08 Thread Samuel Sieb
On 12/8/19 2:56 PM, Ed Greshko wrote: On 2019-12-09 06:50, Bob Goodwin wrote: [root@NFS-Server bobg]# cat /etc/exports /nfs4exports/home 192.168.2.0/24(rw,sync,insecure,no_root_squash,no_subtree_check) [root@NFS-Server bobg]# systemctl status nfs-server ● nfs-server.service - NFS server and s

Re: NFS not connecting -

2019-12-08 Thread Ed Greshko
On 2019-12-09 06:50, Bob Goodwin wrote: > > On 2019-12-08 15:19, Ed Greshko wrote: >> The command "/usr/sbin/exportfs -r" is still failing. >> >> Building on what others have already said. >> >> Execute the following commands one by one and then post the results. >> >> mv /etc/exports /etc/expo

Re: NFS not connecting -

2019-12-08 Thread Bob Goodwin
On 2019-12-08 15:19, Ed Greshko wrote: The command "/usr/sbin/exportfs -r" is still failing. Building on what others have already said. Execute the following commands one by one and then post the results. mv /etc/exports /etc/exports-HOLD mkdir -p /nfs4exports/home touch /nfs4exports/home

Re: NFS not connecting -

2019-12-08 Thread Samuel Sieb
On 12/8/19 10:25 AM, Bob Goodwin wrote: The "/home/Media" part is what I need for my /etc/exports file, where, how, do I find that? Perhaps  /home/bobg/Public? none of that matters if NFS does not run which is what I am seeing ... NFS will not run until you have a correct exports file, so yes,

Re: NFS not connecting -

2019-12-08 Thread Ed Greshko
On 2019-12-09 00:11, Bob Goodwin wrote: > > On 2019-12-07 20:11, Bob Goodwin wrote: >> [root@NFS-Server bobg]# firewall-cmd --zone=public --add-service=mountd >> success >> [root@NFS-Server bobg]# etc]# firewall-cmd --zone=public >> --add-service=rpc-bind >> bash: etc]#: command not found >> >> Th

Re: NFS not connecting -

2019-12-08 Thread Patrick O'Callaghan
On Sun, 2019-12-08 at 13:25 -0500, Bob Goodwin wrote: > On 2019-12-08 12:42, Patrick O'Callaghan wrote: > > On Sun, 2019-12-08 at 11:35 -0500, Bob Goodwin wrote: > > > I guess you mean exports? > > > > > > [root@NFS-Server bobg]# cat /etc/exports > > > # /nfs4exports/home > > > 192.168.2.0/24(rw,s

Re: NFS not connecting -

2019-12-08 Thread Bob Goodwin
On 2019-12-08 12:15, Tim via users wrote: On Sun, 2019-12-08 at 11:11 -0500, Bob Goodwin wrote: I am still unable to get the NFS server to run - [root@NFS-Server bobg]# systemctl status nfs-server ● nfs-server.service - NFS server and services Loaded: loaded (/usr/lib/systemd/system/nfs-s

Re: NFS not connecting -

2019-12-08 Thread Bob Goodwin
On 2019-12-08 12:42, Patrick O'Callaghan wrote: On Sun, 2019-12-08 at 11:35 -0500, Bob Goodwin wrote: I guess you mean exports? [root@NFS-Server bobg]# cat /etc/exports # /nfs4exports/home 192.168.2.0/24(rw,sync,insecure,no_root_squash,no_subtree_check) Is that the actual file? If so, why is

Re: NFS not connecting -

2019-12-08 Thread Patrick O'Callaghan
On Sun, 2019-12-08 at 11:35 -0500, Bob Goodwin wrote: > I guess you mean exports? > > [root@NFS-Server bobg]# cat /etc/exports > # /nfs4exports/home > 192.168.2.0/24(rw,sync,insecure,no_root_squash,no_subtree_check) Is that the actual file? If so, why is there a '#' at the start of the first lin

Re: NFS not connecting -

2019-12-08 Thread Tim via users
On Sun, 2019-12-08 at 11:11 -0500, Bob Goodwin wrote: > I am still unable to get the NFS server to run - > > [root@NFS-Server bobg]# systemctl status nfs-server > ● nfs-server.service - NFS server and services > Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; > vendor pre

Re: NFS not connecting -

2019-12-08 Thread Bob Goodwin
On 2019-12-08 01:59, Samuel Sieb wrote: Right, you still haven't answered what is possibly the most important question.  Where is the directory that you want to share located on your server filesystem?  You can't just copy and paste an exports file from someone else. . I guess you mean ex

Re: NFS not connecting -

2019-12-08 Thread Bob Goodwin
On 2019-12-08 01:59, Samuel Sieb wrote: Right, you still haven't answered what is possibly the most important question.  Where is the directory that you want to share located on your server filesystem?  You can't just copy and paste an exports file from someone else. . I guess you mean ex

Re: NFS not connecting -

2019-12-08 Thread Bob Goodwin
On 2019-12-07 20:11, Bob Goodwin wrote: [root@NFS-Server bobg]# firewall-cmd --zone=public --add-service=mountd success [root@NFS-Server bobg]# etc]# firewall-cmd --zone=public --add-service=rpc-bind bash: etc]#: command not found Then this step fails? . I am still unable to get the NFS se

Re: NFS not connecting -

2019-12-07 Thread Ed Greshko
On 2019-12-08 14:59, Samuel Sieb wrote: > On 12/7/19 6:10 PM, Bob Goodwin wrote: >> [root@NFS-Server bobg]# exportfs -a >> exportfs: Failed to stat /nfs4exports/home: No such file or directory >> >> Ok, I have been able to get this far before another failure. It may be time >> to fix my /etc/expor

Re: NFS not connecting -

2019-12-07 Thread Samuel Sieb
On 12/7/19 6:10 PM, Bob Goodwin wrote: [root@NFS-Server bobg]# exportfs -a exportfs: Failed to stat /nfs4exports/home: No such file or directory Ok, I have been able to get this far before another failure. It may be time to fix my /etc/exports. Right, you still haven't answered what is possib

Re: NFS not connecting -

2019-12-07 Thread Bob Goodwin
On 2019-12-07 18:55, Ed Greshko wrote: [root@f31k ~]# cat /etc/exports /home/egreshko  192.168.0.0/16(rw,sync,insecure,no_root_squash,no_subtree_check) /home/egreshko  2001:B030:112F:::/56(rw,sync,insecure,no_root_squash,no_subtree_check) [root@f31k ~]# exportfs -a . [root@NFS-Server bo

Re: NFS not connecting -

2019-12-07 Thread Ed Greshko
On 2019-12-08 09:11, Bob Goodwin wrote: > [root@NFS-Server bobg]# etc]# firewall-cmd --zone=public > --add-service=rpc-bind > bash: etc]#: command not found > > Then this step fails? You have copied/pasted in error. You pasted "etc]# firewall-cmd --zone=public --add-service=rpc-bind " You want

Re: NFS not connecting -

2019-12-07 Thread Bob Goodwin
On 2019-12-07 18:55, Ed Greshko wrote: So.. [root@f31k etc]# firewall-cmd --zone=public --add-service=nfs success [root@f31k etc]# firewall-cmd --zone=public --add-service=mountd success [root@f31k etc]# firewall-cmd --zone=public --add-service=rpc-bind . Followed you to here: [root@NFS

Re: NFS not connecting -

2019-12-07 Thread Samuel Sieb
On 12/7/19 2:54 PM, Bob Goodwin wrote: On 2019-12-07 16:17, Samuel Sieb wrote: On 12/7/19 1:13 PM, Bob Goodwin wrote: Well it appears there must be something wrong with my server files installation. /nfs4exports does not lead to /home1 or /home? nfs4exports is part of /etc/exports: Being in

Re: NFS not connecting -

2019-12-07 Thread Ed Greshko
On 2019-12-08 07:17, Bob Goodwin wrote: > > On 2019-12-07 17:19, Patrick O'Callaghan wrote: >> Note that the GUI is not 100% reliable, i.e. it can misrepresent what >> is actually configured. >> >> Seehttps://bugzilla.redhat.com/show_bug.cgi?id=1773273 >> >> Also, try "firewall-cmd --get-active-zon

Re: NFS not connecting -

2019-12-07 Thread Bob Goodwin
On 2019-12-07 17:19, Patrick O'Callaghan wrote: Note that the GUI is not 100% reliable, i.e. it can misrepresent what is actually configured. Seehttps://bugzilla.redhat.com/show_bug.cgi?id=1773273 Also, try "firewall-cmd --get-active-zones" and "... --get-default- zone" to make sure you're loo

Re: NFS not connecting -

2019-12-07 Thread Bob Goodwin
On 2019-12-07 16:17, Samuel Sieb wrote: On 12/7/19 1:13 PM, Bob Goodwin wrote: Well it appears there must be something wrong with my server files installation. /nfs4exports does not lead to /home1 or /home? nfs4exports is part of /etc/exports: Being in the /etc/exports file doesn't make a di

Re: NFS not connecting -

2019-12-07 Thread Patrick O'Callaghan
On Sat, 2019-12-07 at 13:58 -0500, Bob Goodwin wrote: > On 2019-12-07 13:14, Patrick O'Callaghan wrote: > > You're not seeing anything that says "allow NFS", which means that it's > > blocked. The services line shows what should be let through. > > . > > Well I am lost in the Firewalld GUI with

Re: NFS not connecting -

2019-12-07 Thread Samuel Sieb
On 12/7/19 1:13 PM, Bob Goodwin wrote: Well it appears there must be something wrong with my server files installation. /nfs4exports does not lead to /home1 or /home? nfs4exports is part of /etc/exports: Being in the /etc/exports file doesn't make a directory exist. Where is the directory th

Re: NFS not connecting -

2019-12-07 Thread Bob Goodwin
On 2019-12-07 15:19, Samuel Sieb wrote: [bobg@Workstation-1 ~]$ showmount -e 192.168.2.128 clnt_create: RPC: Unable to receive Is that the IP address of the NFS server or Workstation-1? . 192.168.2.128 is the nfs server. As Tim said, this should be: mount 192.168.2.128:/nfs4exports/home

Re: NFS not connecting -

2019-12-07 Thread Samuel Sieb
On 12/7/19 8:30 AM, Bob Goodwin wrote: [bobg@Workstation-1 ~]$ showmount -e 192.168.2.128 clnt_create: RPC: Unable to receive Is that the IP address of the NFS server or Workstation-1? This computer's fstab has the line:   192.168.2.128:home1 /media/nfs nfs4 rw,soft,intr,fg,comment=systemd.au

Re: NFS not connecting -

2019-12-07 Thread Bob Goodwin
On 2019-12-07 14:09, Joe Zeff wrote: Were you getting SELinux alerts?  If not, it wasn't the issue, so why did you think setting it to permissive would help? . I did not think it would help but there's always someone who suggests stopping selinux. I never see any problems with it since most

Re: NFS not connecting -

2019-12-07 Thread Bob Goodwin
On 2019-12-07 12:51, Tim Evans wrote: Wouldn't this be? mount 192.168.2.128:/nfs4exports/home1 /media/nfs . No, that doesn't connect either but I can't make any sense of my server files, think I have something wrong there ...  the home1 looks like the problem area. -- Bob Goodwin - Zuni

Re: NFS not connecting -

2019-12-07 Thread Joe Zeff
On 12/07/2019 11:58 AM, Bob Goodwin wrote: Well I am lost in the Firewalld GUI  with connections and zones, permanent seems obvious, but I will have to learn more there. However I've changed nothing in Firewalld in this computer and it did work through the firewall just a few days ago, as I sai

Re: NFS not connecting -

2019-12-07 Thread Bob Goodwin
On 2019-12-07 13:14, Patrick O'Callaghan wrote: You're not seeing anything that says "allow NFS", which means that it's blocked. The services line shows what should be let through. . Well I am lost in the Firewalld GUI  with connections and zones, permanent seems obvious, but I will have to

Re: NFS not connecting -

2019-12-07 Thread Patrick O'Callaghan
On Sat, 2019-12-07 at 12:20 -0500, Bob Goodwin wrote: > I'm not certain what to look for but I don't see anything I recognize > that says"no NFS" You're not seeing anything that says "allow NFS", which means that it's blocked. The services line shows what should be let through. poc _

Re: NFS not connecting -

2019-12-07 Thread Tim Evans
On 12/7/19 11:30 AM, Bob Goodwin wrote: This computer's fstab has the line:   192.168.2.128:home1 /media/nfs nfs4 rw,soft,intr,fg,comment=systemd.automount  0 0 And at the server exports is: [bobg@NFS-Server ~]$ cat /etc/exports /nfs4exports/home1 192.168.2.0/24(rw,sync,insecure,no_root_squa

Re: NFS not connecting -

2019-12-07 Thread Bob Goodwin
On 2019-12-07 12:02, Patrick O'Callaghan wrote: Could be a firewall issue. Check the output of: $ firewall-cmd --list-all IIRC it should include nfs, nfs3, mountd and rpc-bind. poc I should have said I tried stopping the firewall and selinux individually. I am seeing the following: [root

Re: NFS not connecting -

2019-12-07 Thread Patrick O'Callaghan
On Sat, 2019-12-07 at 11:30 -0500, Bob Goodwin wrote: > . > > Due to failure of a 3TB Seagate hard drive (DOM 28 April 2019) i am > rebuilding the server again, this time with no backup to refer to. I am > trying to work from references found searching google, my notes were in > the server. I t

NFS not connecting -

2019-12-07 Thread Bob Goodwin
. Due to failure of a 3TB Seagate hard drive (DOM 28 April 2019) i am rebuilding the server again, this time with no backup to refer to. I am trying to work from references found searching google, my notes were in the server. I think what I have should work even if not optimal but /am unable