D-Link Forums
The Graveyard - Products No Longer Supported => D-Link Storage => DNS-321 => Topic started by: shino 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
-
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
-
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
-
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!
-
No problem. Glad I could help =)