Auto-mount network drive?

Hi all,
I have a Mac Pro running Leopard and a 1TB Buffalo Terastation on my home network. I am able to access with the Terastation from the Mac by going though Finder. To do so, I have to click on the name of the TS on the left side of Finder and then click on the "share" folder in the next column. This mounts the network share as /volumes/share.
This is OK but I currently have my iTunes library on the Buffalo TS. However, if my iPod is already docked before I power up the Mac, iTunes can't find its library because the share isn't mounted. I have to manually make Leopard mount the share by the procedure in the above paragraph.
Is there a way I can get the Mac to auto-mount the network share like I can under Windows or Linux? Since MacOS X is Linux based, can I use the Linux method for auto-mount the share by editing a fstab file?
Any info will be appreciated. I've tried searching and have tried a few tips but haven't got it working yet.
Thanks,
Steven

I'm not sure if this solution works or not, to be honest.
I've added my mounted sharepoint to my login items aswell as editing the file you described:
MacProBU:/MacProBU x url net, automounted,url==afp://admin:admin@"AFP on Tolton2TB.afpovertcp.tcp.local/MacProBU" 0 0
MacProBU is the name of the Sharepoint and drive, once it is mounted.
AFP on Tolton2TB.afpovertcp.tcp.local/MacProBU is the location of my sharepoint when I 'Get Info' on my mounted drive.
My Network drive now seems to mount and be ready to use at login, however a Finder window now opens every time, showing my the contents of the Share.
Not too much of a problem, but a bit annoying.
I've read tons of articles about auto-mounting shares, AFP and SMB etc drives
All seem a bit mis-matched with no idea what's going on. And a lot are complaining about the removal of NetInfo in leopard.

Similar Messages

  • Auto Mount Network Drives Broken

    Hello,
    I have an automator script setup which auto mounts my server 2008 network shares on my desktop, now having upgraded to lion it will not let me do this, it also wont alow me to connect manually via the "connect drive" option!
    Can anyone point me in the correct area?
    Also i use a mighty mouse to scroll from one web page tot he next, not with lion this does not seem to be a available any help again?
    Ollie

    Is there any way to add a delay of around 60 seconds before the application tries to mount?
    Have you tried the delay verb from the StandardAdditions suite?

  • Mount network drives

    Hi,
    How can I create a script that will connect to a windows server with a username and password and mount network drives on my desktop, and how do I set this script to automatically run when I login?

    Hey guys. I'm glad I found this post. I'm trying for the same result. I currently work at a school in which every teacher has a computer that connects to the local network by signing in with a username and password. However, my computer has fried and they can't get me a new one until... well... whenever. I've brought my MacBook Pro in and have connected to the internet which is great but I need to access a network (H:) drive in order to update progress reports and report cards.
    I don't know much and the IT guy is impossible to reach and hasn't returned any emails. I just need to connect to that one folder. I was assuming and ftp or and smb would do the trick but I have no idea what server I would need to try and access through the finder, applescript, or terminal. I did an ipconfig on another teachers computer and got a few ip's as well as the folder's location on the network 'server_4\folder' (H:) if that helps. I've tried connected by ftp through the finder to all of the ip's and have gotten an error saying that I can't connect. I have also did a whatsmyip.com search for my root ip address and have tried the same approach. For some reason, it connects by says my username and password were incorrect.
    Well that's about everything. Any help would be greatly appreciated!

  • Auto-mount network volumes upon changing locations

    As I am shifting my Macbook between office and home and with working in office I need to access frequently into a few network locations which I ended up mounting them regularly manually.
    Any solution on that so I can pre-set what volumes to mount upon changing locations?
    Or perhaps auto-mount network volumes upon joining a particular SSID?

    I'm sure there's a way to Script it, but that being beyond my capabilities, here's how I'd do it using Dynamic mounts...
    Make two New Folders on the Desktop, (Office and Home might be good names).
    After Mounting the Volumes at work, drag the Globe Icons to the Office Folder, after mounting the Shares at home, drag them to the Home folder, (you can even rename them once in the folders).
    Drag those two Folders to the Dock between Applications and Trash to have two popup menus for nearly instant connecting.

  • Auto mounting hard drive across a small home network

    Hi,
    How do you setup a Power Mac 6500 running Mac OS 9.1 to automatically mount it's hard drive at startup onto a PowerMac G4 running Mac OSX 10.2.8? I have a small network at home that I'd like to cross-mount hard drives across.
    I can mount the volume just fine manually from either machine. I just don't know the GUI or command on 9.1 to do the mounting automatically at startup.
    Any ideas, or suggestions would be greatly appreciated!
    Ed

    Here's the (partial) answer I was looking for.
    To go from a remote machine --> 6500, do the following:
    1) Open "Chooser".
    2) Select "Apple Share".
    3) Type in the DNS name of the computer you want to mount onto the 6500 in the box labeled "Server IP Address". If TCP/IP isn't active, then type in the numerical IP address.
    4) When prompted, type in the password for your keychain, and then the account name and password on the remote machine that you want to automount.
    5) Then select the drive (share), or shares, you wish to mount.
    6) To automount at startup, check the box "Allow at Startup".
    To get the share on the remote machine to automount at Startup, your keychain must be readable by the AppleShare application at Startup (ie. the "Allow access without warning" box on the keychain should be checked).
    To go in the other direction, ie. 6500 --> Remote machine:
    To automount the 6500's hard drive onto a G4, one needs to do that configuration on the G4, via NetInfo or launchd, depending upon the version of Mac OSX. These get into UNIX networking commands, which is probably outside the main scope of this forum. I'm working on getting the UNIX boxes configured now. If anyone would like to know the commands, just post back here.
    I found out how to use the "Chooser" on Mac OS9.x platforms from p. 68 of the Apple manual "Mac OSX Server: File Services Administration for 10.4 or later".
    The Apple Technical Note 1111 on programmatic mounting of shares under AppleShare is also useful.
    Ed

  • Mounting Network Drive Upon Startup

    Is it possible to mount a network drive upon startup so that my auto backup program can see and backup to it?
    If so, how is this setup?
    Thanks,
    James

    Try doing i manually instead of using sharepoints tool.
    http://www.bombich.com/mactips/automount.html
    Ive always doen it this way and had success wheher wired or wireless... unless ofcourse the network jsut wasnt avaialble.

  • Auto-Mounting Network Shares/Disk Images

    Hi,
    I'd like to share how I solved my problem with auto-mounting a network disk image/folder share to be used as a custom library/location for Aperture 3.xx. I can now either reference the master photos from the network or have it copy to this disk image volume on the network, although it might be better to have it copy to the disk image volume, so one can move it around as a file later. I researched hard over these forums and internet resources and discovered what I thought was the best way to accomplish this. Initially, I found right away that Aperture doesn't allow you to create a library over your network drive or a home server such as mine, unless it is partitioned/formatted to Mac OS. This wasn't acceptable for me as I also run Windows 7 PCs that need to utilize the network folder shares, as well.
    I don't understand why I don't have this problem using iPhoto 2011, and do with Aperture 3.0, which is a far more expensive application. Anyhow, I read a little about NFS, but didn't know how to implement this or if it required the Mac Server and/or a non-built in application, it probably isn't compatible with windows. So, I found that by creating a .DMG disk image file, as a partitioned/formatted Mac OS file in Disk Utility, and saving it to the network folder of my choosing, did the trick.
    Steps I used to accomplish this:
    -Go to Disk Utility and create "New Image"
    -Select format w/ MacOSX Extended(journaled) and choose "single partition/GUID" type (or whatever you want)
    -Enter a custom size of your disk image (ex in 1GB or 1TB). Click "Create"
    * I created this locally 1st and then I copied it over the network, to the network folder/subfolder on my HP Mediasmart Home Server EX495. I found that creating it over the network took too long and would crash Disk Utility.
    -After it's copied to your desired location over the network folder, open Automator.
    -choose "Application" workflow, double-click to add "Get Specified servers". Enter location of your server (ex smb://hpserver/)
    -Then add "Connect to Servers",
    -Then add "Get specified Finder Items". Click Add, and locate your disk image file over the network. (this will automatically add the location path. For ex. smb:/hpserver/photos/aperture_library.dmg)
    -Then add "Mount Disk Image".
    -Then test workflow by clicking on "Run" button on top right of window. If your
    Finder->Preferences->General settings on your Mac is set to show "Connected Servers" on your desktop, your disk image will appear on you desktop.
    -Finally, save this Application workflow as an application by clicking File menu->Save As. Save this to your documents folder area.
    -To have your Mac auto-mount your disk image automatically when you login:
    ->go to System Preferences->Accounts->your "Admin account name"->Login Items
    ->click "+" sign and navigate to the Documents folder, to where the Automator application you saved
    ->click Add. Once done, it will appear on the Login Items area. You can choose to hide it, if you want by clicking the checkbox.
    -Now Restart your Mac, and now your disk image should auto-mount.
    Hope this helps, as it helped me solve the issue. Too bad one must have to program this and it is not native on MacOSX.

    Too many steps. Do this:
    1. Go to Disk Utility and create a disk image with the following properties:
    Format: Mac OS Extended (Journaled)
    Partitions: Hard Disk
    Image Format: Sparse bundle disk image
    2. Copy the image you just created to the share on the network where it should reside.
    3. Open System Preferences, and click on the Accounts icon
    4. Select *your account* and click on the Login Items tab
    5. Drag the icon for the disk image from the network share into the Login Items list
    If a login item is something on a network share, it will reconnect to the share it's located on automatically first.
    If a login item is a disk image, the disk image will be opened and mounted.
    It's important that the image is a journaled one because if it isn't, being disconnected from it while writing would be potentially disastrous.
    It's important that the image is a sparsebundle for two reasons: sparsebundles only take up as much space as they need (e.g., a 1Tb sparsebundle with 100M of data takes up about 100M of space), and they also break the disk down into smaller files. If the underlying filesystem on your network share is FAT32, then no file can go over 4Gb. If you use a sparsebundle, of course, there's no practical limit to how large the disk image can get. Also, it can speed up certain types of backup procedures.
    I suggest using partition type "Hard Disk" instead of "1 partition GUID" because, as a disk image, there's no sense in having a partition table or making it bootable (because you can't boot from the image).

  • Fast User Switching with Mounted Network Drive?

    I have a headless G4 Cube running 10.5.8 with a 2TB firewire drive plugged in for storage accessable to any of my macs here at home. I can access it fine with my 2 desktops over ethernet and wirelessly. Recently we decided to consolidate our 2 desktops into one using the muliple users feature. Seems to work fine, and both accounts can access the shared drive. They are logging in with the cube's admin credentials, and the shared drive is set to ignore permissions. I have the drive set to mount on login with a startup item in the system login items prefs. As long as I logout before switching users, everything is good.
    The problem arises with Fast User Switching which we'd love to be able to use. I can't figure out how to connect to the drive in one account without the 2nd account then seeing it as a volume without proper permissions, then that account creates a new volume mount for it (which doesn't work with iTunes properly and seems to cause other wierd issues).
    Example: So say 'user1' logs in, mounts the drive 'Jukebox'. everything seems OK so far. 'Jukebox' is on the desktop and iTunes finds the music. Now I fast user switch to 'user2' and there is a 'Jukebox' on the desktop with the red minus icon indicating I don't have permissions to access it. If I then browse the network and mount the drive, I end up with ANOTHER 'Jukebox' on the desktop. BUT iTunes doesn't see it properly. If I look in the /Volumes/ folder with the Terminal, I see a mountpoint for 'Jukebox' (with the owner of 'user1' group 'staff') and now a new mountpoint called 'Jukebox-1' (with the owner of 'user2' group 'staff').
    It seems when you mount a AFP drive, it creates the Volume with the current user and staff group, but switching to another user then can't access that when it sees it in the /Volumes folder. You try to mount again and it creates a NEW mountpoint, names it with a '-1' at the end and you can use that (but iTunes cant).
    So... how does one use a shared drive that you want on BOTH users desktops with Fast User Switching turned on? Is there a way to have the drive mounted BEFORE either user logs in, such that it will be seen as any other local drive (which doesn't have the issue)??
    Or is there some other way I can attach to the network volume in each account on login so both have access to music and videos with full permissions?
    I'm really stumped here after 2 hrs of googling, searching here and trying things.
    TIA

    I've not had any luck with the suggestions in the link either.
    Here's two other approaches I've tried and failed with:
    1. Creating a new share point on the cube itself so that one user can mount it as a different volume. Then the issue is that I still don't have a volume named "Jukebox" available to each user when switching. I DO have access now to the data from both accounts, but under 2 different mount points (volume names) and the xml file for iTunes is hard coded with the path for each mp3 including the "Jukebox" volume name... so no go.
    2. Tried figuring out a way I could script a mounting of the share with the terminal thinking I could then run that shell script at startup. Can't seem to get the sytax right. If I create a directory in /Volumes and mount and afp share to it, it takes on the ownership of root/wheel which I can't access in the finder and can't seem to change.
    BUT I'll keep playing with both these ideas a bit... the first one might be overcome with a bit of logic and the 2nd if I can get the syntax right to mount the share with afp_mount and give it the correct ownership/permissions such that when a user logs in she/he sees the volume on the desktop and has full r/w access to it.
    thanks again. if you offhand know the syntax for that, let me know

  • Mounting Network Drives Without Windows Opening

    I have 3-4 Networked drives that automount for my users when they login, but whenever they login it opens up a window for each of the mounted drives.  Any way to prevent this?  I've tried marking "hide" in system preferences for them in login items, but that made no difference. 

    I am trying to run a computer on which to host installers for a schools network. The computer that i have all the installers on is partitioned into 3 parts: a system partition, a partition for the installer programs, and a partition for filemaker serving. I need to be able to connect to the computer through the network and access the installers. I don't want people logging on to access the home directory of the user account that they are using to connect to the install volume. I would really like to be able to tell it when people log on from another spot on the network to just mount the installer partition nothing else. I am aware that os 10 defaultly mounts just the home directory when you access a name on that computer from another local.
    I hope this is enough information.

  • Mounting network drives in the left pane of the finder...

    in tiger, i was able to mount a network drive and have it show up in the left pane of the finder. now, when i connect to a network drive (clicking "go", "connect to server", and typing the IP address). it opens up a new finder window with the contents of the network drive, however, it doesn't show up in the finder pane...
    also, the "network" icon in the left pane is gone. is there a way to bring this back?

    Does this work for you?! I can't get this to appear, least i have the icon on the desktop now but having it in the finder is what I really want,
    Some very good features in Leopard but they really do seem to have messed around with things unnecessarily, custom firewall changes, network mounts appearing etc etc

  • Problem mounting network drive after upgrading router firmware

    Hi guys,
    It's been a while since I last posted a question of my own here, but I'm at my wits end. As I may have mentioned, I live in France, and my ISP is Free (no, not free, Free...). I've got what they call a "box" here, i.e. a sort of super-modem that will let you connect to the Internet via xDSL (and soon VDSL2), receive hundreds of TV channels, read BluRay discs, store files (videos, music, photos, what have you) on a integrated NAS, place and receive phone calls, whether via a landline (DECT) or, since recently, through a femtocell.
    All in all, the package is impressive and works flawlessly. But...
    (Of course, there had to be a "but)
    ... Yesterday, I let my "box" (it's called a Freebox Revolution, or Freebox V6--for Version 6--by the way) upgrade its firmware, reboot as it always does in such circumstances, and  since that,  the NAS won't mount in the Finder the way it used to under the Shared left pane.
    Now, every time I reboot my Mac, I have to open a browser windows and type "smb://mafreebox.freebox.fr" in order mount the NAS in the Finder. I've saved the credentials (login, no password) in the keychain, hoping it would help, but it doesn't. I've got a PC running Windows 8.1 Preview at the moment, and created a shortcut to the NAS on the Desktop. Guess what? I double-click on the shortcut, and sure enough, I can access the content of the NAS from Windows, but not from the Mac.
    I must add that I haven't changed anything on the Mac since, or before, upgrading the "box" firmware.
    Any ideas?

    OK, you must think I'm going bananas, but my issue is gone... For now...
    Seriously, what do you guys think about this problem with network drives mounting or not, depending on, I don't know, the weather, maybe?

  • Mounting network drive

    Okay, I am posing this request to figure out how to do the following:
    I have a network drive that I want to use to store my itunes library. I need to mount the drive so that my computer sees it when it boots up and can access the files. I also want to avoid having the computer open a finder window at start up. Can anyone please give me a step by step of how to do this? I am new to Macs so more simple steps would be better.

    Once the drive is mounted and it is showing on your desktop open system preferences-->accounts--> your user account
    click the login items tab
    drag n drop the mounted volume onto the login items window.
    If the network volume requires a user name and password then be sure to add this to your keychain then you wont be prompted to enter the password at login.

  • Mounting network drive failing when launched with "crontab"...

    Greetings!
    Here's my problem:
    I have a cron job (domain user) that launch a perl script.
    Somewhere in the script, I mount a network drive like this: "/sbin/mount_smbfs //user:pw@machine/path"
    I get the following error: mount_smbfs: server connection failed: broken pipe.
    -If I ssh to the mac, manually execute the Perl script, no problem, the drive is mounted and I am happy. But it constantly fails if I am not logged in.
    As a workaround, I tried to make my user automatically logged in when the Mac restart. But what do you know? Not working with my (domain) user. But it works fine with any other local users.
    Any ideas?

    Post to the Unix forum under OS X Technologies.

  • [SOLVED] Thunar (XFCE4) Does not Auto-mount USB Drive

    After reading some posts related to USB auto-mounting in Thunar and yet still having the problem, I decided to post this. Thunar used to detect the USB drives and auto-mount them. These days (I GUESS after moving to systemd), It cannot do so. Still, there is the icon of USB drive on the left side panel, but when I click on it to browse it, I get this error:
    Failed to mount "USB_LABLE".
    Error when getting information for file
    '/media/usbhd-sdc1': Transport endpoint is not connected.
    I am still able to use "sudo mount..." and get the job done, but I would prefer the convenient way it used to work. Here are some information about my system:
    command> cat ~/.xinitrc
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    exec startxfce4
    command> loginctl show-session $XDG_SESSION_ID
    Id=1
    Timestamp=Sat, 2012-11-10 20:35:51 CET
    TimestampMonotonic=34276379
    DefaultControlGroup=name=systemd:/user/username/1
    VTNr=7
    Display=:0.0
    Remote=no
    RemoteUser=root
    Service=slim
    Leader=297
    Audit=1
    Type=x11
    Class=user
    Active=yes
    State=active
    KillProcesses=no
    IdleHint=no
    IdleSinceHint=0
    IdleSinceHintMonotonic=0
    command> systemctl status polkit
    polkit.service - Authorization Manager
    Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
    Active: active (running) since ...
    Docs: man:polkit(8)
    Main PID: 305 (polkitd)
    CGroup: name=systemd:/system/polkit.service
    305 /usr/lib/polkit-1/polkitd --no-debug
    command> dmesg
    Attached scsi generic sg1 type 0
    [sdc] 15470592 512-byte logical blocks: (7.92 GB/7.37 GiB)
    [sdc] Write Protect is off
    [sdc] Mode Sense: 23 00 00 00
    [sdc] No Caching mode page present
    [sdc] Assuming drive cache: write through
    [sdc] No Caching mode page present
    [sdc] Assuming drive cache: write through sdc: sdc1
    [sdc] No Caching mode page present
    [sdc] Assuming drive cache: write through
    [sdc] Attached SCSI removable disk
    I'd rather not edit the /etc/fstab; the way Thunar used to behave, was working with every new USB. I wonder if anybody can shed some lights.
    Last edited by Shahab (2012-11-10 21:56:24)

    The error looks suspiciously like one I had not so long ago and it turned out I still had an 11-media-by-label-auto-mount.rule in /etc/udev/rules.d.  Once I removed that and rebooted everything was fine again.

  • All mounted network drives disconnect after sleep

    10.4, airport, powerbook.
    All network (SMB) drives connect fine manually. They also reconnect after after login (modified login items). However, they will not persist after sleep.
    After this powerbook sleeps, ALL network drives are dropped and have to be manually reconnected. Why?
    I've seen this question asked about 20 times out here, but never answered.

    Thanks for the reply, Tim.
    However - this is a serious SMB functionality issue. Just with OS-X. Not even Linux will misbehave like this.
    I have 8 (eight) drives that I need mounted - all over the network. I simply cannot fiddle with manual remounts because they are NFS or SMB drive mounts and OSX freaks out. It takes me about 5 minutes to unmount all the drives, and as long to reconnect them. Which I have to do whenever this little Powerbook sleeps. Your solution of a manual disconnect/reconnect is absurd. Multiply this by the # of Apples we have, and you see what I mean.
    We have 15 Windows laptops, and as many desktops that keep ALL of these drives mounted regardless of sleep, power cycle etc. All machines except the Apples.
    If this bug needs escalation, let's do it. I've seen countless gripes about this issue and NO resolution. This is NOT a feature, or a requirement for user manual drive unmount intervention. It's a BUG.

Maybe you are looking for