[SOLVED] Mounting a (wired) network attached storage
Linux - NewbieThis 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!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have an Ubuntu 12.04 server set up and I want to create a mount point for the Corza NAS in fstab. Being a newbie I am having trouble finding the correct path to the device (on my network at 192.168.0.12). I tried \\192.168.0.12\root also \mnt\md1 and a couple others. I tried creating a credential file and mount-cifs, but still no luck.
I need to figure out the path to use to mount this NAS. I've tried the two above, including /public at the end, I've tried several variations (changing the ip to the device name, etc.) of 'mount -t ext3 //192.168.0.12:/NAS-2TB/public /mnt/nas2tb -o username=xxxxxx,passwordxxxx' and get the message: mount: special device 192.168.0.12:/NAS-2TB/public does not exist also /home/tom# 'mount -t cifs //192.168.0.12/public /mnt/nas2tb' got prompted for a password and received this: mount error(13): Permission denied. I am using the correct username/password combo, or at least the one I use to access the drive with Windows and to access the admin screens.
I am trying to get it to mount before I edit fstab, and I am at a loss. Any help or suggestions are greatly appreciated. I am setting this up as a backup device.
You must be root to mount a filesystem that does not have an entry in fstab. Since root is not enabled by default in Ubuntu you must use sudo. i.e.
sudo mount -t cifs //192.168.0.12/public /mnt/nas2tb ( I assume that public is the correct directory )
Now enter you Ubuntu password, then the NAS username,password at the next prompt. Make sure that the /mnt/nas2tb directory exists. You can also use Nautilus to access the NAS by selecting on network on the left side.
Thanks for the reply, I tried your suggestion and it works. I also found that changing the admin user to the same name and password as the Ubuntu server helped. Not sure if that is required but using different users didn't. The NAS is an old one, so it may be a factor.I'll mark this as resolved