LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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

Reply
 
LinkBack Search this Thread
Old 09-06-2008, 09:48 AM   #1
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 458

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, 10:23 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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.
Code:
mount -t cifs /servername/music /mnt/music -o username=JohnDoe

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

Rep: Reputation: 329Reputation: 329Reputation: 329Reputation: 329
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 10:44 AM. Reason: Typos
 
Old 09-06-2008, 12:05 PM   #4
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 458

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

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount point doesn't exist Carunkumar Fedora 1 10-27-2007 06:41 AM
Can't see cdroom Fedora Core 6 says "mount point does not exist? BootLaptop Linux - Software 2 06-18-2007 03:08 PM
Mount point /mnt/cdrom does not exist. njbrain Linux - General 4 02-13-2007 07:01 PM
mount error: mount point /home/me/x does not exist whil Fedora 3 05-24-2006 10:39 AM
mount point swap does not exist chuchII Linux - Software 6 09-23-2004 12:00 PM


All times are GMT -5. The time now is 06:46 AM.

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