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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-16-2009, 12:05 PM
|
#1
|
|
Member
Registered: Oct 2008
Posts: 45
Rep:
|
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 12:14 PM.
|
|
|
|
01-16-2009, 12:30 PM
|
#2
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,805
|
Quote:
Originally Posted by jedilost1
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.
|
|
|
|
01-16-2009, 12:52 PM
|
#3
|
|
Member
Registered: Oct 2008
Posts: 45
Original Poster
Rep:
|
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.
|
|
|
|
01-16-2009, 01:03 PM
|
#4
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,805
|
Quote:
Originally Posted by jedilost1
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"
|
|
|
|
01-16-2009, 01:06 PM
|
#5
|
|
Member
Registered: Oct 2008
Posts: 45
Original Poster
Rep:
|
suse linux doesn't seem to have the smbmount command available.
i'm going to research the smbclient command, thanks for the help guys. 
|
|
|
|
01-16-2009, 01:47 PM
|
#6
|
|
Member
Registered: Oct 2008
Posts: 45
Original Poster
Rep:
|
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?
|
|
|
|
01-16-2009, 01:54 PM
|
#7
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,805
|
Quote:
Originally Posted by jedilost1
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.
|
|
|
|
01-16-2009, 03:24 PM
|
#8
|
|
Member
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488
Rep:
|
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.
|
|
|
|
01-16-2009, 04:52 PM
|
#9
|
|
Moderator
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 10,349
|
Hi,
Look at ' SMB-HOWTO'.
This link and others are available from ' Slackware-Links'. More than just SlackwareŽ links!
|
|
|
|
01-30-2009, 03:08 PM
|
#10
|
|
Member
Registered: Oct 2008
Posts: 45
Original Poster
Rep:
|
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 
|
|
|
|
01-30-2009, 05:28 PM
|
#11
|
|
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,671
|
Quote:
Originally Posted by jedilost1
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:03 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|