• February 23, 2025, 04:39:56 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Need help getting NFS to work (OS X 10.6)  (Read 12586 times)

Soprano

  • Level 1 Member
  • *
  • Posts: 9
Need help getting NFS to work (OS X 10.6)
« 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:



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!
« Last Edit: December 08, 2009, 07:05:26 PM by Soprano »
Logged

D-Link Multimedia

  • Poweruser
  • Level 7 Member
  • **
  • Posts: 1066
    • D-link Systems, Inc.
Re: Need help getting NFS to work (OS X 10.6)
« Reply #1 on: December 08, 2009, 07:13:27 PM »


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
Logged

Soprano

  • Level 1 Member
  • *
  • Posts: 9
Re: Need help getting NFS to work (OS X 10.6)
« Reply #2 on: December 08, 2009, 07:24:31 PM »

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.
Logged

D-Link Multimedia

  • Poweruser
  • Level 7 Member
  • **
  • Posts: 1066
    • D-link Systems, Inc.
Re: Need help getting NFS to work (OS X 10.6)
« Reply #3 on: December 08, 2009, 07:35:34 PM »

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
Logged

Soprano

  • Level 1 Member
  • *
  • Posts: 9
Re: Need help getting NFS to work (OS X 10.6)
« Reply #4 on: December 08, 2009, 07:54:34 PM »

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
Logged

wirespy

  • Level 1 Member
  • *
  • Posts: 4
Re: Need help getting NFS to work (OS X 10.6)
« Reply #5 on: December 09, 2009, 02:36:22 AM »

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"


Logged

Soprano

  • Level 1 Member
  • *
  • Posts: 9
Re: Need help getting NFS to work (OS X 10.6)
« Reply #6 on: December 09, 2009, 03:34:33 AM »

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)....
Logged

thebeck

  • Level 2 Member
  • **
  • Posts: 47
Re: Need help getting NFS to work (OS X 10.6)
« Reply #7 on: December 09, 2009, 08:57:02 AM »

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:

Code: [Select]
/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.
« Last Edit: December 09, 2009, 08:59:54 AM by thebeck »
Logged
1) DNS-323 2x1.0TB (WD10EACS)-RAID 1 EXT3-1.08: Mac "Time Capsule"
2) DNS-343 4x2.0TB (WD20EADS)-RAID 5 EXT3-1.03: Copy of #1 + other stuff
3) DNS-343 4x2.0TB (WD20EADS)-RAID 5 EXT3-1.03: Remote mirrored backup of #2
4) DNS-323 2x500MB-RAID 1 EXT3-1.10b5: Playground

ffp 0.5 on all

jinserk

  • Level 1 Member
  • *
  • Posts: 9
Re: Need help getting NFS to work (OS X 10.6)
« Reply #8 on: December 10, 2009, 06:05:35 AM »

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.
Logged

birdog

  • Level 1 Member
  • *
  • Posts: 21
Re: Need help getting NFS to work (OS X 10.6)
« Reply #9 on: March 25, 2010, 01:55:10 AM »

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?



and here's how my 323 is set up... is this correct?


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.
« Last Edit: March 25, 2010, 08:31:52 AM by birdog »
Logged
DNS-323 rev C1, fw 1.0.8, 2x 1.5TB seagate drives