cockpit-project / cockpit

Cockpit is a web-based graphical interface for servers.
http://www.cockpit-project.org/
GNU Lesser General Public License v2.1
10.94k stars 1.09k forks source link

storage: NFS - no way to browse NFS servers #8564

Open andreasn opened 6 years ago

andreasn commented 6 years ago

In the usability testing of NFS, we identified that all three out of four participants wished to browse the available NFS servers.

andreasn commented 6 years ago

I have no idea if this is even possible.

andreasn commented 6 years ago

Quotes from the test:

garrett commented 6 years ago

It's possible to have NFS advertised on the local network using zeroconf/avahi:

…but it requires a bit of set-up on server side.

martinpitt commented 5 years ago

I keep this open as enhancement, but in general there's no way to discover NFS shares. Sure you can wrap some Avahi announcement around that, but that would be just for cockpit - nothing else supports that. NFS comes from an era when admins still knew the IP addresses of their servers by heart, and discovery wasn't a thing..

mvollmer commented 5 years ago

Note that Cockpit does discovery of exported paths once you have typed in the server address, by running showmount -e. However, the default firewall rules block whatever showmount needs so usually people see nothing.

garrett commented 5 years ago

Apparently Kodi does NFS browsing... https://forum.kodi.tv/showthread.php?tid=321545

However, a quick glance over the code Kodi uses (from libnfs) and I think it's probing the entire local network?

So I guess it scans the local network, and then does the equivalent of showmount -e on the NFS servers it finds?