• February 24, 2025, 12:19:50 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: DNS-321 FW 1.0.3 NFS Setup  (Read 18677 times)

shino

  • Level 1 Member
  • *
  • Posts: 3
DNS-321 FW 1.0.3 NFS Setup
« on: November 03, 2009, 08:06:14 AM »

I just loaded FW 1.0.3 on a DNS-321 w/ 2 2TB drives and trying to set up the NAS as an NFS server.  It is already a SMB server.   My prospective clients are a Ubuntu 9.04 desktop and an XP pro laptop. Both computers do mount the 321 as an SMB server.

Q1: When in the 321's Network Access Settings under Type: NFS, what should be under "Host"?  Should it be the 321's IP address? (Mine is static).  I set it up that way, and the path is:    Volume_1/home/shino  Real path: /mnt/HD_a2/home/shino

Q2: On XP, I downloaded MS' SFU package.  The "map network drives" does "see" the 321 under "NFS Network" under "My Network Places", even the 321's NFS path directories, but when I attempt to map, I get "The network path \\Raid03\mnt\HD_a2\home\shino could not be found." 

Q3: On Ubuntu, I added this line to the /etc/fstab

raid03:/mnt/HD_a2/home/shino /nfs-raid03/home/shino nfs uid=1001,gid=1001 0 0

but when I try a "mount -a", I get this error:
  "mount: wrong fs type, bad option, bad superblock on raid03:/mnt/HD_a2/home/shino, missing codepage or helper program, or other error"

I figure I've got 3 unknowns here (since I haven't run NFS on my network before) so any guidance to any part will be very welcome.

Thanks,
-rei


Logged

cell35

  • Level 1 Member
  • *
  • Posts: 4
Re: DNS-321 FW 1.0.3 NFS Setup
« Reply #1 on: November 03, 2009, 10:09:31 AM »

I just loaded FW 1.0.3 on a DNS-321 w/ 2 2TB drives and trying to set up the NAS as an NFS server.  It is already a SMB server.   My prospective clients are a Ubuntu 9.04 desktop and an XP pro laptop. Both computers do mount the 321 as an SMB server.

Q1: When in the 321's Network Access Settings under Type: NFS, what should be under "Host"? 

I use 192.168.0.0/24 as host, it works for me

Should it be the 321's IP address? (Mine is static).  I set it up that way, and the path is:    Volume_1/home/shino  Real path: /mnt/HD_a2/home/shino

Q2: On XP, I downloaded MS' SFU package.  The "map network drives" does "see" the 321 under "NFS Network" under "My Network Places", even the 321's NFS path directories, but when I attempt to map, I get "The network path \\Raid03\mnt\HD_a2\home\shino could not be found." 

Q3: On Ubuntu, I added this line to the /etc/fstab

raid03:/mnt/HD_a2/home/shino /nfs-raid03/home/shino nfs uid=1001,gid=1001 0 0

but when I try a "mount -a", I get this error:
  "mount: wrong fs type, bad option, bad superblock on raid03:/mnt/HD_a2/home/shino, missing codepage or helper program, or other error"

I figure I've got 3 unknowns here (since I haven't run NFS on my network before) so any guidance to any part will be very welcome.

Thanks,
-rei



Logged

r!ng0

  • Level 2 Member
  • **
  • Posts: 32
Re: DNS-321 FW 1.0.3 NFS Setup
« Reply #2 on: November 03, 2009, 06:52:13 PM »

I have this set up.
NAS:
nfs host is set up as 192.168.0.0/24 (assuming your network is 192.168.0.0/255.255.255.0)
path: Volume_1/some/folder
Real path: /mnt/HD_a2/some/folder

Linux machine (mine is suse):
/etc/fstab:
nashostname:/mnt/HD_a2/some/folder       /mnt/nas        nfs      rsize=8192,wsize=8192,timeo=14,intr 0 0

Logged

shino

  • Level 1 Member
  • *
  • Posts: 3
Re: DNS-321 FW 1.0.3 NFS Setup
« Reply #3 on: November 04, 2009, 05:22:53 AM »

I have this set up.
NAS:
NFS host is set up as 192.168.0.0/24 (assuming your network is 192.168.0.0/255.255.255.0)
path: Volume_1/some/folder
Real path: /mnt/HD_a2/some/folder

Linux machine (mine is suse):
/etc/fstab:
nashostname:/mnt/HD_a2/some/folder       /mnt/nas        nfs      rsize=8192,wsize=8192,timeo=14,intr 0 0



Thanks!  The host subnet was what I was missing!  XX.XX.XX.0/24 got it working so windows XP mounted the drive.

The ubuntu, I'm redfaced.  I didn't have the nfs packages installed!  When I installed them, and used your options, it mounted right up.

Thanks immensely!
Logged

r!ng0

  • Level 2 Member
  • **
  • Posts: 32
Re: DNS-321 FW 1.0.3 NFS Setup
« Reply #4 on: November 04, 2009, 07:22:30 PM »

No problem. Glad I could help =)
Logged