NFS Setup Assistance with Synology NAS

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mclog Offline
Senior Member
Posts: 260
Joined: Apr 2011
Reputation: 7
Post: #16
johnm109r Wrote:Hey guys just a Question Which Synology Model are most ppl using on this forum ?

I'm using the DS210j, if you don't need massive amount of storage, it's a capable little box. I'd probably have something more powerful if I thought I needed it to handle multiple HD video streams.
find quote
Ozymandyaz Offline
Member
Posts: 84
Joined: May 2011
Reputation: 0
Location: Toronto, ON
Post: #17
I use a single bay DS110j and feel exactly the same way that mclog does about it... I actually bought two of them so that one can back up the other... Together they ended up being cheaper then a single DS210j and now i have a hot spare =)

I stream 720p all over the house (one TV is even WiFi only...) and can do 1080 just fine. All players use SMB with no issue at all. The Synoogy is also hosting my MySQL library and thumbs.

Guide for MySQL database using Synology NAS
http://youtu.be/3PmmDtK65ks

Silent AppleTV with Crystalbuntu
http://quixventure.com/2011/12/crystalbu...roduction/
find quote
canadave Offline
Fan
Posts: 712
Joined: Jul 2011
Reputation: 16
Location: Nova Scotia, Canada
Post: #18
sig Smile

- ATV2 4.4.4 (iOS 5.0.1) build 9A406a, running Gotham (latest revision)
- 2011 Macbook Pro, running OSX Mavericks
- Skin: reFocus
- Connecting to MySQL database on Synology DS411+ NAS via NFS.
find quote
andypandyswe Offline
Junior Member
Posts: 1
Joined: Jun 2012
Reputation: 0
Post: #19
(2012-02-05 20:05)mclog Wrote:  What kind of read speeds are you getting? My NFS speeds are horrible with the Synology NAS, about a quarter of my FTP or WebDav.

Is there a simple way of measuring the speed between say my Boxee Box and the Synology NAS for SMB and NFS?
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 10,795
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #20
If the boxee has a file manager just copy over a file from a smb or nfs source and measure the time.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
flobey Offline
Junior Member
Posts: 7
Joined: Apr 2009
Reputation: 0
Post: #21
Thank you Maetrik, You solved my issue as well...Logged on, and reset my forgotten password just to say thanks!
(This post was last modified: 2012-09-01 03:32 by flobey.)
find quote
MenaceInc Offline
Junior Member
Posts: 8
Joined: Sep 2006
Reputation: 0
Location: Canada
Post: #22
I finally got my Synology DS211j working with RaspBMC RaspBerry Pi.

Thanks a lot for the fix!
find quote
ggp759 Offline
Junior Member
Posts: 5
Joined: Jul 2012
Reputation: 0
Post: #23
(2011-09-05 04:02)barrmy Wrote:  Memphiz, Canadave

Thanks, I was able to finally get it (the settings are slightly different and I was trying too hard)

So for others looking at this thread, here's a how-to
1. Login to your Synology GUI
2. Enable SSH (if not enabled already) Control Panel-->Terminal-->Enable SSH service
3. Enable NFS under Control Panel-->Win/MAC/NFS-->NFS Services-->Enable NFS
4. Under Control Panel-->Shared Folder, create a NFS Privileges entry for the folders you want to share
Hostname: either specific ip address of XBMC or *
Privlege: Read Only
Root Squash: No Mapping
5. Exit GUI, go to a terminal and SSH into your Synology
Code:
ssh root@<<SYNOLOGY IP ADDRESS>>
6. Type in cat /etc/exports to see if you get entries, mine were:
Code:
DiskStation> cat /etc/exports
/volume1/Movies *(ro,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0)
/volume1/TV    *(ro,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0)
7. Edit using vi:
Type vi /etc/exports
[If you don't know vi, press INS[SERT], use arrows to go to the line to edit, and delete/edit the line. Then press ESC, and :x to 'save&exit']
8. change the entries to:
Code:
/volume1/Movies    *(ro,async,no_wdelay,no_root_squash,insecure,anonuid=0,anongid=0)
/volume1/TV    *(ro,async,no_wdelay,no_root_squash,insecure,anonuid=0,anongid=0)
9. Do cat /etc/exports to see if it took
10. Enter "exportfs -ra" into console
11. You can now Browse NFS and get to your subfolders in XBMC

I need some help. When i enter cat /etc/exports the first time i get a "permission denied" error. Any way to get past that? thanks a lot
find quote
barrmy Offline
Junior Member
Posts: 43
Joined: Jun 2011
Reputation: 0
Post: #24
(2013-02-05 11:11)ggp759 Wrote:  I need some help. When i enter cat /etc/exports the first time i get a "permission denied" error. Any way to get past that? thanks a lot

are you sure you logged in as *root* and not admin or another user?
find quote
ggp759 Offline
Junior Member
Posts: 5
Joined: Jul 2012
Reputation: 0
Post: #25
(2013-02-05 17:34)barrmy Wrote:  
(2013-02-05 11:11)ggp759 Wrote:  I need some help. When i enter cat /etc/exports the first time i get a "permission denied" error. Any way to get past that? thanks a lot

are you sure you logged in as *root* and not admin or another user?

Hi am using putty for windows 7. I just select ssh and the ip of the synology. Is there a way to login as root?
PS: Thanks got it. thanks for the help.
(This post was last modified: 2013-02-05 18:43 by ggp759.)
find quote
Boss77 Offline
Junior Member
Posts: 1
Joined: Feb 2013
Reputation: 0
Post: #26
Hi, I followed the instructions, but when I get to step 7, after I type in vi /etc/exports, I get a list, but my laptop doesn't have and INS key and I can't seem to edit the line with the insecure_locks line. Anyone know how I can edit it?

Thanks!

(2011-09-05 04:02)barrmy Wrote:  Memphiz, Canadave

Thanks, I was able to finally get it (the settings are slightly different and I was trying too hard)

So for others looking at this thread, here's a how-to
1. Login to your Synology GUI
2. Enable SSH (if not enabled already) Control Panel-->Terminal-->Enable SSH service
3. Enable NFS under Control Panel-->Win/MAC/NFS-->NFS Services-->Enable NFS
4. Under Control Panel-->Shared Folder, create a NFS Privileges entry for the folders you want to share
Hostname: either specific ip address of XBMC or *
Privlege: Read Only
Root Squash: No Mapping
5. Exit GUI, go to a terminal and SSH into your Synology
Code:
ssh root@<<SYNOLOGY IP ADDRESS>>
6. Type in cat /etc/exports to see if you get entries, mine were:
Code:
DiskStation> cat /etc/exports
/volume1/Movies *(ro,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0)
/volume1/TV    *(ro,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0)
7. Edit using vi:
Type vi /etc/exports
[If you don't know vi, press INS[SERT], use arrows to go to the line to edit, and delete/edit the line. Then press ESC, and :x to 'save&exit']
8. change the entries to:
Code:
/volume1/Movies    *(ro,async,no_wdelay,no_root_squash,insecure,anonuid=0,anongid=0)
/volume1/TV    *(ro,async,no_wdelay,no_root_squash,insecure,anonuid=0,anongid=0)
9. Do cat /etc/exports to see if it took
10. Enter "exportfs -ra" into console
11. You can now Browse NFS and get to your subfolders in XBMC
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 10,795
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #27
hit i

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
ihateusernames Offline
Junior Member
Posts: 3
Joined: May 2013
Reputation: 0
Post: #28
please help when i click on nfs in xbmc i see nothing it just reads then stays there i believe the error is the last step

when putting in "exportfs -ra"

i get >>>>>

-ash: exportfs -ra: not found

i also tried without the "" but i still get no response in xbmc
(This post was last modified: 2013-05-05 18:20 by ihateusernames.)
find quote
nerdkill Offline
Junior Member
Posts: 2
Joined: May 2013
Reputation: 0
Post: #29
If someone could help me here I'd really appreciate it. I'm pulling my hair out trying to get my Synology NAS to work with XBMC. I don't know anything about ssh and changing permissions, I'm used to just clicking the drive letter and being done with it. Anyways, when I'm told to go to a terminal and SSH into my NAS what I'm taking that to mean is go to run and then I type out ssh root@<<SYNOLOGY IP ADDRESS>> with my synology ip address of course, but when I do that I get "Windows cannot find SSH make sure you've typed it correctly".

I have googled and spent so much time trying to figure out what I'm supposed to do, if anyone could point me in the right direction and let me know what I'm doing wrong I'd really appreciate it.
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 10,795
Joined: Feb 2011
Reputation: 113
Location: germany
Post: #30
For windows you will need an ssh client - "putty" for example.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote