i also tried this and it worked till i reboot...and then it says on XBMC: Path not found or invalid. This is exactly i tried as per this link by kees667 on this forum: The only difference is that instead of hard drive i installed on USB which is connected to my Zotac HD11 machine and i used my ip and my share locations):
http://forum.xbmc.org/showthread.php?tid=61224&page=3
Noob guide for using NFS on XBMC LIVE (installed on harddisk)
Mounting an NFS drive in XBMC Live 9.11 beta 1 (installed to harddisk on Asrock 330)
Using a Western Digital Mybook World II 1 TB nas specifically, for other NAS the NAS setup part might be different
Getting ready - NAS
The NAS needs to be set up correctly.
-On your NAS: create a user that matches your XBMC user/password, and allow it access to the share you want to see in XBMC
-Under settings allow the XBMC machine's ip-address access
-Find out the full path to your NFS share. I stumbled here. My ip is 192.168.1.30, and my share name is "Private" but when I combine the two they are not my NFS path, there was a diskname in between. I found my correct path using "showmount -e 192.168.1.30" from a windows machine, which just showed me the paths available on the NAS. My path was "192.168.1.30:/DataVolume/Private" and will be used in the rest of the guide. I think it is case sensitive!
Getting ready - XBMC
Code:
sudo apt-get install nfs-common (went well for me)
Then,
Code:
sudo mkdir /media/misc (went well)
Code:
sudo mount -t nfs 192.168.1.30:/private /media/misc (went well)
Code:
ls /media/misc (went well i can see my movie both in terminal and XBMC)
First try - how do I open this location in XBMC?
In XBMC when you select add source and browse you see mostly network paths, but you need to browse to /media/misc. Do "add source" and then instead of "browse" just type /media/misc in the window that says <none>. Give it a name you want on a bottom window and you are all set. (Went well)
Getting your machine to do this everytime at boot (This is what
not working for me. Although did exactly as it said..at least i think))
Code:
sudo pico /etc/rc.local (went well)
The last line should read "exit 0" - before that insert these two lines so that it looks like this:
Code:
mount -t nfs 192.168.1.30:/private /media/misc
sleep 10
exit 0
Reboot and try if you can browse the share using:
Code:
ls /media/misc or in XBMC.
(DID NOT WORK)
I did insert line that way and pressed ctrl O to save and cntrl x to exit. It gave me some reply like "12 lines wrote"..something like this and then i exit back to main terminal. Then i entered "exit" again to close the terminal and reboot the machine from XBMC. But, then on reboot i get this message: Path not found or invalid and also it fails to accept "ls /media/misc" command on xbmc terminal saying that "no such file or directory exists". And then to get to the level where "ls /media/misc" code works again, i need to start from "sudo ap-get update" and then "sudo apt-get install nfs-common" and so on..also after new (apt-get install) when i run "sudo mkdir /media/misc" code it says that it already exists. But then on the smae time on reboot (and before apt-get install) it says file does not exists...??
Really frustrated...have already spent at least 20 hours if not more....please help....also wonder if i'll have to do this with every share (photos, videos, music etc on my NAS)...help me please....
Getting confused with so many different types of command to do the same thing
?
Regards,
Satfan