LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Dell 705n NAS Access (https://www.linuxquestions.org/questions/slackware-14/dell-705n-nas-access-736198/)

SqdnGuns 06-28-2009 09:21 AM

Dell 705n NAS Access
 
Greetings all,

I just acquired a Dell 705n NAS and plan on using it for storing music, movies, etc......

I have set up the networking for UNIX/NFS for my Slackware box as well as M$ Networking for the wife's PC. Now I am having a problem mounting the NFS shares that I have created. I have been searching over and over as to why I get the following error:

Code:

mount.nfs: mount system call failed
This is the command I am using to mount with:

Code:

mount -t nfs SQDNGUNS_NAS:/MUSIC /mnt/nfs/music
or

Code:

mount -t nfs 192.168.15.105:/MUSIC /mnt/nfs/music
I can ping the NAS either by the IP or SQDNGUNS_NAS with no problem. I do not have a firewall running at all.

Output of rpcinfo -p

Code:

$ rpcinfo -p
  program vers proto  port
    100000    2  tcp    111  portmapper
    100000    2  udp    111  portmapper
    100024    1  udp    865  status
    100024    1  tcp    865  status

I have read the NFS MAN pages and other tutorials over and over but it is now obvious that I am overlooking something that is probably quite simple. I am attempting this on my 12.2 box with a custom kernel, 2.6.30

Any ideas where I am failing to make this work properly?

Thanks in advance...........

stress_junkie 06-29-2009 08:08 AM

If you have SMB (Microsoft) file sharing configured on the NAS then why not use that protocol to connect with the Linux box?

Install Samba client and SMB4K on the Linux box. Once you have that working you can disable NFS on the NAS.

These days I use SMB4K to connect to my Iomega NAS. However, before I discovered SMB4K I used the following script run as root to connect to the Iomega NAS.
Code:

#!/bin/bash
mount -t cifs //192.168.27.224/public /mnt/iomega.public -o username=nasuser,password=naspassword,uid=linuxuser,gid=users

mount --bind /mnt/iomega.public/music /home/linuxuser/iomega.music -o uid=linuxuser,gid=users

Naturally the user name and password is different on my system.

SqdnGuns 06-29-2009 11:34 AM

I'll give it a shot when I get home...........Thanks

stress_junkie 06-29-2009 12:22 PM

Notice in my connect script that I connect to the NAS by means of its IP address. In order to ensure that the NAS's IP address remains the same from one day to the next I configured my router to always assign that specific IP address to the MAC address of the NAS. This is because, since I don't have any Windows machines to act as the LAN master browser, I cannot browse the network for NetBIOS names and shares. So I have to use the IP address of the NAS, so the IP address of the NAS must always remain the same.

I could slightly enhance this by adding a record in my Linux boxes' hosts file to map a name to that IP address. I don't do that because I switch Linux distributions on a regular basis and I get tired of reconfiguring tiny details in the Linux system whenever I install a new distribution. :)

SqdnGuns 07-04-2009 08:45 PM

Been a few days, busy with life and a newborn............

I have installed Samba client and SMB4K on Slackware 13 RC1 x86_64 box and all is well now.

Example command I am using to mount it:

Code:

smbmount //192.168.15.105/music /mnt/nas.music
Works like a charm.

Thanks for the assist..................


All times are GMT -5. The time now is 12:55 AM.