Hi Everyone,
I don't know or how, but I can no longer browse nfs shares from Nautilus. If I type in a NFS URLs, Nautilus immediatly says it's not recognized. All of my NFS bookmarks stopped working, too.
My NFS server is running just fine. This seems to be a "problem" on the Fedora end.
Was there a recent, undocumented change to the Nautilus code? Is it a bug? I can't find anything on Internet about this.
Regards,
Ranbir
On Wed, 2016-01-20 at 14:58 -0500, Ranbir wrote:
I don't know or how, but I can no longer browse nfs shares from Nautilus. If I type in a NFS URLs, Nautilus immediatly says it's not recognized. All of my NFS bookmarks stopped working, too.
My NFS server is running just fine. This seems to be a "problem" on the Fedora end.
Is there no love for this thread? :( I still don't know why Nautilus has all of a sudden stopped working with nfs URLs.
On 01/21/2016 02:30 PM, Ranbir wrote:
On Wed, 2016-01-20 at 14:58 -0500, Ranbir wrote:
I don't know or how, but I can no longer browse nfs shares from Nautilus. If I type in a NFS URLs, Nautilus immediatly says it's not recognized. All of my NFS bookmarks stopped working, too.
My NFS server is running just fine. This seems to be a "problem" on the Fedora end.
Is there no love for this thread? :( I still don't know why Nautilus has all of a sudden stopped working with nfs URLs.
Is your NFS server doing NFSV3 or NFSV4? "showmount -e" doesn't work if the server is NFSV4 and I suspect that's what Nautilus is doing (or something like it).
If you have access to the NFS server, try altering the options to the nfsd daemon to not offer V4/V4.1. This can be done by passing it the "-V 3" or "-N 4" options (or you can edit the "RPCNFSDARGS" variable in /etc/sysconfig/nfs, put the option in there and "systemctl restart nfs-config") and try browsing it again.
This is a shot in the dark here. It's bitten some of our people here. They could mount the exports, but not browse them. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - If at first you don't succeed, quit. No sense being a damned fool! - ----------------------------------------------------------------------
On Thu, 2016-01-21 at 15:01 -0800, Rick Stevens wrote:
Is your NFS server doing NFSV3 or NFSV4? "showmount -e" doesn't work if the server is NFSV4 and I suspect that's what Nautilus is doing (or something like it).
No, that's not it: I'm using nfsv3. Besides, the mounts worked perfectly before in Nautilus. It's just that now Nautilus isn't recognizing nfs URLs at all.
It's not my server config. I think something has changed in Nautilus.
On 01/22/2016 08:26 PM, Ranbir wrote:
On Thu, 2016-01-21 at 15:01 -0800, Rick Stevens wrote:
Is your NFS server doing NFSV3 or NFSV4? "showmount -e" doesn't work if the server is NFSV4 and I suspect that's what Nautilus is doing (or something like it).
No, that's not it: I'm using nfsv3.
This could explain your problems.
Besides, the mounts worked perfectly before in Nautilus. It's just that now Nautilus isn't recognizing nfs URLs at all.
Some time around fc21/fc22, the defaults for mount-type for nfs mounts was changed to nfsv4.
I.e. the meaning of file type "nfs" in calls to mount and in /etc/fstab was changed from "nfs"=="nfsv3" to "nfs"=="nfsv4". I also recall, their were some mistakes/oversights in this transitions, which were fixed later on.
I.e. if your server is nfsv3, you should check your nfs-related config-files in /etc/.
Ralf
On Sat, 2016-01-23 at 07:04 +0100, Ralf Corsepius wrote:
Some time around fc21/fc22, the defaults for mount-type for nfs mounts was changed to nfsv4.
[snip]
I.e. if your server is nfsv3, you should check your nfs-related config-files in /etc/.
I haven't explained myself clearly enough. It's not my NFS server that is suddenly incompatible with Fedora 22. I can still manually mount (as root) any of the exports on the NFS server from my Fedora 22 desktop.
The problem is Nautilus itself is telling me this:
"This file server type is not recognized."
That happens the very second I type "nfs://" into the "Server Address" box for the "Connect to Server" dialog window. I haven't even typed the location of the nfs export. Nautilus is complaining the nfs URL is not supported.
This worked like a charm before. I still have my nfs bookmarks saved in Nautilus. But, Nautilus no longer recognizes nfs URLs. This is not my server - this is a Nautilus problem.
What has broken?? :(
On Sun, 2016-01-24 at 09:17 -0800, Joe Zeff wrote:
Have you filed a bug report?
https://bugzilla.redhat.com/show_bug.cgi?id=1301612
I'll probably be told it's not going to be fixed because Fedora 24 is on its way...or something.
Guess I should just upgrade to 23.
On 25 January 2016 15:14:17 GMT, Ranbir m3freak@thesandhufamily.ca wrote:
On Sun, 2016-01-24 at 09:17 -0800, Joe Zeff wrote:
Have you filed a bug report?
https://bugzilla.redhat.com/show_bug.cgi?id=1301612
I'll probably be told it's not going to be fixed because Fedora 24 is on its way...or something.
Guess I should just upgrade to 23.
As an alternative you could install and start autofs server. Then in nautilus go to /net/servername/path/on/server
-- Junk
On Mon, 2016-01-25 at 21:22 +0000, Junk wrote:
As an alternative you could install and start autofs server. Then in nautilus go to /net/servername/path/on/server
I actually use autofs for these NFS shares, but restarting the service before didn't help: nautilus still complained. However, I've resolved the problem. Read on....if you want. :/
You made me realize I hadn't actually tried to auto mount the NFS shares from the terminal. I went to my auto mount location and I was told there was no such file or directory. Then I remembered the last time I was trying to auto mount the NFS shares I had to restart sssd (I have auto mount configured in freeipa). Once I restarted sssd, the auto mounts started working again, as well as my NFS bookmarks in Nautilus. I've had them set up for so long I forgot they were actually bookmarking the auto mount locations.
I think I need to document this so if it happens again I don't port here and look stupid. :| Sorry for the noise!
Thanks to everyone for helping me out.
Allegedly, on or about 26 January 2016, Ranbir sent:
You made me realize I hadn't actually tried to auto mount the NFS shares from the terminal. I went to my auto mount location and I was told there was no such file or directory. Then I remembered the last time I was trying to auto mount the NFS shares I had to restart sssd (I have auto mount configured in freeipa). Once I restarted sssd, the auto mounts started working again, as well as my NFS bookmarks in Nautilus.
Interesting to know. I didn't know about SSSD and NFS.
I frequently have non-working NFS mounts, too, from a different cause. If there's a power glitch, the network storage device often has the wrong time and date, and Fedora refuses to talk with it until corrected. And, yes, I have modified the start-up routine in the NAS to try and make it reset the clock from the NTP server, but it often won't. No idea why, I can only guess it tries before the network is up. I have to ssh in, and go through restarting the two NFS-related servers on the NAS (nfs-common & nfs-kernel-server) trying to get NFS to work again.
It's enough to give you the pip! And, no, I don't want to use SMB instead, that's a whole extra disgusting can of worms.
On Sat, 2016-01-23 at 11:43 -0800, Gordon Messmer wrote:
On 01/21/2016 02:30 PM, Ranbir wrote:
Is there no love for this thread?:( I still don't know why Nautilus has all of a sudden stopped working with nfs URLs.
Do you have the "gvfs-nfs" package installed?
That package doesn't exist in Fedora 22.
On 01/24/2016 09:51 AM, Ranbir wrote:
On Sat, 2016-01-23 at 11:43 -0800, Gordon Messmer wrote:
On 01/21/2016 02:30 PM, Ranbir wrote:
Is there no love for this thread?:( I still don't know why Nautilus has all of a sudden stopped working with nfs URLs.
Do you have the "gvfs-nfs" package installed?
That package doesn't exist in Fedora 22.
gvfs-nfs is provided by the gvfs rpm package in F23 and in F24 (Rawhide), but it requires glib2 and glib2-devel , which are not available in F22. But if you feel very adventurous, simply run dnf upgrade to F23 and you should have what you want :)
On 01/24/2016 08:51 AM, Ranbir wrote:
On Sat, 2016-01-23 at 11:43 -0800, Gordon Messmer wrote:
On 01/21/2016 02:30 PM, Ranbir wrote:
Is there no love for this thread?:( I still don't know why Nautilus has all of a sudden stopped working with nfs URLs.
Do you have the "gvfs-nfs" package installed?
That package doesn't exist in Fedora 22.
As far as I know, nautilus uses gvfs for all of its IO. Support for NFS was added to gvfs in Fedora 23 in October, 2015. Before that, I'm not sure how it was supported. There's an "nfs-lan" plugin as well, but all the docs I can find indicate that *some* plugin is required.