Connect to NFS on availability
Posted
by
berkes
on Ask Ubuntu
See other posts from Ask Ubuntu
or by berkes
Published on 2011-02-25T14:18:07Z
Indexed on
2011/02/25
15:32 UTC
Read the original article
Hit count: 278
What would be a good way to automatically mount an NFS when it gets/is available?
I have the following:
- Media server at home, running Ubuntu, 10.10 with GUI *)
- Laptop often at home, often on the road or at clients. Ubuntu 10.10 with GUI.
What I'd like is my laptop connecting to the nfs (or any other mountable networked filesystem) so that Banshee sees all the music, new podcast-entries (and video) from that media-server.
I already have firefly (mt-daapd) running, which works, but is flakey on both server-side and client-side. But its biggest downside, is that I cannot easily fix metadata on files on the media-server this way. DAAP is read-only by design.
I can mount nfs manually, through a sudo mount /media/nfsmultimedia/
. I am not looking for a manual, or howto on setting up a NFS client and server. Merely a way to have this more transparently working.
Obviously I'd like the NFS to be unmounted if the network is no longer available (i.e. when I open my laptop-lid on my clients buro).
It may be, that an NFS is not suited for this, in that case, I'd love to hear other options. :)
*) Actually: I also have a fileserver, backupserver and webserver to which I'd like to connect in a somewhat similar way. Right now I connect to these over SSH, using gvfs.
© Ask Ubuntu or respective owner