Share your knowledge at the LQ Wiki.
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-06-2008, 10:48 AM   #1
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Rep: Reputation: 30
mount point does not exist

Im trying to mount a remote drive and Im getting the error 'mount point does not exist'

I have added the server name in my hosts file and confirmed the directory exists. Command Im trying is:
mount /// /servername/music/ -o username=JohnDoe

So now Im a bit stuck. I do have samba setup for this same drive and can access via Windows, but not familiar with networking via linux. I have so many ideas but not sure which to try. Should I start reading up on NFS, does that 'music' directory need to be shared, or is there something simple I can be doing?

I eventually want to have this auto mount on boot but lets crawl before we run.
Old 09-06-2008, 11:23 AM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Your command is missing a mount point and the /// part is not correct. For example if you wanted to mount the share on your local /mnt/music then your command should be this.
mount -t cifs /servername/music /mnt/music -o username=JohnDoe

Last edited by stress_junkie; 09-06-2008 at 11:25 AM.
Old 09-06-2008, 11:40 AM   #3
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
If that's the mount command you actually tried to use, there are several problem with what you've tried:

1) You have failed to specify the type of file system you're attempting to mount.
2) Your source location syntax in incorrect
3) Your destination location is missing

The error message you received means that there is no directory called servername in the root file system of your Linux system.

Try something like this:

sudo mount -t cifs ///severname/music/ /home/john/Music -o users,defaults,credentials=.credfile

Look at info mount for the options in the cifs or smbfs mount options for a descriptions of the credentials file format and contents. (The smbfs file system type has been depreciated for some time now, and I can't recall if Ubuntu still uses it or it they've moved to the cifs file system type, although I expect that they have.)

Note that the ///servername... is the source file system, and the /home... is the destination location where the source file system is to be connected to the Linux directory tree. That destination should be a directory that exists when the command is executed. If the destination location is not empty, its contents will be hidden until the attached file system is detached from that location. So, in your case, if you have something in your "Music" directory you want to access while you have your SMB directory attached, you should use the mkdir command to create an empty subdirectory of, say, your "Music" directory and then use that empty directory as your mount attach point.

Last edited by PTrenholme; 09-06-2008 at 11:44 AM. Reason: Typos
Old 09-06-2008, 01:05 PM   #4
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Original Poster
Rep: Reputation: 30
got it, thank you everyone

Last edited by ryedunn; 09-06-2008 at 02:38 PM.


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
mount point doesn't exist Carunkumar Fedora 1 10-27-2007 07:41 AM
Can't see cdroom Fedora Core 6 says "mount point does not exist? BootLaptop Linux - Software 2 06-18-2007 04:08 PM
Mount point /mnt/cdrom does not exist. njbrain Linux - General 4 02-13-2007 08:01 PM
mount error: mount point /home/me/x does not exist whil Fedora 3 05-24-2006 11:39 AM
mount point swap does not exist chuchII Linux - Software 6 09-23-2004 01:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:33 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
Open Source Consulting | Domain Registration