Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

mount_smbfs: mount error: /Volumes/backup: File exists

Dear All,

I have a small problem to mount a remote folder which is already mounted on another foler.

I have two folders:
/Volumes/data
/Volumes/backup

With cmd+k , the remote folder is mount on /Volumes/data

Then I have a script which run rsync and it mount the same remote folder on /Volumes/backup

FIEST CASE:
When I DO NOT mount the remote folder with cmd+k, the script run well, and the remote folder is perfectly mounted on /Volumes/backup.

SECOND CASE:
But, when I previuosly mount the remote folder wiht cmd+K on /Volumes/data, and then I lunch ma script, it returns that error message (while backup folder is empty)

mount_smbfs: mount error: /Volumes/backup: File exists

Here is my mount command:
mount_smbfs -d 777 "//$DOMAIN;$USERNAME@files$NO.domain.ch$REMOTE_FOLDER/" "$LOCAL MOUNTFOLDER/"

My Question is, how can I mount twice the same remote folder on different local folder, without a such error message?

Many thank for your help

iMac - MacBook Pro - MacPro, Mac OS X (10.6.6)

Posted on Feb 17, 2011 11:20 AM

Reply
2 replies

Mar 24, 2013 3:37 PM in response to pierrot10

I think the mount_smbfs command is depricated or something. I read in a manpage or maybe online that you should use mount instead. This is the syntax I'm using to mount smb shares:


mount -t smbfs //user:password@server/sharename /local/mount/point

I havent tried it to mount to two different places simultaneously yet, which it sounds like you might be trying to do. I know your question is pretty old, I'm curious to see if/how you've got it sorted.

mount_smbfs: mount error: /Volumes/backup: File exists

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.