Network volumes with the same name

Hi everybody.
I recently got a Mac at the office. Yay! But I have an issue with network volumes. There are several machines I need to connect to using smb/cifs. Two of our development servers (Linux servers using smb/cifs) are configured to share each user's home directory. Naturally, my user name on both machines is the same, and therefore so is the name of the smb share. Unfortunately, MacOS X uses the share name as the volume name when it connects. This means I have two volumes with the same name, so I can't make any aliases or have any quick access to them. That's because aliases resolve to the first of them which was mounted, regardless of which of them they were made to originally.
Other people in the office use Windows to access the shares, which poses no problem because in Windows you either give the full path of the share (including host name, which makes the paths distinct), or map a distinct drive to the share. I also mount them from my Linux, but on Linux you explicitly give the mount point, and thus make it distinct.
Any way to make the volumes distinct on the Mac? Otherwise to make aliases resolve correctly in such a setup?

there are several ways you can deal with this. first, you can use command line mount_smbfs command. it does let you specify a mount point. you can easily automate the process of creating a mount point and mounting the share using automator so you don't have to do it by hand every time. and you can also add the automator workflow to mount the shares to your login items. then it will happen automatically on every login. lastly, you can use autofs or add entries to /etc/fstab to automount the smb shares on startup. both methods let you specify mount points too. see this link for details
http://rajeev.name/2007/11/23/autofs-goodness-in-apples-leopard-105-part-ii/

Similar Messages

  • Multiple volumes with the same name

    If I look at my /Volumes folder using Finder>Go>Go to Folder.. I see seven different volumes all starting with the same name:
    MyName
    MyName 1
    MyName-1
    MyName-2
    MyName-3
    MyName-4
    MyName-5
    (as well as my external drive and iMac HD)
    MyName has a folder icon, and contains 1 folder called Backup which then has my 1Password.keychain in 7 different versions.
    MyName 1 and MyName-1 are aliases and have icons for shared volumes. The only differences I can see are that in "MyName 1", the folders for Backup, Groups and Library are all displayed as aliases, whereas in "MyName-1" they are displayed as standard folders.
    MyName-2 through MyName-5 all have folder icons and are empty.
    I can understand that I could have a local and remote copy of my iDisk, hence the "MyName 1" and "MyName-1" volumes, but why all the others?
    Should I delete any of MyName-2 through -5?
    Is any of this slowing down iDisk syncing or searching?
    Thanks in advance

    I have the same problem
    an external firewire drive "232 GB" is gaining an extra, sequentially numbered, mountpoint in /Volumes/ each time it is unplugged and re-plugged.
    This is a bit of a pain as Xtorrent is downloading to a folder on this drive and so, whenever it is unplugged, I have to either;
    restart all the downloads or,
    before launching xtorrent, go into /volumes/ and delete the last mountpoint (so the system automatically adds the one Xtorrent is expecting)
    just noticed you're in Sheffield too, maybe it's a local problem....
    no idea what's causing it

  • How do I move databases to a new volume with the same name?

    When I first set up Snow Leopard Server, I chose a different volume to keep the databases such as mail, iCal, etc., during the setup program.
    I'm running out of space on that volume, so I installed a new hard drive with the same volume name and copied all the files over to it, but when I restarted the server I started getting error messages and no one could send mail. I'm assuming it's a permissions thing.
    So I do I move everything to a new volume?

    - I logged out as Administrator, and logged back in as Root.
    - Disconnected the services in Server Admin.
    - Copied the ServiceData folder from old volume "Storage" to new volume "Storage".
    - Unmounted old volume "Storage".
    - Restarted all services.
    Dec 5 12:58:49 companyname dovecot[65]: IMAP(*): stat(/Volumes/Storage/ServiceData/Mail/17D8D54B-0529-4BD6-8467-757C3EA7C75B/tmp ) failed: Permission denied (euid=1025(username) egid=20(staff) UNIX perms seem ok, ACL problem?)
    Mail, Web, iChat and Address Book servers do not work.
    What do I do now?

  • Can I have a network user with the same name as a local user?!

    I have just set up Mac OS X 10.8 SErver with Open Directory.  I have about 20 machines that I will be setting up, some which have mainly been used localy and just used to tap into Shared Files, [historically], but am wanting to use network users for better backup and support.
    However some of the legacy accounts were not used on off the server...  What I have is the following :-
    a)    [Person A]  - They are a network user with Password [Password A]
    b)    The computer is [Person A], they have a Password [Password Old] (so it is different)
    I have Network Account Users turned on, with a green dot! (have domain all set up)
    However How do I connect using either a or b.  depending on what i feel like that day!
    ? Help any ideas.
    Ultimately I will have set up all my client machines with a client admin user and standard password... but I am not there yet!

    Moving from local (legacy) users to network users takes a one-time hassle of moving the contents of their local home folder contents up to the server. Using a finder copy never worked for me. What I finally found worked reliably was using rsync to copy the entire users local folder up to the server. Once on the server, move the files into place (if you didn't rsync them there directly. Finally, Chown all the files (on the server) to associate them with the correct userID on the server. If everything looks right on the server, you can test by trying to login as this user from another local Mac (but now as a network account), and hopefully their home folder looks like they expected.
    Note you will need admin access in the local machine and the server to rsync their home folder. You don't want to be logged into their account while trying to copy their files up to the server.
    If rsync is not your bag, a portable hard disk and/or disk image of their home folder is another way to move their stuff.
    Once you've verified that their network account got to the server ok, then REMOVE the local account.

  • Connect to one wireless network when multiple networks with the same name

    Hi all,
    I'm at a location where there are two networks with the name (e.g.) "wireless". One uses WEP and one uses WPA. The WEP network is weaker than the WPA network, so my Mac tries to connect to the WPA network, even though I have manually setup the wireless network with WEP security (after trying to connect it asks for a WPA password). Is there a way that I can connect to a wireless network by MAC Address, or some way for me to tell the Macbook to ignore the WPA network? The problem is that the SSID is the same, it seems.
    Thanks,
    Nate

    The person (the landlord) isn't tech-savvy at all.
    That is clearly obvious as
    1. They would not be using WEP
    2. They would setup a different SSID
    WEP is not secure and can be cracked in minutes using tools readily available on the internet. If a hacker gain access to that network they could run other tools and hijack the dns and then you could be visiting sites on your mac that are completely bogus but look real.
    Also it is common trick that hackers use is to setup an access point nearby with the sane SSID to capture details from users that join their network thinking they have joined their own network. Again the hacker can hijack the dns and monitor all your browsing and capture details.
    The fact that someone has setup an SSID nearby with the same name would make me very suspicious.
    I would treat your landlord's network as an untrusted network same as when your using a public wifi like coffebucks.

  • How to create reports servers with the same name in two nodes in Reports

    Greetings
    We are migrating Oracle Application Server 10g (9.0.4) to a better hardware infrastructure with high availability. We want to provide 2 new Oracle Application Server 10g (9.0.4) in High availability and we want to avoid modify the existing forms and reports code, but the code is looking for a specific reports server name when calling reports, but I couldn't create the same reports server name in the both oas machines, I could create the reports server in only one node. I want to create a reports server with the same name in both nodes but it is not possible. I know that there is a procedure to do that in 10.1,2 (Note 437228.1, How to Create Two Reports Servers With the Same Name in the Same Subnet) but I couldn't find the equivalent procedure in 9.0.4.
    Anybody kwows how to create a reports server with the same name in two nodes using 10g (9.0.4)
    Thanks
    Ramiro Ortiz.

    Hello.
    I applied the patch 4092150 on my oas 9.0.4.2 and I modified my rwnetwork.conf file changing the port to 14022 by following the note "How to Create Two Reports Servers With the Same Name in the Same Subnet? [ID 437228.1]" but I am facing the same error rep-56040 "server already exists in the network".
    When I run osfind command I get the following information (My reports server is senarep and I want to create it on SNMMBOGOAS10):
    osfind: Found 2 agents at port 14000
    HOST: SNMVBOGOAS10.sena.red
    HOST: SNMVBOGOAS09.sena.red
    osfind: There are no OADs running on in your domain.
    osfind: There are no Object Implementations registered with OADs.
    osfind: Following are the list of Implementations started manually.
    HOST: SNMVBOGOAS10.sena.red
    REPOSITORY ID: IDL:oracle/reports/server/EngineComm:1.0
    OBJECT NAME: senarep2
    REPOSITORY ID: IDL:oracle/reports/server/ServerClass:1.0
    OBJECT NAME: senarep2
    HOST: SNMVBOGOAS09.sena.red
    REPOSITORY ID: IDL:oracle/reports/server/EngineComm:1.0
    OBJECT NAME: senarep
    REPOSITORY ID: IDL:oracle/reports/server/ServerClass:1.0
    OBJECT NAME: senarep
    Any Ideas?

  • Sharing two folders with the same name

    Hi all.
    I have two folders with the same name and I would like to be able to share these under different share names. Problem is, this doesn't seem to be possible.
    For instance, try doing this in File Sharing under Server Preferences:
    * Click +, add /Data/Media
    * Edit permissions on "Media" to permit guest access
    * Click +, add /Volumes/Drobo/Media
    * Edit permissions on "Media" (make sure you click the right one!) to permit guess access.
    This appears on the surface to work, but what it has actually done is to delete the share for /Data/Media. If you exit the File Sharing pane and go back into it again, it will be gone.
    Server Admin has the ability to rename a share's name from AFP,SMB,FTP,etc. but this doesn't appear to help either -- I tried adding the second media first, renaming its shared name to Media2 over in Server Admin, and then adding the first. Server Preferences just deletes the second one.
    Such a basic thing as being able to rename the share from Server Preferences would appear to be enough to get around this, but since Apple didn't make it possible, I have no idea how to proceed.
    Does anyone else have this working, and how did you do it?

    The best way to solve this, would be make sure you use database paraneter GLOBAL_NAME, to change your database from lets say orcl1 to orcl1.mycorpdomain.com, by this you can make sure each database actualy has a different name. Your other database then could be named orcl1.example.com.
    When chaning the display name in EM you might face other issues later on when for instance trying to run a restore using EM for one of these databases.
    Regards
    Rob
    http://oemgc.wordpress.com

  • Mounting Remote Shares with the Same Name

    I am accessing shares on remote servers and can mount volumes with no problems initially, using command+k and setting the Server Address to smb://ServerNameOrIP/SharePoint. This mounts a volume with the name of the share point. The problem I've run into is at work I need to mount 2 volumes on 2 different servers with the same share point name. These are shared servers, and for unrelated reasons the folder names on either server can not be changed. This doesn't work well for me. It creates the first volume with the name "Share" and a second one that in finder appears to be called "Share" as well, but if I use "Get Info" or in Terminal run ls /Volumes I can see that it actually gets mounted as "Share-1".
    Is it possible to change the name of one (or both) of these mounts? Mostly so I can see which one I'm on when browsing though Finder. I changed some settings in Finder so that the title bar allows me to see whether I'm on "Share" or "Share-1" but that doesn't actually tell me what server I'm on. Any ideas?

    I just discovered this after trying frivolously to get 2 shares of the same name from 2 different NAS drives to auto mount ....
    limitation with autofs or something ? it should really be painless, as it is in windows. but it seems on the mac side, OS X won't allow shares with the same name to auto mount ....

  • Are drives with the same name differentiated?

    I'm running OSX 10.6.8 and three external drives on which data is stored (a main drive, A-Data, and two backups). A friend may decide to help me with a project and to do so will have to have the same setup. Naming the drives on the second system is of some concern to me, so I did some research.
    The fellow at http://www.cnet.com/au/news/drives-in-os-x-appearing-with-1-appended-to-their-na mes/ states:
    If by chance you mount two drives of the same name, because the system can't create two mount points with the same name it appends sequential numbers to new mount points as they are created, and therefore you will see the numbered drive names in the Finder.
    Unless I misunderstand what he is talking about, I found that I can have two drives with the same name. I can have two drives named A-Data on my desktop. And therein lies my problem (maybe). The project involves Premiere and several of it's sister programs, all of which require external files (video, audio, stills) to be linked, not stored within the working file.
    QUES 1
    Are disks with the same name distinguishable by OSX or software?
    QUES 2
    Assume that
    I am working on a project which is saved on A-Data (and all the project links are to files on that particular A-Data)
    I then connect another disk with the same name (and with the same folder structure), and backup my files to it.
    I then eject the first A-Data and open the project on the second A-Data.
    Will the software say that it can't find the linked files (because they are on the ejected disk), or will the project open as normal?

    Avoid having the same names if at all possible, especially if you use apps that 'link' to the media via the file path.
    The file path is set by the order in which the disks mount, which can change across reboots.
    To see what is going on by using Disk Utility…
    Select the first volume, look at the mount point (a blue link at the bottom of the Window) …
    /Volumes/A-Data
    Now connect the second volume & select it, look at the mount point…
    /Volumes/A-Data 1
    Now reboot, power off the first disk, leave the second one on & power disk one back on when the OS has competed booting. They will show the same paths, but each disk is now the 'other' disk - this makes a big mess for Apps like Premiere.
    The only way to make this work is to clone every file to be identical on both disks, and never use Premiere (or any app that links to media) when both disks are connected. Otherwise you risk linking to media files on 'A-Data' and 'A-Data 1'.
    Premiere must have tools for sharing projects - look at them before using disk names in this way.
    You could however clone 'disk 1' to 'disk 2' & then rename it on the second Mac (to make them identical to fix the paths for Premiere), just avoid bringing them to one Mac with the same disk names. It does make more headaches in future though, because your friend will add new media that you need to migrate back to your disk.

  • Multiple lovs with the same name on the same module/form

    I've noticed that in this case in a generated fmb LOVs get renamed so that first remains with the same name, next one gets 1 at the end, next one 2 and so on.
    What I haven't found yet is the rule by which they are sorted, i.e. which one gets 1, which one 2, which one remains with the same name...
    I've tried with the usage sequence of the LOVs but that seems to have no influence.
    Anyone has any clues?

    I have the same problem
    an external firewire drive "232 GB" is gaining an extra, sequentially numbered, mountpoint in /Volumes/ each time it is unplugged and re-plugged.
    This is a bit of a pain as Xtorrent is downloading to a folder on this drive and so, whenever it is unplugged, I have to either;
    restart all the downloads or,
    before launching xtorrent, go into /volumes/ and delete the last mountpoint (so the system automatically adds the one Xtorrent is expecting)
    just noticed you're in Sheffield too, maybe it's a local problem....
    no idea what's causing it

  • HT5767 My mail all of a sudden would not allow me to delete messages in my inbox saying, "couldn't be copied to "Messages" because an item with the same name already exists." Found it duplicates the message I wanted deleted in trash.

    Still  using the @mac.com   mail  address and up   to date on everything, but have not gone to Maverick.  All of a sudden Mail wouldn't let me delete.  Said that title of email was already in trash.  And sure enough it was.  Clicking on the help button on the message gets Nothing.
    The selected topic is currently unavailable.
    The topic you were trying to view could not be found.
    "couldn’t be copied to “Messages” because an item with the same name already exists."
    Any ideas.  My mail is not tied to gmail etc.. just all by it's lonesome.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I notice that in the new update to Firefox if I have two bookmark folders with the same name Firefox will end up deleting one of them.

    Both of these problems with the bookmarks started occurring after I installed the latest update to Firefox.
    I frequently have bookmark folders of the same name under the older version of Firefox and it has never been a problem before. It is now, and I notice that after I've created two folders with the same name Firefox will end up deleting one of the folders, almost always the older of the two folders (the one created first, chronologically).
    I have also noticed that with the new update Firefox will occasionally fail to open all bookmarks in Tabs if I've asked it to do so. I can simply close Firefox and reopen the program and it will work again, but I don't know why this bug is occuring in the first place.

    You are using two IP address ranges.. which results in the printer being cut off from the other network..
    Why do you have two networks?? It is always better in home situations to run one network.
    If you have work setup with an enterprise level router you can setup routes between the two networks.. this is not possible on domestic level apple routers.

  • How do I allow network volumes with the latest iMovie 10.0?

    How do I allow network volumes with the latest iMovie 10.0? The old "defaults write -app iMovie allowNV -bool true" doesn't work anymore.

    So, apparently, while iMovie is open, I have to EJECT the Net Drive.  When I remount it, iMovie immediately picks it up.
    That said... the update leaves much to be desired.  Many of the Projects have unlinked video (even though the same update using a Firewire HD shows the video linked).
    Message was edited by: BradNet

  • 2 Users with the same name/shortname on the same machine

    Hello,
    What will happen if:
    There is a local user called Bob and a network user on a server called Bob? Before you even post anything, please let me know if you have actually SEEN this before. I know something will happen, I just don't know what. Again, 2 different users with the same name. YES it is possible to create, but I have not tested it yet. One home is on the local machine and the other is a network home directory. I didn't post this in the server section for this reason...the question is about a client machine running 10.5.4 not server, so it belongs here! Thanks to all who help and my guess is a dialog box pops up with a choice of network or local? Not sure, but it is going to be quite an interesting topic.

    Thank you both. It seems I need to test this because it doesn't seem anyone has ever run into this situation. The first thing I need to ask is will it do any damage to the system files if a user logs in with the same resolving name?I know I know the UIDs are different, but maybe have the same shortname? Not sure if it will work. The network users authenticate via LDAP and the server is set to an Open Directory Master. Now as for the client machine:
    #1 - If I create both test users (local and network), will I be able to set the network as a Mobile Home Directory even though there is an existing home folder for the local user?
    #2 - I want one specific user to have the same login name and password, but a different login "reaction" when the user logs in depending on the location. For example, I have a current network user Bob, password 1234 who is logged in and connected to the server. He finishes working on his project at the office and then goes home for the day. When he gets home, I want his to be able to login with the user name Bob, connecting to the local account on his machine. I DO NOT want to user PHDs, but rather have two separate home folders for the same resolving login user name! I know it is a lot to ask for but, here is my next question...
    #3 - If I create two different home folders for the same resolving name, but they are accessed in two different locations, one with a server LDAP authentication and one locally (127.0.0.1), will it work?
    I really appreciate the replies, but I am looking for more of straight forward answers rather than an example and background information. Thank you.

  • Use two VIs with the same name, different functionality on a single Project

    Hi, I'm working with vision builder al labview, I need to integrate the vision builder migration Vis into my main program, (Is not an option), but I have multiple Vis autogenerated with the same name, how can i integrate them in the same project without dependency problems
    Thanks in advance

    Hi,
    Unless you really need tight integration between the Vision code and the rest of your LabVIEW application, or would rather not have to pay for a Vision Builder AI runtime license on the targets on which you want to deploy your final application, I would recommend you look into using the Vision Builder AI LabVIEW API instead of migrating the inspection to LabVIEW.
    The API allows to control Vision Builder AI by launching a Vision Builder AI engine, running the inspection and retrieving resulting images and results.
    The advantage of the API is that it allows for easier modification and debugging of the Vision Inspection that you designed in Vision Builder, if you need to make changes later. (i.e. all you need to do is open the inspection in Vision Builder AI, modify parameters, add steps etc).
    You won't have to change your LabVIEW application, unless you want to output additional results.
    When you build and deploy your application, you will need to install Vision Builder AI on the target machine and get a runtime license for it.
    Migrating the inspection to LabVIEW is a one way deal. If you need to make changes to the inspection, you will have to migrate the inspection again, or modify the code outside of the Vision Builder AI environment.
    As you might have noticed, the code generated is quite complex, and it is recommended to go this route only if you need really tight integration/synchronization between the vision code and the rest or your LabVIEW code, or if you would rather pay for a cheaper Vision runtime license rather than a VBAI runtime license for the deployment machine (in case of deploying multiple systems where cost is a big consideration).
    Vision Builder AI API examples are located in this folder:
    C:\Program Files (x86)\National Instruments\Vision Builder AI\API Examples\LabVIEW Examples
    Hope this helps clarify the use cases and help you make the right decision for your design.
    Best regards,
    Christophe

Maybe you are looking for