tyz
New Member
Posts: 21
|
Post by tyz on Oct 29, 2006 8:50:52 GMT 7
OK, the first version of my NFS module is finished. It's available at www.xs4all.nl/~tyz/N2100/ Please let me know if it works for you guys! Mathijs ---8<----------------->8--- This module installs an NFS server on your NAS. This is probably only interesting for Linux/*BSD and Mac OS X users. Performance is much better than SMB or AFP, so give it a try if you're using one of those systems! The current module does some uid mapping tricks. You either specify no mapping (ie the uids on both client and server are the same) or you map all client uids to 1 uid on the N2100. The latter is probably what most users will want to use. You can specify the uid mapping per exported directory. Installation Just install the module and enable it. On the configuration page enter the directory you want to export. The directories are relative to /raid. Ie /foo means /raid/foo. Enter your subnet (eg 192.168.100.0/24) or the IP address of one PC (eg 192.168.100.3/32), and select a user. Now mount the exported directory as /raid/foo. In Mac OS X's finder: command-k, and enter nfs://yourn2100/raid/whatever. On a UNIX system enter: mount -t nfs nfs://yourn2100/raid/whatever /mnt
|
|
fmo
New Member
Posts: 18
|
Post by fmo on Nov 1, 2006 5:39:46 GMT 7
Hi Tyz, Thanks very much for the module, It installed it fine, unfortunately I can't get it to work, I get access denied every time I try to mount it I'm a newbee at NFS and I can't sort it out, I tried with no uid mapping and mapping uid to a user, but I must say that I don't really understand what I'm doing... My machine is running Ubuntu 6.10. I tried to map using mount -t nfs 10.0.0.x:/raid/share /media/nas but I get Permission Denied. My export is /raid/share 10.0.0.0/24 and I tried with no uid and with map uid to a user but the result is the same. Please help !!!
|
|
tyz
New Member
Posts: 21
|
Post by tyz on Nov 1, 2006 5:57:29 GMT 7
My export is /raid/share 10.0.0.0/24 and I tried with no uid and with map uid to a user but the result is the same. Hi, You should enter /share as directory, instead of /raid/share. I'll add an extra check which warns you if the directory doesn't exist. Let me know if it worked for you. Mathijs
|
|
|
Post by mwk on Nov 1, 2006 19:33:44 GMT 7
Hi, I am also having problems using NFS. I entered root@FC4#mount -t nfs 192.168.66.118:/xxxx /mnt/n2100 But the FC4 (Fedora 4) machine replied ... root@FC5#192.168.66.118:/xxxx failed, reason given by server: Permission denied Share folder xxxx is setup as a public folder. What seems to be the problem.
|
|
tyz
New Member
Posts: 21
|
Post by tyz on Nov 1, 2006 22:01:21 GMT 7
Share folder xxxx is setup as a public folder. What seems to be the problem. Permission denied means you're trying to mount a directory which isn't exported. Or you're connecting from an IP address which isn't authorized to mount the directory. It would be helpful if you told us what xxxx exactly is. My guess is you've either entered /raid/foo as exported directory instead of /foo. Or you entered /foo, and tried to mount /foo instead of /raid/foo. I'll try to clarify things a bit more in a next version of the module. So to summarize: Directory on setup page: /foo (without /raid) Mount command on Linux machine: mount -t nfs /raid/foo /mountpoint Mathijs
|
|
fmo
New Member
Posts: 18
|
Post by fmo on Nov 3, 2006 5:26:38 GMT 7
Thanks TYZ, it works great !
|
|
|
Post by olympia on Apr 12, 2007 16:27:23 GMT 7
Is it worth in terms of performace to switch from SMB to NFS in windows environment?
Is anybody running a setup like this?
|
|
|
Post by getmythe on Apr 12, 2007 18:28:10 GMT 7
From my experience nfs write speed cannot match write performance achieved by smb or afp. Read performance is about equal for all three candidates. That's for larger files. In case you have to transfer many small files (hundreds or thousands of files only a couple of kbytes in size) then nfs is the clear winner.
My recommendation for Windows users is to stick to smb, whereas Linux and Mac OS X users should have a closer look at nfs.
|
|
|
Post by olympia on Apr 12, 2007 19:52:17 GMT 7
Thanks getmythe! I wanted to test it myself, bu t couldn't manage to map shares via NFS.
Windows was able to find NFS server and see all the exports with LabF nfsAxe, but was not able to map them.
But than I don't struggle with that...
|
|
penty
New Member
Posts: 1
|
Post by penty on Jul 7, 2007 17:31:38 GMT 7
Hi,
I am having problems using NFS on a Dreambox 7000
In the NFSD-Setup i entered:
/filme 192.168.30.0/24 NoUIDmapping
On the Dreambox i entered:
IP: 192.168.30.10 Dir: raid/filme LocalDir: /mnt/nfs
IP NAS: 192.168.30.10 IP Dreambox: 192.168.30.4
Can anyone help me please.
PS: Sorry for the bad English...
|
|
|
Post by getmythe on Jul 9, 2007 18:09:59 GMT 7
the directory should be /raid/filme, everything else looks fine IP: 192.168.30.10 Dir: raid/filme LocalDir: /mnt/nfs IP NAS: 192.168.30.10 IP Dreambox: 192.168.30.4 getmythe
|
|
|
Post by crazyeddie on Aug 26, 2007 19:31:29 GMT 7
Hi,
I run the NFSD-module on my N4100+. For me it seems the server is working.
Settings on Thecus: Directory: /record Subnet: 192.168.0.0/24 Map all uids to: dbox(user), nobody, No uid
I tried everything....
On linux I entered: showmount -e 192.168.0.200 answer: /raid/record 192.168.0.0/24
but if I try to mount mount -t nfs 192.168.0.200:/raid/record /mountpoint the thecus sais: permission denied
Please help me! I want to stream with my Dbox on the Thecus. I tried to mount on Dbox, Knoppix, and Suse - the result is everytime the same. Is it possible that there is a difference in the directory-structure between N2100 and N4100+? How can I check that?
CrazyEddie
|
|
|
Post by getmythe on Aug 28, 2007 4:23:59 GMT 7
Hi crazyeddie,
where did you get the nfsd module for the n4100+? It's not available at the Wiki. Are you using an unmodified n2100 module? If yes, please be aware that the n2100 nfsd module expects to find shares in directory /raid, say /raid/iTunes is the absolute path. In the gui of the nfsd module you would enter /iTunes and on your client you enter /raid/iTunes as the path.
I hope this explanation is not to confusing.
|
|
|
Post by crazyeddie on Aug 28, 2007 18:45:19 GMT 7
Hi getmythe,
I use the unmodified N2100-module. (I only wrote the install.rdf to 4100Plus) The module expects the directories in /raid. That’s clear. But how can I find out where my shares really are? If I access my shares I see no directory /raid. I only see /ITunes; /Music etc.
But my question is how can I find out, where my shares really are.
And in which module-files I must modify, when I know the real path?
Now, I will try to explore the included download-manager-module for N4100Plus. I hope it describes the directory-stucture…
CrazyEddie
|
|
|
Post by getmythe on Aug 28, 2007 20:30:50 GMT 7
Actually, since you have been able to install the NFSD module you do have directory /raid as the install script places the module in /raid/module/NFSD. You may threrefore try to mount /raid/module via nfs just to check if nfs is working at all.
Do you have ssh access to your box?
|
|