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.

Similar Messages

  • Mounted Network Drives dismount when switching users

    I have a local ReadyNAS with multiple shares running AFP, and am using Bonjour Mounter to automatically attach to the shares when they are available (i.e. - when I boot up on my home network from my laptop).  Under Lion, everything worked well - when I switched accounts on the laptop to another user, the mounts remained avaialble, even if they were inacssessable to the new user on the Mac - when I swapped back to the first user account, the mounted shares were still there.
    Since upgrading to Mountatin Lion, I've noticed that when I switch accounts on my Mac to another user, the Mac seems to dismount the shares, making them unavailable.  This means that when I switch back to the original user profile on my Mac, the drives need to be manually re-mounted (since Bonjour Mounter doesn't see them as "new" and pick them up automatically).  This is annoying when I am hopping between multiple accounts on my Mac - is there a way to prevent the dismounting behavior when switching accounts?
    Bonjour Mounter has not been updated in some time, so I am fairly certain it is not the cause of the issue.  The behavior started with Mountain Lion 10.8.0, and is persisting in 10.8.1
    Thank you!

    Hi Geoffrey,
    This won't be much help, but I'm having the exact same issue. I'm mounting AFP shares from a ReadyNAS, but I'm not using Bonjour Mounter. And this happens whether I script the volumes to mount, or if I mount them manually. For whatever reason, they dismount when I switch users, lock the screen, etc.
    Have you tried mounting non-ReadyNAS volumes to see if the same issue occurs?  I'm curious.
    Hope someone replies that can help. :-)

  • 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

  • Network drives fail (drives used to share databases among multiple computers)​.

    I am using databases on multiple computers to store test results for a production line. The computers share info from thier databases with each other using dsn's made with the ODBC Windows XP Admin Tool (Control Panel). This works well most of the time but occasionally one of the network drives fails - I have to disconnect and then use ODBC to make a new connection (a new dsn). Why are the network drives failing? Should I use somenthing else that is more reliable? datasocket? Shared Variable? [email protected]

    Gary MavSysInc,
    When you say that your program fails, are you referring to the same thing as your LabVIEW Application that is reterieving data? If so, what do you mean by it fails? Is there an error message? Does it Crash? What happens when it "fails"?
    Ben Sisney
    FlexRIO V&V Engineer
    National Instruments

  • Quick Time (Audio Preferences) fails to launch with buffer overrun error

    It all started a few weeks ago, after installing itunes7.0 for windows, and itunes began to annoy me (indeed drive me mad) with an error message :
    "an unhandled win32 exception has occured in itunes.exe [3840]" at startup / closing immediately afterwards.
    After numerous uninstall/reinstall/clean the registry/system restore attempts I managed to solve the issue-- BUT only for a few days..It failed again and so I went through the itunes support forums even found an entry
    "iTunes 7 for Windows: iTunes fails to launch with an unknown error"
    which suggests that my issue could be solved by :
    "Open the QuickTime control panel and select the Audio tab.
    In the Devices section de-select the Safe mode (waveOut only) option and click Apply."
    But to my surprise, when i selected the Audio tab (and the Audio tab ONLY ) it presented me a "buffer overrun error" which indicated that the internal state of the program has been corrupt and it would be shutting down now..
    It's such a nuisance..!!
    Please, help, and your help will be deeply appreciated... !
    I have tried to revert to the older version and it didn't work..

    let's try swapping out your existing QuickTime one more time. we'll take a few additional explicit precautions this time.
    head into your Add/Remove programs. uninstall QuickTime.
    Next, we’ll manually remove any leftover program files and folders.
    1. On the Start menu, click My Computer (or double-click My Computer on the Desktop).
    2. In My Computer, open Local Disk.
    3. Open Program Files.
    4. Right-click on the QuickTime folder and click Delete from the shortcut menu.
    5. Navigate to C:\Windows\system32\.
    6. Remove the files QuickTime.qts and QuicktimeVR.qtx.
    7. Restart your computer.
    next, we'll get a fresh copy of QuickTime into your PC by doing a repair install of itunes.
    switch off antivirus and antispyware applications prior to the repair install.
    go into Add/Remove and select itunes. click "Change" and then click "Repair".
    if the repair install goes through okay, restart the PC and try launching itunes again. does it launch properly now?

  • 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!

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • I am new to mac.  Do I need to store photos on the hard drive to use iPhoto or can I store pics on a network drive and still edit with iPhoto?

    I am new to mac.  Do I need to store photos on the hard drive to use iPhoto or can I store pics on a network drive and still edit with iPhoto?

    iPhoto needs to have the Library sitting on disk formatted Mac OS Extended (Journaled). Users with the Library sitting on disks otherwise formatted regularly report issues including, but not limited to, importing, exporting, saving edits and sharing the photos.
    See this article
    http://support.apple.com/kb/TS5168
    for more. Note also the comment:
    “Additionally, storing the iPhoto library on a network rather than locally on your computer can also lead to poor performance or data loss.”

  • Photoshop Lag with mounted Network Drive

    Me and a co-worker have the same problem, we work in a production environment. We do all of our work on a network. We are using CS3. Normally we have 4 other macs mounted on our desktop. There is one drive that when it is mounted, our files take 5 minutes to open and or save even if the file we are opening is on our desktop and 1meg. if we eject this drive then photoshop returns to normal. This mac that is mounted is our customer file server so all the stuff we need to open in photoshop is on this drive so it has to be mounted. This problem seemed to start when we upgraged to CS3.
    Any help?

    Jay...
    If you were able to take a decent poll of visitors past and present, I'd bet you'd find more than a handful of users just on this one forum who could tell you that Disk Warrior (or Drive Genius) has saved their *******' bacon, when no other utility or maintenance routine thrown at the hard drive would make it read properly.
    It's happened twice for me in the past 11 years. The return on investment is incalculable.
    I reiterate what Neil said:
    "Does your boss buy a car and "save" by not performing routine maintenance?"
    "Same thing with your computer. It needs routine maintenance, too. Explain to your boss that you'd be far more productive if your computer weren't crippled -- and it won't get better on its own. "
    I had a boss who was a horrible tightwad (and was known as such throughout the printing industry in my city), and kept balking on getting me some more RAM for the PowerMac 7300/180 MHz I was using. I was limping along on 32 MB, and many of the files I was working on daily were in the 100-400MB range. You have no idea how many smoke and coffee breaks I used to take, waiting for simple operations to take place. He stopped in my building one day, and caught me next door at the deli, sipping a coffee and leisurely eating a bagel. He read me the riot act. I let him act like a ******* and chew me out in front of everyone in the deli.
    When he was done going ballistic on me I simply said to him something like this: "If you weren't such a cheapskate, and would spend a little money to upgrade my machinelike I've begged you to for 6 monthsI could get a whole lot more done and we wouldn't be in this predicament, now would we?"
    I fully expected to be fired on the spot, but I had gotten to the point where I didn't care. I was ALWAYS being given too much work for the machine to handle in a 50 hour week.
    I had done research, and showed him facts and figures; I tried to make him understand in terms of dollars and centsa language he understoodbut he just didn't get it.
    Next day, I yanked a 128MB module from my system at home and brought it to work. I called him at the other building and demanded he come right over.
    I had the cover off the PowerMac; loaded into Photoshop I had one of our typical jobsabout 200 MB. I had a Photoshop action set to go, and I showed him how long it took to do a few common procedures (Rotate/straighten, crop, save). In fact, we even went next door, grabbed a coffee, ate a bagel, smoked a cigarette and came back, and the file still had about 5 minutes worth of processing to go.
    Then, I shut down, popped the 128 MB RAM module in, and performed the same manipulations I had done before. The difference was extraordinary, down from about 20 minutes to under 5.
    He
    finally
    understood what I was trying to tell him. He got on the phone right then and there and ordered a half GB of RAM, to be shipped overnight.
    All of this is offered as an anecdote, as an example of why you need to find what ever way necessary to explain to your boss the need for the monetary outlay. The small amount he spends now could very well save him enormously in the future, in time, aggravation
    and
    money.

  • 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

  • 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.

  • Load of file from a windows 2003 network drive failed

    Hello,
    I working on a windows 2003 Server machine with a Oracle database 10.2.0.3.
    I must automate a database task that consist in reading tow files from a network drive, load it on database and making some processing on loaded data
    I defined entities for use of scheduler but when job with this processing is run it doesn't complete it work
    In column additional_info of table user_scheduler_job_run_details I have found this message
    CHAIN_LOG_ID="20298", STEP_NAME="LOADZILE", ORA-27369: job of type EXECUTABLE failed with exit code: Incorrect function.
    STANDARD_ERROR="SQL*Loader-500: Unable to open file (Z:\ControlCAMarjaZilnic.ctl)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified."
    The file is on the network drive and it mname is correct - I am sure of this
    What's wrong?
    Thanks in advance,
    Aurel

    Hi,
    My environment consist in Windows 2003 Server and Oracle database 10.2.03 database
    My job must read 2 files from an network drive - mapped on Z , load files in Oracle database and process data for output on some devices
    I build a CHAIN based job
    BEGIN
    DBMS_SCHEDULER.create_chain (chain_name => 'loadchain',rule_set_name => NULL,evaluation_interval => NULL,comments => 'Loading chain.');
    END;
    I defined programs : trunc and processing as STORED_PROCEDUREs and sqlldrDays and sqlldrMonths as EXECUTABLEs
    BEGIN
    DBMS_SCHEDULER.CREATE_PROGRAM(program_name=>'trunc',program_type=>'STORED_PROCEDURE',program_action=>'XXBLU.xxblu_dex_vanzari_pkg.Truncatelunizile',number_of_arguments=>0,comments=>'Truncate for loading',enabled=>FALSE);
    DBMS_SCHEDULER.ENABLE(name=>'trunc');
    END;
    BEGIN
    DBMS_SCHEDULER.CREATE_PROGRAM(program_name=>'sqlldrDays',program_action=>'c:\oracle\product\10.2.0\client_1\BIN\sqlldr.exe',program_type=>'EXECUTABLE',number_of_arguments=>2,comments=>'Loading days',enabled=>FALSE);
    DBMS_SCHEDULER.DEFINE_PROGRAM_ARGUMENT(program_name=>'sqlldrDays',argument_position=>1,argument_type=>'CHAR',default_value=>'xxblu/xxblu@dextera',out_argument=>FALSE);
    DBMS_SCHEDULER.DEFINE_PROGRAM_ARGUMENT(program_name=>'sqlldrDays',argument_position=>2,argument_type=>'CHAR',default_value=>'Z:\ControlCAMarjaZilnic.ctl',out_argument=>FALSE);
    DBMS_SCHEDULER.ENABLE(name=>'sqlldrDays');
    END;
    BEGIN
    DBMS_SCHEDULER.CREATE_PROGRAM(program_name=>'sqlldrMonths',program_action=>'c:\oracle\product\10.2.0\client_1\BIN\sqlldr.exe',program_type=>'EXECUTABLE',number_of_arguments=>2,comments=>'Loading months',enabled=>FALSE);
    DBMS_SCHEDULER.DEFINE_PROGRAM_ARGUMENT(program_name=>'sqlldrMonths',argument_position=>1,argument_type=>'CHAR',default_value=>'xxblu/xxblu@dextera',out_argument=>FALSE);
    DBMS_SCHEDULER.DEFINE_PROGRAM_ARGUMENT(program_name=>'sqlldrMonths',argument_position=>2,argument_type=>'CHAR',default_value=>'Z:\ControlCAMarjaLunar.ctl',out_argument=>FALSE);
    DBMS_SCHEDULER.ENABLE(name=>'sqlldrMonths');
    END;
    BEGIN
    DBMS_SCHEDULER.CREATE_PROGRAM(program_name=>'processing',program_action=>' XXBLU.xxblu_dex_vanzari_pkg.Prelucreaza',program_type=>'STORED_PROCEDURE',number_of_arguments=>0, comments=>'Processing for BlackBerry output',enabled=>FALSE);
    DBMS_SCHEDULER.ENABLE(name=>'processing');
    END;
    This chain has 4 steps : truncatetabsStep,loadDaysStep,loadMonthsStep and processingForDexteraStep
    BEGIN
    DBMS_SCHEDULER.define_chain_step (chain_name => 'loadchain',step_name => 'truncatetabsStep',program_name => 'trunc');
    DBMS_SCHEDULER.define_chain_step (chain_name => 'loadchain',step_name => 'loadDaysStep',program_name => 'sqlldrDays');
    DBMS_SCHEDULER.define_chain_step (chain_name => 'loadchain',step_name => 'loadMonthsStep',program_name => 'sqlldrMonths');
    DBMS_SCHEDULER.define_chain_step (chain_name => 'loadchain',step_name => 'processingForDexteraStep',program_name => 'processing');
    END;
    I want to run these tasks sequential
    BEGIN
    DBMS_SCHEDULER.define_chain_rule (chain_name => 'loadchain',condition => 'TRUE',action => 'START truncatetabsStep',rule_name => 'chain_rule_1',comments => 'Truncate step');
    DBMS_SCHEDULER.define_chain_rule (chain_name => 'loadchain',condition => 'truncatetabsStep completed',action => 'START loadDaysStep',rule_name => 'chain_rule_2',comments => 'Load days');
    DBMS_SCHEDULER.define_chain_rule (chain_name => 'loadchain',condition => 'loadDaysStep completed',action => 'START loadMonthsStep',rule_name => 'chain_rule_3',comments => 'Load Months');
    DBMS_SCHEDULER.define_chain_rule (chain_name => 'loadchain',condition => 'loadMonthsStep completed',action => 'START processingForDexteraStep',rule_name => 'chain_rule_4',comments => 'Processing for Dexterra');
    DBMS_SCHEDULER.define_chain_rule (chain_name => 'loadchain',condition => 'processingForDexteraStep completed',action => 'END',rule_name => 'chain_rule_5',comments => 'End of chain');
    END;
    I enabled the chain
    BEGIN
    DBMS_SCHEDULER.enable ('loadchain');
    END;
    I run the chain
    BEGIN
    DBMS_SCHEDULER.run_chain (chain_name => 'loadchain',start_steps => 'truncatetabsStep',job_name => 'loadchain_run_job');
    END;
    When I watch user_scheduler_job_run_details I can see STORED_PROCEDUREs programs succeded and EXECUTABLEs (sqlldr based) didn't
    in additional_info table I can read - STANDARD_ERROR="SQL*Loader-500: Unable to open file (Z:\ControlCAMarjaZilnic.ctl) and
    STANDARD_ERROR="SQL*Loader-500: Unable to open file (Z:\ControlCAMarjaLunar.ctl) respectively
    But this file exists - I copied path+filename from error messge and I pasted in comand prompt
    Many thanks,
    Aurel

  • How to mount Network drives on log-on

    Hi
    I'm trying to implement some Macs in a large network.
    We work against file servers, storing all the files we use on the servers.
    There are multiple servers with multiple shared folders in each.
    On the windows work stations, we click "Map network drive", Choose the server and folder and check "Re-connect on startup".
    How can I do this in OSX.
    Here is what I need:
    *On log on the mac should mount each network share, so that it is accessible in finder like any other drive.
    *It needs to have the same drive-letter each time, as applications may need to reference the files.
    *It needs to log on using the current user's username and password (the passwords may change, so no putting them in scripts)
    *Should not pop up one finder window pr. drive when you log on (some "solutions" do this)
    Our servers can act as both smb and windows server.
    I'm sure apple has a great solution for this, and it is probably easy, it's just me comming from windows and could not find it.
    Hope my question was clear and that somebody can help.

    That should work. You could try deleting the passwords in Keychain associated with it and try it again.
    Another route: Create Applescript:
    Select the network drive and get info on it. Copy the server address. Open up Applescript Editor in the Utilities folder and create a new script. Type in mount volume, add space, "paste server address within quotations", and save as application to your documents. Run it from within applescript editor to verify it works. When it asks for a passwork, save it in Keychain.
    Under system preferences/accounts/login items, click the + sign to add and select the saved application.

  • How to mount network drive on boot up

    I'd like to mount a network drive on my OS X v10.6 system during the *boot sequence* so that the drive is available to Time Machine to write its backups there. I can mount the drive manually and know how to add it to an user account's loginn items so that it gets mounted when that user logs in. But I want it always mounted regardless of which user is logged in or even if no user is logged in. That way TM can run whenever it needs to.
    So how can I mount the network drive during boot up?
    The network drive is on a machine running OS X v10.5.
    This related thread was my original question in the Time Machine forum: http://discussions.apple.com/thread.jspa?threadID=2807393&tstart=0
    Message was edited by: NikD

    not sure it will work for you but you could try this:
    if you are comfortable with AppleScript, you could edit this script to suit your situation:
    try
    mount volume "afp://<devicename>.local/<volumename>" as user name "<accountname>" with password "<accountpassword>"
    end try
    this script just places the drive's icon on the desktop.
    save it as an application and add that to the account's login items.
    credit for the script goes to Tesserax.

  • Mounting networked drive via terminal

    Hello
    I ordered an SSD for my macbook pro yesterday, which I was planning on installing when it got here today. I use a shared folder on a windows PC for time machine, and after backing up over the network for the last time last night I decided to pop my os x disk in to make sure that I knew how to restore once I had the new hard drive in.
    Well I was able to connect to my wireless network, but when I choose restore using time machine, the button "connect to network drive" is greyed.
    I think I need to mount the drive via the terminal, but I've been unable to do that. In OSX i was connecting to smb://192.168.1.102 and mounting the "MacBook Pro Time Machine" share(I since added a share simply named "mbptm" to avoid spaces. I opened a terminal, and made a directory /Volumes/TimeMachine, this seemed to work. I then tried:
    # mount -t smb smb://192.168.1.102/mbptm /Volumes/TimeMachine
    This gives the error:
    mount: exec /System/Library/Filesystems/smb.fs/Contents/Resources/mount_smb for /Volumes/TimeMachine: No such file or directory
    I tried with afp instead of smb (which I dont think will work because its an NTFS windows drive) and got:
    AFPMountURL returned error -1069, errono is -1069
    If anyone has any ideas I'd appreciate it. I don't have an external hard drive handy. The computer name of the windows PC is MEDIACENTER-PC, and the share gives access to "Everyone", so no username/password should be required

    I think i've found a clever way to circumvent this problem.
    What if i repartition my original hard drive into three. leave one partition for my current stuff, a second partition for the time machine back up, and a third partition as a bootable image of my OSX install DVD. Then I will temporarily disconnect my dvd drive and hook up the SSD and the HDD simultaneously, boot using the OSX install partition, and restore the time machine image to the SSD...
    Does anyone see a problem with that? (I realize this isn't the correct forum for that anymore)

Maybe you are looking for

  • DBCONSOLE job submission problem

    Hi I am running dbconsole against a 10.2.0.1.0 database running on SUSE sles9 Linux. I wish to run a reorg jobs, but I get the following error when reach the final step to submit the job. The user and password specified are valid and can be used to d

  • Setting the name of a file to be uploaded

    I'm having trouble setting the name that my uploaded files get when they are saved on my server. I upload the files useing the following: <html> <head> <title>File Upload</title> </head> <body> <%@ page import="java.io.*" %> <% if (request.getContent

  • Business Rules on super-sub types

    We are currently in the process of modeling business rules. We have some super-subtype entities in our datamodel. We also have business rules on the super-type as wella as the sub-types. What name for these BR's should we use, more specific which ent

  • Cannot send or receive emails in my E71

    Since some days ago a circle with a crossed line is shown in my Nokia E71 phone, just at a side of the battery logo, and since that I cannot send or receive emails. My questions are: What does that circle with the crossed line means? and How to do fo

  • Bbm needs upgrading

    my bb needs upgrading hw cn i do that