Reconnecting to smb volume on wake-up

This question comes up every now and again but I have yet to see a coherent, useful answer.
The problem is simple. A mapped smb drive volume will go away at sleep and the max does not re-mount the volume on wake.
Looking for a way to do this. Seems like it should be simple.
Thanks

Hi there 504lmc,
While this isn't the exact issue described in the article below, it may still be worth it to take a look at some of the troubleshooting steps found there.
OS X Mountain Lion: If you see a blue screen at startup
http://support.apple.com/kb/PH11043
-Griff W.

Similar Messages

  • Bug: NULL bytes being written to file on SMB volumes

    This is a 100% reproducable bug.
    When writing to files that are on a Samba (SMB) volume, if you are overwriting a file and making it smaller than it previously was, then OSX is writing NULL bytes to the end fo the file, which produce all sorts of problems, especially for software developers.
    How to reproduce:
    Open Terminal, navigate to a SMB volume and do the following:
    # echo "test" > test.txt
    # more test.txt
    test
    # echo "test test test test" > test.txt
    # more test.txt
    test test test test
    # echo "test" > test.txt
    # more test.txt
    "test.txt" may be a binary file.  See it anyway?
    test
    ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
    This is 100% reproducable every time.  As you can see, when you overwrite a file with a larger version, the NULL bytes are not written to the file.  But when you overwrite with a smaller version, NULL bytes are written to the end of the file.
    This problem is especially a problem for developers.  I came across this bug because I had a git repository on an SMB share/volume.  Whenever I would try to commit changes to the repository, if the git commit log file was shorter than it was in the previous commit, then git threw the error:
    error: a NULL byte in commit log message not allowed.
    fatal: failed to write commit object
    You can see this issue being discussed and reported in several places:
    http://stackoverflow.com/questions/20696643/how-do-i-keep-nul-bytes-from-appeari ng-throughout-my-git-repository-and-commit-m
    http://stackoverflow.com/questions/19705825/error-a-nul-byte-in-commit-log-messa ge-not-allowed
    https://netbeans.org/bugzilla/show_bug.cgi?id=237766
    This bug was introduced in Mavericks.  Also, remounting the volume using cifs:// doesn't make a difference.
    Does anyone have any solutions for this problem?  Has this been reported to Apple?  Does Apple know about this problem?

    Apple doesn’t routinely monitor the discussions.
    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Or you can use your Apple ID to register with this site and go the Apple BugReporter. Supposedly you will get an answer if you submit feedback.
    Feedback via Apple Developer

  • Any Solutions for DFS, SMB  Volumes for Mac Users

    Hi All,
    We are thinking of setting up X server to manage our growing mac user base. A major question is how or if X server can provide a way of giving mac users network access on par with windows users. In our case- we use Microsoft's DFS (Distributed File System). Apple does not support DFS. We have used AdmitMac so we have had a way of dealing with it.
    With X Server, is there a way I can "reshare" smb volumes from windows servers in a way that would resemble what windows users see?

    Did you figure anything out? I'm interested in doing something similar if you find an answer.

  • Crashing/Kernel Panic while browsing or saving to an SMB volume on a Mac w/ OS X 10.10.2

    Lengthy topic, but the description says it all.  Does not happen all the time, but is definitely triggered by browsing (via Acrobat 10.x) through an SMB volume to open a file.  Has not happened nearly as often as when after upgrading 10+ users to Mac OS X 10.10.2
    Realize I could be looking at three issues -- Apple, Adobe or (god help me) Micorosoft (considering it's a Win2012 server).  Please help me however you can!

    Hi Erik ,
    Please refer to the link.
    You might want to report a possible bug to the engineering team for the issue stated by you .Follow this link .
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&loc=en
    Regards
    Sukrit Dhingra

  • Automount SMB volumes in Leopard (autofs)

    Can someone give a brief example on how to automount SMB volumes in Leopard using the new autofs automounter? I have heard that /etc/fstab is no longer support in 10.5, correct? I ned the mounts to show up in the Finder. I dont care if the mount point is /Servers or not as long as I can see the volumes in Finder.
    Im a tad confused. According to automount, /etc/fstab is still available, but doesnt exist.
    Any suggestions?

    Thanks VK
    I currently push out all my SMB volumes to my Mac desktops via MCX and Open Directory. MCX basically sets the SMB volumes as Login Items as you suggested (but of course it automounts then for all my users based on computer and user/group policies which is great for centrally manging hundreds of computers). Example: users in the "Managers" group get a MCX login item for the "Managers" SMB volume, so they mount the "Mangers" share when they log into their Macs. If they are off the LAN/domain, then the Finder displays an error after x minutes attempting to connect. This works fine, but it gets clunky for users with laptops. When the laptop users aren't on the network (i.e.; on the road, etc) they get Finder errors when the login items fail ("the login item cant be found"). I cant figure out a way to suppress the Finder errors for the laptop users so my next workaround is to figure out a better way to dynamically mount the volumes and avoid the Finder from throwing login item errors that annoy my users.
    Id love to figure out a way to tie autofs and OD together so that the Macs will mount the proper SMB volumes by simply reading OD groups and mounting the volumes as needed. Example: Users in the "Managers" group automount the "Managers" SMB share at login (if the domain can be reached and the Mac is on the LAN). Likewise, members in the IT group will automount the "IT Dept" SMB share at login , etc. This assumes the users have the proper memberships and permissions and that the Macs are able to query DS and find the SMB server etc.
    Any ideas?

  • Finder: Command K does not show all CIFS/SMB volumes on server

    Greetings:
    I use the Command-K to connect to a NetApp storage server in our office; if I issue this:
    smb://server
    or
    cifs://server
    I only get some of the shares and not all of them. If do the same on a Windows machine by using the command "net view \\server" it shows all the available shares.
    Question: is there any limitation? Any tips, perhaps on the NetApp side?
    Best regards
    Claudio

    We are experinceing the same issue. It appears to have limitations on the length of the share/volume name.
    smbclient from the command line shows all of them but Apple+K doesn't

  • Max amount of smb volumes per client server 10.5.8?

    Specs: 
    server: osx server 10.5.8
    clients;
    Windows xp pro
    Windows 7
    Mac osx 10.5.(x)
    There are approximately 30 clients.
    We are trying to export 9 volumes from the server to the clients listed above.  It seems like we can only mount 6 of the 9 volumes at any given time on each client.  The same symptom is happening on the mac when connecting to the server via smb.  AFP does not exibit this problem.
    This problem exists on all client platforms, and is repeatable.
    Are there limits on how many volumes that can be exported from osx server to a client at the same time?  If there is a limit, can it be changed?  I can find no documentation that discusses this.
    Thanks in advance for your help and time.
    Monty Shinn

    A log file had filled up and left no free space on the server OS drive.  I had to connect remotely with SSH and move the log to a different hard drive.  This freed up enough space that logging in was successfuly.

  • Snow Leopard Not Correctly Reconnecting to SMB Shares after Network Interruption

    Occasionally, my wireless connection will drop for a fraction of a second. When it comes back up (almost immediately), everything works as normal on my MacBook (Snow Leopard) except for the connections to the shares I have on my Windows 7 box. It shows the root folders and items as it should, but the folders are empty (and even labelled "no items"). Ejecting and attempting to reconnect doesn't work at all (Finder simply hangs). And to make things stranger, the drive I have shared from my Linux box (via SMB also) does actually reconnect properly. This also happens if, for some reason, I need to reboot my Windows box. The only solution I've found is to reboot the Mac. Which, as you might imagine, is a pain if you're in the middle of something. Any clues as to how to address this?
    Thanks,
    Sam

    Renew your lease. Also try resetting the IP's. And unplud the router for a bit and restart it.

  • Cannot control iTunes volume after wake up

    I have an external Altec Lansing sound system on my Mac Pro late 2013. It has always worked perfectly well… until I upgraded to Yosemite that is. It is still working perfectly well till I put the Mac Pro to sleep.
    After wake up, I cannot control the volume anymore. The usual keyboard commands will modify the slider but this have no effect whatsoever on the volume level.
    If I restart the Mac Pro, everything works perfectly well again.
    What about this?
    Thanks for taking the time :-D

     
    MSI HQ Users-to-Users Forum
    as the name suggests this is a USER to USER forum and there are no people from MSI here so please contact them Directly  >>How to contact MSI.<<

  • Creating aliases on a smb volume for 10.5 and using aliase from 10.5 in 10.7

    We are accessing a Windows File Server (SMB (NTFS)) with some Mac Pro's using Leopard and some Mac's with Lion. Aliase created with Leopard and older Mac OS Versions can not be used with Lion. Aliase created with Lion can not be used with Leopard. Clicking at the aliases from the other Mac OS version will open the Terminal, but not open the original file or folder.
    Leopard creates two files, for example myAliase and ._myAliase. The invisible file contains the data.
    Lion creates only one file myAliase with the data.
    How can we use and create the old styled aliases from older Mac OS Versions?

    Ramón G Castañeda wrote:
    …My question is:  can you actually run Mac OS X 10.5 on a PC box just like that, so there's no need to actually buy a Mac-Intel machine from Apple?
    OK, so the answer to my own question is "not 'just like that'" and "not legally".  I was not aware of current advances in the ease of building a Hackintosh, which I confess had not even crossed my mind when I first posted my question. 

  • PowerBook G4 12" does not reconnect to wireless network on wake

    Since upgrading to Leopard on Friday my PowerBook does not automatically reconnect to my wireless network. I have to manually select the network from the AirPort menu and re-enter my WEP key, however on doing so the dialogue box in which I entered the password reports "Connection Timeout" (after about half a second - so it doesn't look like it waiting for anything to timeout). Despite this the connection to the network is established and if I cancel the dialogue box the connection remains until I put the laptop to sleep.
    I'm connecting to a Netgear router and did not experience these problems with Tiger.
    I've read some of the other posts on a similar topic, and have already done the following:
    1. Installed the Login & Keychain update - has not solved the problem
    2. Checked for the file /System/Library/Extensions/AppleAirport2.kext - I did an Erase & Install so this file doesn't exist
    Is anyone else having this issue? It seems slightly different to other similar problems reported.

    there seem to be ubiquitous problems with wireless networking for everyone. I can confirm for my laptop and my dads laptop (both 12" powerbook g4s) that the wireless network dies after loading a couple pages online or downloading a large file. If you press option click on the airport menu it shows you the transmit rate. It steadily drops from 54 to 1 then no connection when its about to die. I just installed the update and it hasn't died on me yet, but I expect it to. I'll post back in 10 minutes to tell you if its still alive.

  • Reconnecting a remote user to the Volume Manager

    I have a remote user who has been gertting a license from my Volume Manager.
    At the end of last week (when there were some network issues) he was disconnected from the server, and now he can't seemed to reconnect.
    He's now on a 14 day count-down (expiring 7th Dec), so he's anxious to get this resolved soon.
    I've tried disconnecting and reconnecting from the Volume Manager, but that didn't help.
    Any clues?
    TIA
    Richard
    Solved!
    Go to Solution.

    Hi Richard,
    There are a couple of things that we can try.  The first is to also check the connection using the Telnet command.  This allows you to check the specific TCP port for connectivity whereas the ping command is lower level than this.  Instructions for this are here.  If  this fails then you need to check that your firewalls are allowing connections on the ports that are used by VLM.
    If this succeeds then this means that your network connections should be OK.  If this is the case then the next thing to check is that the correct port is set up in the License Manager of the client machine.  By default the port used is 27000 but you can specify specific ports if you have set this up on your server.
    Finally if this appears to be correct then attempt to connect to the server and if it still fails check the debug log of the server.  This should give some more information as to why it is not allowing the client to check out a license.
    Regards,
    James Mc
    ========
    CLA and cRIO Fanatic
    wiresmithtech.com/blog

  • Mid-2012 MacBook Air WiFi Reconnect-Partial Solution

    The MacBook Air seems to have some significant WiFi issues for a lot of users. My issue is as follows: the MacBook will connect to any compatible WiFi hot-spot with no problems, and it will maintain the connection almost always. The problems come when I try to reconnect to the internet over the same WiFi hot-spot after waking up the MacBook. Even more frustratingly, the problem is not consistent. Sometimes it works, and sometimes it doesn't. After some investigation, I have come to the conclusion that reconnection problems happen when:
    You wake the computer up from computer sleep (not display sleep or Power Nap)
    You are using a specific cable modem (the one I tested on was a Motorola SURFboard SBG6580 DOCSIS 3.0)
    You have not restarted your cable modem while your MacBook was asleep
    The MacBook Air will connect to the WiFi network (i.e., it can access other devices in the wireless LAN) when woken from computer sleep; it just will not connect to the internet
    The only way to get the connection back is to restart the cable modem. Restarting the MacBook, restarting your WiFi base station (in my case a brand new AirPort Time Capsule tower), having the MacBook forget the WiFi network and then reconnect--all do not work. But if I just restart the cable modem, the MacBook connects with no problems. This is a problem specific to the MacBook Air because none of my other devices ever have a problem connecting to the network after waking up from sleep (including a Lenovo ThinkPad E530c). As has been proposed in some of the many discussions about MacBook Air WiFi issues, I think it has to do with the bleeding-edge power saving modes that the MacBook Air enters in to when it goes to sleep. Apparently, the computer sleep mode will cause it to not be able to reconnect to the internet, so it seems to be some sort of incompatibility or bug between the MacBook Air and the cable modem--in my case, the Motorola SURFboard.
    So that's the problem, but I do have a partial solution while the engineers figure out a fix. Set the System Prefs > Energy Saver setting on the MacBook to never go into computer sleep (I set it only for Power Adapter, not Battery). In my case, this is a workable solution because I have my MacBook Air plugged in at home almost all the time. I have lived with these settings for a couple of days now and whenever I wake up my computer, it still has the internet connection and works as expected. And if for some reason I don't plug it in and it goes into computer sleep, I don't waste time troubleshooting. I just restart the cable modem and after a minute or so, the internet connection is re-established. I'd be curious to know how many cable modems this happens with, and if anyone has a fix having to do with cable modem settings (the Motorola SURFboard, to my knowledge, doesn't have a web app interface to tweak settings, perhaps because my cable company doesn't want me tweaking things, but I frankly have not spent any time researching that end of things).
    Hopefully this will help some MacBook Air owners (is this an issue with MacBook Pros?) that have this problem.
    Good luck!

    Have the same problem. Was OK for nearly two years then started two days ago.
    MacBook Air 10.6.8 13 in 1.86Ghz intel core 2 duo 2GB RAM

  • SIMPLE : Move FIle from Mac to SMB system

    I would like to move 1 file to a SMB connection. The script works when moving the file from afp to afp. But when I run this script I get a message that the program can't deliver the file.
    So I have always connection between the disks (Script that starts every day)
    The path is OK but I guess it's something with privileges? Don't get more info about that from scripteditor.
    tell application "Finder"
    activate
    set this_file to ("SERVER1:DATABASES:DATA1:test.txt")
    move this_file to ("smb:192.168.000.000:X:DATABASES:DATA1:") with replacing
    end tell
    Any help would be appreciated! Thanks in advance.
    or ("Volumes:X:DATABASES:DATA1:")

    You approaching this in the wrong way.
    When you ask the Finder to move a file you specify the source file and the destination directory.
    You're trying to provide a URL, and that's the mistake.
    If your SMB volume is mounted on the desktop then its path will be /Volumes/SERVER_NAME, and you can just reference it by name, therefore you want something more like:
    tell application "Finder"
      set this_file to "SERVER1:DATABASES:DATA1:test.txt
      move this_file to folder "SERVER_NAME:X:DATABASES:DATA1:"
    end tell
    As far as the Finder is concerned, the first element of a path is taken as the volume name.
    You might want to add some error checking to ensure the volume is mounted before trying to move the file, too.

  • Choosing Office 2013 volume licensing plan ... or going retail ... or subscription ... or hunting for 2010 ... what a headache ...

    Our company currently runs an office software equivalent comparable to Office 2003 level. I was researching options (licensing!) for stepping up our office to real Microsoft Office product ... and got stuck with that idea ... totally confused at this point.
    Am I missing something or the cheapest SMB volume licensing option for MS Office 2013 (Standard, no Access component) is like twice as expensive as the retail equivalent? Why is that so? It makes no sense to me at all.
    I can find retail box of Office 2013 Home and Business for around $190 while the cheapest Open License for similar equivalent seems to be priced at $369 (what!?) ... and that is even without Software Assurance?
    Makes it kinda hard to convince management about benefits of VL program over retail ... especially since we are not a Volume Licensed customer (yet) and this purchase *might* make it worth becoming one (does it?).
    On top of that I can't even make decision if we should really go with Office 2013 after reading about live/online account requirement for activation, and here a question how does it work in volume licensing version? I assume it will be a great pain with
    installs from retail media and activation, but VL should have some tools or workarounds for that, no? I read that Office 2010 didn't have such problems and am sad I didn't push towards it when it was still available on retail market.
    Maybe we should go with 2013 subscription for first year and see how that works for us ...
    One thing for sure, I've been digging around this subject for weeks and my headache doesn't want to go away.
    Open to suggestions.

    anybody, any insights?
    Pls, also note that I run a one person IT department for this company, so all the dirty work (installs) will be done by me, hence my question. I can do deployments via GPO, but would like to know about activation gotchas (MS live accounts) for Office 2013,
    is that true for retail licenses?
    As per Volume Licensing, am I looking right and cheapest 1 computer Office 2013 open license stands for like $369? why is i so expensive in volume licensing plans? I doubt our management approves it this way ... which probably means retail licensing for
    me and a great headache with activations over a sneaker net ... times 30 ...

Maybe you are looking for