RaspyFi - Topic: Can NFS support be ADDED to the GUI? http://www.raspyfi.com/forum/wish-list/can-nfs-support-be-added-to-the-gui/ Simple:Press Version 5.2.6 mobeyduck on Can NFS support be ADDED to the GUI? http://www.raspyfi.com/forum/wish-list/can-nfs-support-be-added-to-the-gui/#p1691 Wish List http://www.raspyfi.com/forum/wish-list/can-nfs-support-be-added-to-the-gui/#p1691 I would say, make some code for it so they only need to add a few buttons and a webpage :P

So if the correct command is:

sudo mount -o nolock 192.168.1.104:/export/Media/Music /mnt/NAS/<MOUNT_POINT/

The IP:location should be editable as well as the mount_point so youll get to see the correct name in the database, so you would get a command a little something like this:

sudo mount -o nolock %ip:%location /mnt/NAS/%mount_point

Put it in a python (or what style/language is prefered) make %ip %location %mount_point variable
Then the scipt can be incerted in the other startup scipts that already run.
And the variable filling, shoudnt be to hard for the webpage creators and submit it to them so they can test and implement it.

For the people who dont know how to start a script when there system starts, you can do it with bash.bashrc or as a cronjob.
For a Cronjob do:
crontab -e
Goto the end of the file add:
@reboot /[complete path of the script]

[edit] mabey you want to give the R-pi a few seconds to get the network online then youll need to put a delay in the scipt.

]]>
Sat, 02 Nov 2013 14:18:11 +0100
PiZ on Can NFS support be ADDED to the GUI? http://www.raspyfi.com/forum/wish-list/can-nfs-support-be-added-to-the-gui/#p1685 Wish List http://www.raspyfi.com/forum/wish-list/can-nfs-support-be-added-to-the-gui/#p1685 +1 Wink

]]>
Fri, 01 Nov 2013 17:08:28 +0100
mannen66 on Can NFS support be ADDED to the GUI? http://www.raspyfi.com/forum/wish-list/can-nfs-support-be-added-to-the-gui/#p1247 Wish List http://www.raspyfi.com/forum/wish-list/can-nfs-support-be-added-to-the-gui/#p1247 I strongly support your request about NFS support.

I have to run a script manually after boot. Have not got it to start at boot yet.

My script:

/etc/init.d/rpcbind start
/etc/init.d/nfs-common start
mount -t nfs 192.168.1.107:/mnt/raid/music /var/lib/mpd/music/Server
/etc/init.d/mpd restart

This works fine on my system once up and running.

]]>
Wed, 25 Sep 2013 00:11:13 +0200
fnc1 on Can NFS support be ADDED to the GUI? http://www.raspyfi.com/forum/wish-list/can-nfs-support-be-added-to-the-gui/#p1095 Wish List http://www.raspyfi.com/forum/wish-list/can-nfs-support-be-added-to-the-gui/#p1095 Just FYI

when you login you can also simply run
rpcbind
then do a sudo mount 192.168.1.3:/export/Music /mnt/NFS/

And it mounts just fine.

the only issue is that sometimes it unmounts it... (not sure what is going on there yet)

]]>
Mon, 16 Sep 2013 16:24:19 +0200
fnc1 on Can NFS support be ADDED to the GUI? http://www.raspyfi.com/forum/wish-list/can-nfs-support-be-added-to-the-gui/#p1045 Wish List http://www.raspyfi.com/forum/wish-list/can-nfs-support-be-added-to-the-gui/#p1045 From the GUI you are not able to mount NFS shares...

It seems the fix would be simple as it can be done from the command line...
It looks like there are two options to make this successful:
1) Start statd
2) Add the '-o nolock' to the mount command

Here is the output below when mounting from the CLI

pi@Raspyfi:~$ sudo mount 192.168.1.104:/export/Media/Music /mnt/NAS//
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
pi@Raspyfi:~$ sudo mount -o nolock 192.168.1.104:/export/Media/Music /mnt/NAS/<MOUNT_POINT/

as you can see I used the -o nolock which worked and my database is building..... this will take a while

]]>
Sat, 14 Sep 2013 19:52:23 +0200