Network shares get unmounted after wake up

Hi all,
I have all my music in a network shared drive (AFP share), and in Lion, once mounted from Finder, it would stay like that even if the iMac went to sleep.
With Mountain Lion, it seems that when the Mac goes to sleep, all mounted shares get unmounted when the system wakes up, which is very unconvenient with Apple TV.
Is there any way to return to the old behaviour? Is this a bug? Or a new feature?
Thanks
Christian

Strange thing is that the network share is not actually unmounted. Listing the volumes in terminal (ls /Volumes) shows my 'Media' SMB share (displayed as 'Media-1', don't know why, and that is probably a part of the problem) and I can browse it or whatever. iTunes also works fine. The share simply disappears from the desktop after a longer period of time.
Once I reconnect to my share through the Finder, ls /Volumes shows both the 'Media' and the 'Media-1' share, which is actually one and the  same SMB share listed under two different entries.
Also, when the share disappears from the desktop, all the paths of the files in iTunes change to  'Media-1', but upon reconnecting the share and relaunching iTunes, everything gets back to normal and the paths lead correctly to the 'Media' share.
Weird.

Similar Messages

  • Network stops before network shares are unmounted (fstab)

    Hi,
    I use fstab to set up my network shares. In my rc.conf I have "network" then "netfs". When shutting down, the network is stopped before the shares are unmounted so the system never shuts down; it just hangs trying to unmount them.
    Is there another/better way to specify network shares or a fix for this issue?
    Thanks

    Hi,
    I think my solution is better for mobile computers that are not always connecting to the same network: using networkmanager you can make a 'dispatcher'-script that only loads after connecting to a specified network. There are examples on the wiki.
    This way, my laptop is not trying to connect to my home NFS-shares when I connect to my parents' network, which could be a security risk.

  • When logging in user has two copies of network shares get mounted.

    Sorry if this is posted in the wrong place. I did a search but couldn't find my exact issue.
    I have a Leopard 10.5.8 20" iMac. When the user logs in they have 3 network shares on an X-serve that get mounted automatically. The issue is that two copies of the drives are mounted, when restarting. I went into the login items and unchecked the network drives, but they still auto mount.
    I hit ctrl+k and they aren't listed in the connect to server dialogue.
    I ejected the mapping to the server itself, and they still came back.
    Anyone have any idea why two copies of the network shares would mount?
    This only affects this user. I thought about creating a new account, and moving the data to the new account. I guess I will do that if I have to.
    Thanks for your help.

    +"which file itunes is referencing to get the music. whether it's referencing the file that is in my general music folder, or whether it is getting it from my itunes folder. I want to delete the extra one."+
    If you start with an original song file outside the iTunes Music folder, and you add the song to your iTunes library while the "Copy..." option is checked, then iTunes makes a copy of the file in your iTunes Music folder, and that is the copy it references. Once copied, iTunes no longer needs the original file, so you can delete it if you have no other need for it.
    If you are ever in doubt which copy of the song iTunes is referencing, you can right-click the iTunes library entry and choose "Show in Finder."
    If you have always had "Copy..." checked, and if you have never moved your iTunes Music folder and have never manually moved anything, then iTunes has everything it needs in the iTunes Music folder and you can delete the others. But obviously, be careful.

  • Tecra A9 - Network doesn't work after wake up from sleep/hibernate mode

    I have TECRA A9 and it work fine but I found that when the laptop go to sleep/hibernate mode and after return to work on the laptop the network not working.
    It keep the light on but there is no network and to solve it I need to restart the laptop.
    Any help please.
    Regards.

    This is a known issue so have a look on this website:
    http://aps2.toshiba-tro.de/kb0/TSB8902FC0000R01.htm
    Update the BIOS and then it will work.

  • How can I keep network shares mounted?

    With our new SSD (Retina MBP) we're trying to embrace the paradigm of using network storage, yet we keep running into a very aggravating wrinkle. Every time the wind blows, it seems, we lose our network shares. They have to be re-mounted by doing an Apple-K and selecting them from our Time Capsule. First, is it normal to lose shares after closing the MBP for a moment, as when carrying it from one room to another? If it's not then our router is just going, being beyond the age when they're supposed to expire. If it is normal, is there anything to help make them more robust and keep them mounted? MountWatcher didn't seem to do the trick.

    your network shares should stay mounted on your desktop, unless to specficially tell it to unmount after a certain time of inactivity or unless you loose connectivity.  I have 2 network shares that unmount after they expire idle time other than that they stay mounted

  • Network shares in Windows 7: What am I doing wrong?

    I bought the extreme 6th gen and it's working rather well however I'm running into issues trying to map network share in windows.
    I have a Seagate Slim 500gb bus powered external drive hooked up to the USB port on the back of extreme. There are 2 partitions both formatted for hfs, one for time machine and one for copying files.
    While in mountain lion, the share works fine. I've run time machine several times and it seems all is good. However under windows it's a different story. I will map a share, I.e. \\devicename\partitionname and then it will prompt for login details. I have a device password setup, so it's the name I gave the APE and the password. However I will almost always get an error saying that "x: refers to a location that is no longer available" error.
    However, if I update the APE then the network share operates fine after it restarts. Also, if I unplug the drive then plug it back in after getting the error that seems to fix it as well,
    Under osx there are no issues, so I don't know why this is happening under windows only, either my desktop or laptop. Login and workgroup credentials are correct.
    So is this a drive issue? Does the APE not like bus powered USB drives? Perhaps my Seagate slim is going to sleep and won't wake up unless I restart the APE. Can this be confirmed because I'm having a heck of time looking up this issue anywhere else, but surely I can be the only one running into this. Thanks.

    I am not sure what the last post means..
    If the drive sleeps and cannot be woken up by the request for files, it is unsuitable.
    Replace with another drive. .not a self powered one.
    Or you can try a powered hub  to unload the power problem from the AE.. they have never been great with USB drives that are self powered. Although the gen6 should have more than adequate power available.

  • Wifi gets disconnected after sometime while watching youtube on iPod Touch.

    When I'm watching video on youtube, the wifi network suddenly gets disconnected after some time.
    Even when I goto settings->wifi, I'm unable to find the wifi network.
    However, at the same time I can find the wifi network and am able to browse internet on my laptop and mobile phone. I get the wifi network back, on when I switch off wifi and switch it after some 2mins of time.

    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router.
    - Reset networks settings: Settings>General>Reset>Reset Network Settings
    - Does it happen with other networks?
    - Next would be to restore the iPod.

  • Windows 2003 Network Shares Innaccessable

    Hi
    We have a Windows 2003 R2 server housing half of our user profiles and some network shares.  Today, the network shares became inaccessible, causing crashes for our users.  Our other server remained unaffected.
    We could ping the server and ping from the server and could still RDP.
    The servers performance also appeared unaffected.
    MOM and Event logs showed nothing.
    We also use Active Directory 2003 and Symantec Anti-Virus 11.5 - Symantec logs showed nothing out of the ordinary either.
    We resolved by rebooting the server.
    Has anyone experienced this or a similar incident and what steps should we take to glean the best information should the incident re-occur.
    Many thanks
    Shawsr8

    Hi,
    The issue most likely caused by an outdated Antivirus, please upgrade the software to the latest version of Symantec Antivirus to see if the issue still exists.
    Network shares become unresponsive after some time on a Windows Server 2003 or 2008 or 2008 R2-based-based computer running Symantec Endpoint Protection prior to 11.0.4202 (MR4-MP2) or Symantec Antivirus 10.2, and you receive an error message
    http://support.microsoft.com/kb/948732/en-us
    There is a similar thread, please also go through it to help troubleshoot this issue:
    File share become inaccessible
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/19205ea0-3efe-4c9c-a625-8ccf93744948/file-share-become-inaccessible?forum=winserverDS
    Regards,
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Unable to browse network shares after installing Time Capsule

    After installing my time capsule I am no longer able to browse the other computers on my network. I can ping them just fine but when I try to see them under "shared" or to brows to the ip address, it doesn't display the other computers. It sees the Time capsule just fine. The other computers are hooked up to the time capsule as well. One Computer is windows XP based and the other is Windows Vista. When I boot into my Windows XP (via boot camp) the other computers show up just fine and I'm able to touch the shared files. Its just the mac side that is not seeing them. They are all connected via ethernet cable connection. I appreciate any help to solving this. Thanks.

    Make sure that the shares are unmounted before you sleep and see if it makes a difference. Not that it's a fix, just curious on how it reacts to see what could be going on.
    Another good piece of information to get is to open Terminal and do a 'df'. See if you have any volumes mounted. They'll look like //Username@IP/Share and mounted to /Volumes/Sharename or /Volumes/Sharename-XX.
    Try a 'sudo umount /Volumes/Sharename' and see if it gives you any errors back or dismounts it cleanly.
    Message was edited by: mreckhof

  • After waking from sleep, I lose all my network shares

    On my MBA with 10.7.1, after I wake it from sleep and after my wireless kicks back in, I lose all my network shares and the only way to get the back is to turn wireless off then back on.  Once I do this I can select my other computer on the network and everything pops back up instantly.
    I've tried this same scenario many times and each time the exact same thing happens.  I wake it.  Network comes back up and I can access the Net.  I see my network shares disappear.  I select the computer I'm trying to get to and it fails.  I turn wireless off/on.  I select the computer again and it connects instantly.
    I've never seen this behavior before and certainly not with 10.6.x running everywhere.  Now I have 10.7.1 on my MBA, wifes MBA, and my iMac (which is computer I try to connect to).  This same behavior happens on my wifes MBA as well.
    Any ideas?  I'm going to update to 10.7.2 and see if that does anything.  Hopefully it doesn't break something else!
    Anthony

    And 10.7.2 didn't fix whatever the problem is.  Weird...

  • How to get "fast user switching" and network shares playing nice

    I've been alternating between banging my head against a wall and reading every forum I could find to try and get a reasonable compromise between using "Fast user switching" and sharing a folder from a file server.  It baffles me how the network share/mount model of OSX/AFP is completely killed by fast-user-switching; this is a big problem with Apple requiring users to be actively logged in to share music/video from iTunes which therefore essentially requires fast-user-switching if anyone else wants to use the computer.  (anyone find it odd that you can share files without being logged in, but sharing songs requires an active login for each user who is sharing?  Apple: time to make iTunes sharing a service!)
    For the sake of example, lets just say I want to share my /Groups folder from my desktop and have it be accessible to my laptop.  Here are all the things that I tried:
    Apple Method 1) Share /Groups in the Server.app on the desktop (running Lion Server), use finder on the laptop and drag the share icon to "Login Items", alternative use a startup Apple script using "mount volume"  Both of the options work and will mount the /Groups folder under /Volumes/Groups, of course when the second person logs in via fast-user-switching (and occasionally the first person for no apparent reason), they will get /Volumes/Groups-1 since /Volumes/Groups is already taken.  Tomorrow we log in a different order and now the previously /Volumes/Groups-1 user has their mount at /Volumes/Group and vice versa.  Any links, aliases, finder sidebar references, and application settings which pointed to yesterday's location are now BROKEN.  Not very user friendly to my mother-in-law who is trying to find those pictures of the kids and doesn't know anything about mount points. I also can't reasonably mirror the file location structure on the desktop so that application preferences that are synced between the two (portable home directories) work.   fail.
    Apple Method 2) Use automounter and set up by hand direct maps for /Groups or an indirect maps for the children of /Groups.  Now it will automatically get mounted to /network/servers/SERVER/Groups/ on the laptop and on the desktop it will automatically create a similar symlink structure so that the same path (/network/servers/SERVER/Groups) work both on desktop and laptop.  Cool.  Except when the second person logs in, the /network/servers/SERVER/Groups/ mountpoint is already owned by the first user and they don't have any permissions to access it.  Fail.
    Apple Method 3) Use mount_afs and specify directly the mount-points.  Have each user have their own startup AppleScript which mounts /Groups to a different location (e.g. /Users/Shared/username/Groups) that way they don't conflict with multiple users.  On the desktop, set up symlinks from /Users/Shared/username/Group to /Groups so that it will be the same as the client and applications settings will work when synchronized back/forth by portable-home-directories.  Will it work, yes it does, but what a bear to maintain.  Is this really what I should expect to do just to have multiple users on my desktop and laptop (which again is essentially required now if I want to do any type of iTunes sharing).  This can't be what apple expects.
    What I ended up doing - the "not quite apple" solution.
    Non-Apple Method 4) After a read of "Autofs: Automatically Mounting Network File Shares in Mac OS X" (http://images.apple.com/business/docs/Autofs.pdf) at the very end there is a single paragraph  of "Kerberized NFS": "A Kerberized NFS mount can have multiple connections from multiple users, each using the correct user’s credentials for each transaction. This allows administrators to support multiple users, each authenticated with their own credentials to the same mount point. This is very different from AFP and SMB mounts," (emphasis mine)
    It appears that by using good 'ole NFS (abeint with Kerberos for security!) you can actually have multiple users on the same mount point.  Roughly following the guidance at https://support.apple.com/kb/TA24986?viewlocale=en_US.  What I needed to do was:
    1) create /etc/exports on my desktop and add a single line "/Groups -sec=krb5".  The existence of /etc/exports triggered a start of nfsd which no longer has any GUI options in Lion.
    2) Add a line to /etc/auto_master on my laptop "/-  auto_mymounts" to reference a new direct map.
    3) Create /etc/auto_mymounts and add a single line "/Groups         SERVER:/Groups" to create the direct map.
    THAT'S IT.  Three lines in three files.
    Now when I log into my laptop, there is a /Groups that is a network mount of my desktop's /Groups, same location AND it works for all of my users, even simultaneously. 
    In the end I'm happy with what I've got, but man was this a difficult path just to support fast-user-switching.  In Lion, Apple appears to be getting away from NFS (no longer turned on by default and remove from the GUI controls) but clearly this really useful functionality which doesn't exist in AFP. 
    I'm really curious, after all this work.  Any other ways to accomplish this?

    In my example above, yes I chose to mount the share "Groups" to the top of the root since that is where I put it on my server and I wanted to keep them similar; but that was just my preference, it isn't a requirement.  You can export and mount from other directories.

  • Unable to reconnect to network share after closing finder window

    hi there
    I have not been a mac user for long - i have a macbook pro - and generally i am getting along fine.
    however, I have a NAS box which I has a number of files on it on my home network.
    I am able to connect to it using finder by doing cmd+k and selecting it from the list (which I set up at some point). and 'selecting the volume i want to mount' I am then able to browse the share happily and all is well.
    However, once I have done what I was doing and then closed my finder window. if i open another finder window, the share does not appear anywhere and I have to reconnect, sadly at this point, after doing the initial cmd+ K and selecting the network share, the particular volume i mounted before is greyed out and I cannot in fact re-mount it at all.
    I imagine this is because somewhere, finder still has the network volume mounted, and if I could only find it I could browse it as before.
    so i am left with having to reboot, as I simply dont know how to find the mounted volume.
    it may be that it is in fact not still mounted, in which case I am stumped.
    if anyone could offer some explanation and solution to this, i would be most grateful.
    many thanks
    nat
    ps. having fired up the terminal, it seems that the volume in question is in fact in the /Volumes folder, but I cant seem to find that in the finder.
    pps. saying the above - actually as I installed XtraFinder I can navigate up until I have the root level and it is indeed there

    I had the same problem. While logged in as root, I can't use an alias or Cmd+K to connect to a server, but it works fine as any other user. I tried the link above and after reading the mount_afp man page, it describes two steps needed to mount a server. Here's what I had to put in Terminal to mount a share called Installers:
    The root account does not seem to be getting past the first step when using Cmd+K or an alias to a network share, although this worked in previous versions of OSX.
    This problem was not fixed in 10.7.1

  • Sometimes after putting my iMac to sleep, I can't get it to wake up and have to turn it off at the mains. Any ideas why?

    Sometimes after putting my iMac to sleep, I cannot get it to wake up again. It's as if it's shut down and I have to turn it off at the mains and restart it.  Any ideas why? Does this keep happening to anybody else?

    That message means that you have to restore the iPad now. Something went wrong. You need to restore the iOS software and then restore from the backup.
    Read this carefully and follow the instructions. Make sure that you restore from your backup at the end of the process. That is covered at the bottom of the support article.
    http://support.apple.com/kb/HT1414

  • MBP takes long time to restore wired network connection after wake-up

    Hello...
    My Mid-2010 MBP (MacBookPro6,2) has been experiencing this problem recently -- Whenever I wake up the computer from sleep, it needs approximately 10 seconds to restore its wired network connection. I know there are other annoying connection issues with MBP's WiFi/AirPort out there, but I'm talking about the wired connection here.
    Maybe some don't even think this slowness is a problem at all, but this laptop used to be network-ready right after wake-up until 3~4 months ago. That was around the time when I upgraded to SSD and changed some settings via pmset, not sure if that's the culprit. It is now running OS X 10.8.5 and its pmset settings are:
    Battery Power:
    lidwake              1
    ttyskeepawake        1
    hibernatemode        3
    gpuswitch            2
    hibernatefile        /var/vm/sleepimage
    displaysleep         2
    sleep                15
    acwake               0
    halfdim              1
    sms                  0
    lessbright           1
    disksleep            10
    AC Power:
    lidwake              1
    ttyskeepawake        1
    hibernatemode        0
    gpuswitch            2
    hibernatefile        /var/vm/sleepimage
    womp                 1
    displaysleep         10
    networkoversleep     0
    sleep                60
    acwake               0
    halfdim              1
    sms                  0
    disksleep            0
    I'd appreciate help of any kind
    Thanks,
    zuoy

    Maybe try this, i am not sure that it will resolve the problem, but it is worth trying anyways.
    http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/eef49e64-157c-4082-8e80-52e48309691f
    Hi All,
    I've seen this problem multiple times, especially with Windows 7 64-bit versions and Enterprise edition.  The source of the problem appears to be the Bonjour service that is installed in the background and set to "Automatic" when installing certain 3rd
    party applications.  Apple applications like iTunes and Adobe applications like Acrobat Professional and Creative Suites have been known to cause this problem.  I've also seen virtualization software like VMWare and VirtualBox cause similar issues
    with network adapters.
    The solution in most of the cases I've come across has been to stop and disable the Bonjour service.  The Bonjour service also masquerades as a service with a name of the format "##Id_String1.6844F930_blahblahblah".  Here's how to disable this service
    in Windows 7:
    Right-Click on Computer > Select 'Manage'
    Expand the 'Services and Applications' section in the bottom of the Left-Nav dialog and Select 'Services'
    Sort the Services list by name and look for either "Bonjour" or the "##Id_String..." name mentioned above
    Right-Click on the service and select 'Properties'
    Click the 'Stop' button to stop the service
    Select 'Disabled' from the 'Startup type' drop down list
    Click 'Apply' and then 'OK'
    Reboot your machine and see if the "Multiple Networks" issue is resolved.  If so, you should have internet connectivity again.
    Hope this helps.
    cheers,
    Aaron

  • After moving shared profiles to Windows 7/32 Pro PC, I can't access them from XP box mapped to the profile share (P:\Profiles...) after editing profiles.ini to point to the network share. I can edit files in the profile directory from XP.

    Previous configuration: Shared profiles located at D:\profiles\ on PC1 (XP Pro SP3). 2nd PC (PC2 also XP Pro SP3) mapped to \\PC1\Profiles via mapped drive P: and using absolute reference in profiles.ini on PC2. Remote profiles work OK on PC2.
    New PC added (PC7) to eventually replace PC1 (Windows 7/32 Pro). Profiles moved to D:\Profiles on that box. Firefox and Thunderbird work fine on PC7 with the local profiles. Profiles.ini edited on PC1 to point to the network share and will not access the remote profiles. Access permissions are set to full for everyone. I can write and edit to files in the profile directories from PC1.
    I tried adding a profile with the profile manager and tried to force it to use the network share, but it still located the new profile down in the default directory ...\application data\Mozilla\Firefox\

    Well, try this (I was able to fix my with these steps):
    Go Utilities > Disk Utility
    Select your Startup Disk, e.g. Macintosh HD
    Then, under the First Aid Tab, click Verify Disk Permissions.
    If there are errors, then click repair Disk Permissions.
    After it is done, restart the computer and see if your problem is resolved.
    I hope this help.
    Zeke
    www.ZekeYuen.com/blog/

Maybe you are looking for