LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-16-2009, 01:05 PM   #1
jedilost1
Member
 
Registered: Oct 2008
Posts: 45

Rep: Reputation: 15
mounting a NAS device in linux


OS: Opensuse 10.3
NAS Device: Linksys 500gb Raid NAS

I would like to know how i would mount a NAS device in my suse server, i need this badly as i plan on using this NAS to collect all of my backups at the end of the day.
I can't seem to find the correct way to mount this network drive.
Does anyone know of a command that can help me accomplish this.

Last edited by jedilost1; 01-16-2009 at 01:14 PM.
 
Old 01-16-2009, 01:30 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,996

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
Quote:
Originally Posted by jedilost1 View Post
OS: Opensuse 10.3
NAS Device: Linksys 500gb Raid NAS

I would like to know how i would mount a NAS device in my suse server, i need this badly as i plan on using this NAS to collect all of my backups at the end of the day. I can't seem to find the correct way to mount this network drive. Does anyone know of a command that can help me accomplish this.
Yes...have you read the user guide for that device?? You don't say the model number, but I'm assuming it's the NAS 200. It can be access either via web access, or by using it as a Windows drive. Look at the smbmount or smbclient commands.
 
Old 01-16-2009, 01:52 PM   #3
jedilost1
Member
 
Registered: Oct 2008
Posts: 45

Original Poster
Rep: Reputation: 15
do you know of a command that will allow me to be able to transfer from the linux machine to the NAS device?
I am not too familiar with the smbclient and smbmount commands, didn't smbmount get replaced with the mount.cifs command? Also, if i type in smbclient -L (ip address) it shows me all the shares.
So i can view them but i can't seem to interact with them.
 
Old 01-16-2009, 02:03 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,996

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
Quote:
Originally Posted by jedilost1 View Post
do you know of a command that will allow me to be able to transfer from the linux machine to the NAS device?
I am not too familiar with the smbclient and smbmount commands, didn't smbmount get replaced with the mount.cifs command? Also, if i type in smbclient -L (ip address) it shows me all the shares.
So i can view them but i can't seem to interact with them.
Type in "man smbclient" or "man smbmount". Look at the options.

If you've got the drive mounted, you just need to copy files. "man cp"
 
Old 01-16-2009, 02:06 PM   #5
jedilost1
Member
 
Registered: Oct 2008
Posts: 45

Original Poster
Rep: Reputation: 15
suse linux doesn't seem to have the smbmount command available.
i'm going to research the smbclient command, thanks for the help guys.
 
Old 01-16-2009, 02:47 PM   #6
jedilost1
Member
 
Registered: Oct 2008
Posts: 45

Original Poster
Rep: Reputation: 15
still no luck guys..
but i have found out that the OS that linksys built this NAS on is a UNIX one.
So it looks like i'm trying to transfer from linux to unix..
Do alot of people have this problem mounting NAS devices to their linux servers?
 
Old 01-16-2009, 02:54 PM   #7
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,996

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
Quote:
Originally Posted by jedilost1 View Post
still no luck guys..
but i have found out that the OS that linksys built this NAS on is a UNIX one.
So it looks like i'm trying to transfer from linux to unix..
Do alot of people have this problem mounting NAS devices to their linux servers?
No, not a bit. You can install smbclient tools via the OpenSuSE repositories, if you don't have it. And while it may have a Linux kernel, that doesn't mean it's a full-blown Linux OS, with all the features.

Read your hardware documentation. Find out what protocols are supported. Look at the smbclient/smbmount commands (install them if you don't have them), or look at the mount command ("man mount"), to see if there are options for mounting a 'Windows' file system on a NAS device. If it supports NFS, the mount command will work for you.
 
Old 01-16-2009, 04:24 PM   #8
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
Generally these NAS drives run some bastardized version of linux with Samba since they are intended to be used with Windows machines. The smbclient software is a linux program that allows the linux box to access samba shares just like a Windows machine does, using SMB protocol.

Your distro must have smbclient available. I'd check that approach first. It's possible that the NAS might support an rsync transfer, but I wouldn't count on it.
 
Old 01-16-2009, 05:52 PM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,401
Blog Entries: 3

Rep: Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483Reputation: 1483
Hi,

Look at 'SMB-HOWTO'.

This link and others are available from 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 01-30-2009, 04:08 PM   #10
jedilost1
Member
 
Registered: Oct 2008
Posts: 45

Original Poster
Rep: Reputation: 15
i just realized that my problem the whole time was that the whole time i was using the samba password when i should've been using the linux root password.
And by default my NAS device has no password.
I figured it out using mount.cifs and i successfully mounted my NAS device.
Thank you for everyone that helped me
 
Old 01-30-2009, 06:28 PM   #11
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,916

Rep: Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777
Quote:
Originally Posted by jedilost1 View Post
suse linux doesn't seem to have the smbmount command available.
i'm going to research the smbclient command, thanks for the help guys.
I know this doesn't help you now (sorry, didn't see the thread earlier), but the situation under SuSE seems to be that you need sambaclient and not smbclient. The only things that I can find under SuSE that are called 'smb*' are the libsmb libraries.
 
  


Reply

Tags
linux, mounting, nas, suse


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Looking for NAS Device gjblackford Linux - Hardware 3 04-10-2008 09:33 AM
LXer: Small Linux-powered NAS device attracts a community LXer Syndicated Linux News 0 12-01-2007 06:50 PM
Which NAS Device? rcbaxter Linux - Hardware 5 07-15-2007 07:53 PM
Raid5 Recovery Help on Embedded-Linux NAS Device phyros Linux - General 1 06-09-2007 10:35 PM
LXer: Device Profile: Hammer MyShare NAS device LXer Syndicated Linux News 0 04-26-2007 02:01 PM


All times are GMT -5. The time now is 11:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration