LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mounting a NAS device in linux (https://www.linuxquestions.org/questions/linux-newbie-8/mounting-a-nas-device-in-linux-697740/)

jedilost1 01-16-2009 12:05 PM

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.

TB0ne 01-16-2009 12:30 PM

Quote:

Originally Posted by jedilost1 (Post 3411094)
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.

jedilost1 01-16-2009 12:52 PM

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.

TB0ne 01-16-2009 01:03 PM

Quote:

Originally Posted by jedilost1 (Post 3411155)
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"

jedilost1 01-16-2009 01:06 PM

suse linux doesn't seem to have the smbmount command available.
i'm going to research the smbclient command, thanks for the help guys. :)

jedilost1 01-16-2009 01:47 PM

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?

TB0ne 01-16-2009 01:54 PM

Quote:

Originally Posted by jedilost1 (Post 3411219)
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.

pentode 01-16-2009 03:24 PM

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.

onebuck 01-16-2009 04:52 PM

Hi,

Look at 'SMB-HOWTO'.

This link and others are available from 'Slackware-Links'. More than just SlackwareŽ links!

jedilost1 01-30-2009 03:08 PM

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 :)

salasi 01-30-2009 05:28 PM

Quote:

Originally Posted by jedilost1 (Post 3411171)
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.


All times are GMT -5. The time now is 11:03 AM.