Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-25-2011, 08:08 PM   #1
Registered: Dec 2003
Location: Boston, MA
Distribution: Redhat / Debian
Posts: 269

Rep: Reputation: 30
Mounting a remote NAS drive

Hi folks,

I realize this is about as newbie as it gets. I have a webserver, and they have a remote NAS service that I just subscribed to. They gave me an SMB path of \\share, along with a login/pw.

What's the right way to go about mounting that permanently, so that I can back my files up to it? The webserver is a seriously busy website so I'm a bit gunshy about mucking around with settings on it.

Any insight would really be appreciated. Thanks!
Old 09-26-2011, 12:59 PM   #2
Registered: Apr 2006
Location: Silver Spring, MD
Distribution: Debian
Posts: 40

Rep: Reputation: 8
Well, nothing is newbie if you've not done it before. If you want to mount from the command line, you can use the following options:

mount -t cifs //Hostname/Username -o username=username,password=password /local/mountpoint

smbmount //Hostname/Username /local/mountpoint -o lfs,username=username,password=password
However, if you are looking to mount from the fstab, you'll want to do this:

hosthame_or_ip:/mnt/pth/folder /mnt/location/folder smbfs username=uname,password=passwd 0 0
That should do it. However, when I'm doing NAS mounts via the fstab, I mount via NFS and use host exports for authentication, no password or username required. Point is, I'm freehanding the last quoted entry, so YMMV and it might require some tweaks.



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
[SOLVED] Mounting a remote drive in /etc/fstab suhaib Linux - Server 2 10-26-2010 05:55 AM
Problems mounting Netgear NAS drive with CIFS, NFS. Cenobite Linux - Networking 1 07-07-2010 01:52 AM
Mounting a remote dvd drive Sapper1729 Linux - Networking 1 01-17-2007 11:19 AM
Mounting a Remote Windows Drive vandeja4 Linux - Networking 1 10-25-2006 12:58 PM
Remote Mounting a CD-RW Drive using SMBFS rossmac Debian 2 05-31-2005 11:15 AM > Forums > Linux Forums > Linux - Newbie

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

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