LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-28-2009, 09:21 AM   #1
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Rep: Reputation: 174Reputation: 174
Question 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...........
 
Old 06-29-2009, 08:08 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
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.

Last edited by stress_junkie; 06-29-2009 at 08:24 AM.
 
Old 06-29-2009, 11:34 AM   #3
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Original Poster
Rep: Reputation: 174Reputation: 174
I'll give it a shot when I get home...........Thanks
 
Old 06-29-2009, 12:22 PM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
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.
 
Old 07-04-2009, 08:45 PM   #5
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Original Poster
Rep: Reputation: 174Reputation: 174
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..................

Last edited by SqdnGuns; 07-04-2009 at 09:54 PM.
 
  


Reply

Tags
cifs



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I get access to my NAS file system using OPENSuse ottsm Linux - Newbie 1 09-01-2008 10:11 PM
New to Linux, how to access my NAS system on my network ottsm Linux - Networking 4 09-01-2008 07:53 PM
How to access a NAS from the command line? xpucto Linux - Server 7 10-10-2007 08:00 AM
NAS(network access server)in linux ye_adam Linux - Networking 3 01-14-2006 02:51 AM
Empty DELL 705N NAS... woppa30 Linux - Networking 0 11-19-2003 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration