[SOLVED] NFS server and shares do not appear in nemo

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
IronRod
Level 3
Level 3
Posts: 120
Joined: Thu Feb 04, 2016 3:37 am

[SOLVED] NFS server and shares do not appear in nemo

Post by IronRod »

I'm using NFS to share some directories from my server to my desktop. The shares all work fine but I can't find a way to get them to appear in nemo for easy access.

I have tried mounting them manually:

Code: Select all

sudo mount media:/exports /mnt/nfs/media-server
Via an entry in fstab:

Code: Select all

media:/exports /mnt/nfs/media-server  nfs      defaults    0       0
Via autofs (using auto.master and auto.nfs)

Code: Select all

auto.master: /mnt/nfs /etc/auto.nfs --ghost --timeout=60
auto.nfs: media-server -fstype=nfs4,rw media:/exports
In all instances, the shares work fine. For example, I can open VLC and it easily accesses content under /mnt/nfs/media-server/Music. But in no instance does nemo display the mounts under "Devices" and the server doesn't appear under "Network". Is there some kind of cache I need to clear?
Last edited by IronRod on Sat Mar 23, 2024 5:23 pm, edited 1 time in total.
altair4
Level 20
Level 20
Posts: 11461
Joined: Tue Feb 03, 2009 10:27 am

Re: NFS server and shares do not appear in nemo

Post by altair4 »

Note: I haven't used NFS this century - no exaggeration.

For all other mounts if you mount something under /media or in your home directory it will "appear" on the side panel of your file manager.

If you mount it anywhere else it will not .... unless you add another option to your mount declaration: x-gvfs-show
media:/exports /mnt/nfs/media-server nfs defaults,x-gvfs-show 0 0

Will that work with NFS? I have no idea.

You could also add a Bookmark to the /mnt/nfs/media-server folder.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
IronRod
Level 3
Level 3
Posts: 120
Joined: Thu Feb 04, 2016 3:37 am

Re: NFS server and shares do not appear in nemo

Post by IronRod »

That worked. Thank you very much! "media-server" now appears under "Network" -- perfect!

Code: Select all

media:/exports /mnt/nfs/media-server  nfs      defaults,x-gvfs-show    0       0
Post Reply

Return to “Networking”