D-Link Forums
The Graveyard - Products No Longer Supported => DNS-323 => D-Link Storage => Beta code! => Topic started by: Soprano on December 08, 2009, 06:55:55 PM
-
I've tried everything and still can't get NFS to mount. I setup my share as:
(http://dl.dropbox.com/u/968802/nfs.png)
I assume the Host is my router LAN IP? I'm trying to connect via Connect to Server:
nfs://192.168.1.86/mnt/HD_a2/Volume_1
I am getting the error in my Console: mount_nfs: can't access /mnt/HD_a2/Volume_1: Permission denied
Is there something I am doing wrong? I am running 10.6.2.
Thanks!
-
I assume the Host is my router LAN IP? I'm trying to connect via Connect to Server:
Thanks!
No, Host is the Ip of your Computer or Device that is connecting to the NAS. If you want to enable anyone on your network to connect, change the host to 192.168.1.0/24
-
Thanks. I tried changing it to 192.168.1.0/24, and also tried my laptop IP, and I still can't connect to the NFS share. I am still getting "permission denied" errors in Console.
-
Remove Volume_1 from your NFS path when connecting. HD_a2 IS the same thing as saying Volume_1, except that it is the actual linux mount as apposed to the Samba share.
Aka try,
nfs://192.168.1.86/mnt/HD_a2
-
Sorry, still no dice. I will do some research. Maybe its a 10.6.2 issue, as I am reading of other NFS issues. I've also tried creating an NFS share in Disk Utility, and per another post, and tried the advanced mount parameters: -i, -s, -w=32768, -r=32768
-
nfs://<my PCH ip>/share
/Network/NMT - use Network and not Volume to mount in Finder
-P nosuid
Select: Ignore "set user ID" privileges and click "verify" and then "save"
(http://dl.dropbox.com/u/255712/nfs%20in%20disk%20utility.tiff)
-
I was finally able to read the share by using NFS Manager, and per wirespy's post, but I am unable to save to the share. I am getting "Permission denied" in the console (error -36 in Finder)....
-
You may need to telnet to the DNS (e.g., via ffp) and set the global permission on the folder to at least read and write. Here's a sample command that gives you all permissions:
/mnt/HD_a2/ # mkdir shareFolderName
/mnt/HD_a2/ # ls -las shareFolderName
4 drwxr-xr-x 2 root root 4096 Dec 9 15:54 shareFolderName
/mnt/HD_a2/ # chmod 777 shareFolderName
/mnt/HD_a2/ # ls -las shareFolderName
4 drwxrwxrwx 2 root root 4096 Dec 9 15:54 shareFolderName
/mnt/HD_a2/ #
The first 'd' represents that it is a directory. The next rwx represents read, write, execute for the user (root in this case). The middle rwx represents read, write, execute for the group (root in this case). And the last rwx represents read, write, execute for everyone else. Notice that when you first create a folder (in this example), the write permission for the group and everyone is missing.
This of course opens up the particular share to everyone, but it may at least get you around this particular hurdle so that you can do some additional testing.
-
It's not sufficient to change permission of the top folder.
If you want to copy a structure of directories, then you'll got a permission error message during copy of child directories.
Actually you should set the uid and gid of id in DNS-323 are the same to them of your clients.
We've got a map_static option of nfsd in /etc/exports, however, when you restart the nfsd in DNS-323, it makes a new /etc/exports file. So we cannot apply map_static option.
It seems that it's impossible to write something to DNS-323, 1.08b8 by NFS, at this time.
-
wirespy, thanks for this useful info!
I'm running Mac OS 10.6.2, and I've set up 2 shares exactly the way you've outlined here. Is this correct?
(http://20room.com/share/10.6_NFS_share_setup.png)
and here's how my 323 is set up... is this correct?
(http://20room.com/share/323_NFS_share_setup.png)
10.0.1.2 is the IP of my NAS.
I now can see the NMT folder in "shared" in the sidebar of finder windows, but when I open it, nothing shows up.