Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

SMB shares disconnect from 2012 iMac when it wakes

I just upgraded from a 2009 iMac with Mountain Lion to a 2012 i7 based 27 inch iMac. I have an apple script that runs at login to mount a series of SMB shares and this has been working fine for years with other Macs. The SMB shares sit on a Synology NAS on a wired gigabit network (the iMac is also on gigabit wired network).


I observe that sometimes when the new Mac is woken from sleep, the SMB shares have vanished. I tried to contact Apple Support about this and was told that "we don't support SMB, we only support drives plugged into the Mac". How surprising and disappointing. So now I'm wondering if anyone in the community can help.


I notice in the log of this Mac that when sleeping it wakes up every 2 hours on the nose (I'm not sure why... ) One of those times when it wakes up, the shares are punted. It seems as though perhaps the Mac is having trouble re-establishing network connectivity to the NAS after the wake-up, but why? What can I try to do to remedy this short of replacing equipment on the network?


Here's what is in the logs (user name and passwd redacted)


[code]

/1/13 4:15:33.000 AM kernel[0]: Previous Sleep Cause: 5

2/1/13 4:15:33.000 AM kernel[0]: Previous Shutdown Cause: 0

2/1/13 4:15:33.000 AM kernel[0]: TBT W (2): 0x0100 [x]

2/1/13 4:15:33.000 AM kernel[0]: AppleBCM5701::selectMedium - autoselect, any duplex, EEE allowed, flow control allowed

2/1/13 4:15:33.000 AM kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link down on en0

2/1/13 4:15:33.000 AM kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en0, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,0301,0de1,0300,cde1,3800]

2/1/13 4:15:33.000 AM kernel[0]: Graphics suppressed 6317 ms

2/1/13 4:15:33.519 AM hidd[61]: MultitouchHID: device bootloaded

2/1/13 4:15:33.811 AM configd[17]: network changed: v4(en0-:192.168.0.110) DNS- Proxy- SMB

2/1/13 4:15:33.901 AM com.apple.time[11]: Next maintenance wake [Backup Interval]: <date: 0x7fe64cb0f4d0> Thu Jan 31 23:59:10 2013 MST (approx)

2/1/13 4:15:33.901 AM com.apple.time[11]: Requesting maintenance wake [Backup Interval]: <date: 0x7fe64cb0f4d0> Thu Jan 31 23:59:10 2013 MST (approx)

2/1/13 4:15:34.576 AM KernelEventAgent[59]: tid 00000000 received event(s) VQ_DEAD (32)

2/1/13 4:15:34.577 AM KernelEventAgent[59]: tid 00000000 type 'smbfs', mounted on '/Volumes/home', from '//jason@bogart/home', dead

2/1/13 4:15:34.577 AM KernelEventAgent[59]: tid 00000000 force unmount //jason@bogart/home from /Volumes/home

2/1/13 4:15:34.578 AM KernelEventAgent[59]: tid 00000000 found 1 filesystem(s) with problem(s)

2/1/13 4:15:34.613 AM KernelEventAgent[59]: tid 00000000 received event(s) VQ_DEAD (32)

2/1/13 4:15:34.615 AM KernelEventAgent[59]: tid 00000000 type 'smbfs', mounted on '/Volumes/Movies', from '//jason@bogart/Movies', dead

2/1/13 4:15:34.618 AM KernelEventAgent[59]: tid 00000000 force unmount //jason@bogart/Movies from /Volumes/Movies

2/1/13 4:15:34.626 AM KernelEventAgent[59]: tid 00000000 type 'smbfs', mounted on '/Volumes/Music', from '//jason@bogart/Music', dead

2/1/13 4:15:34.629 AM KernelEventAgent[59]: tid 00000000 force unmount //jason@bogart/Music from /Volumes/Music

2/1/13 4:15:34.666 AM KernelEventAgent[59]: tid 00000000 type 'smbfs', mounted on '/Volumes/Photos', from '//jason@bogart/Photos', dead

2/1/13 4:15:34.667 AM KernelEventAgent[59]: tid 00000000 force unmount //jason@bogart/Photos from /Volumes/Photos

2/1/13 4:15:34.674 AM KernelEventAgent[59]: tid 00000000 type 'smbfs', mounted on '/Volumes/Public', from '//jason@bogart/Public', dead

2/1/13 4:15:34.674 AM KernelEventAgent[59]: tid 00000000 force unmount //jason@bogart/Public from /Volumes/Public

2/1/13 4:15:34.681 AM KernelEventAgent[59]: tid 00000000 type 'smbfs', mounted on '/Volumes/Videos', from '//jason@bogart/Videos', dead

2/1/13 4:15:34.682 AM KernelEventAgent[59]: tid 00000000 force unmount //jason@bogart/Videos from /Volumes/Videos

2/1/13 4:15:34.695 AM KernelEventAgent[59]: tid 00000000 type 'smbfs', mounted on '/Volumes/TV', from '//jason@bogart/TV', dead

2/1/13 4:15:34.697 AM KernelEventAgent[59]: tid 00000000 force unmount //jason@bogart/TV from /Volumes/TV

2/1/13 4:15:34.697 AM KernelEventAgent[59]: tid 00000000 found 6 filesystem(s) with problem(s)

2/1/13 4:15:34.730 AM configd[17]: network changed: v4(en0+:192.168.0.110) DNS+ Proxy+ SMB

2/1/13 4:15:34.733 AM coreservicesd[34]: SFLEntryBase::ListHasChanged mach_msg returned 10000004d

2/1/13 4:15:34.734 AM coreservicesd[34]: SFLEntryBase::ListHasChanged mach_msg returned 10000004d

2/1/13 4:15:36.741 AM mDNSResponderHelper[12635]: do_mDNSInterfaceAdvtIoctl: ioctl call SIOCGIFINFO_IN6 failed - error (22) Invalid argument

2/1/13 4:15:36.742 AM mDNSResponderHelper[12635]: do_mDNSInterfaceAdvtIoctl: ioctl call SIOCGIFINFO_IN6 failed - error (22) Invalid argument

2/1/13 4:15:39.670 AM ath[11956]: lockssl_handshake (thread 0x7fff7ace9180): SSL handshake fatal lower level error -1: SSL_ERROR_WANT_READ

2/1/13 4:15:46.167 AM SyncServer[12690]: [0x7fd4f940bd70] |DataManager|Warning| Client com.apple.Mail sync alert tool path /System/Library/Frameworks/Message.framework/Resources/MailSync does not exist.

2/1/13 4:15:46.531 AM com.apple.usbmuxd[42]: HandleUSBMuxConnect Client 0x100502a10-AppleMobileDeviceHelper/com.apple.SyncServices.AppleMobileDeviceHel per requesting attach to 0x7a:62078 failed, no such device

2/1/13 4:15:46.538 AM AppleMobileDeviceHelper[11957]: AMDeviceConnect (thread 0x7fff7ace9180): Could not connect to lockdown port (62078) on device 122 - 2e028d911ba6cccc9d133418ec87aae39f56fd09: 0xe8000084.

2/1/13 4:15:46.545 AM AppleMobileDeviceHelper[11957]: 11957:2060358016|DeviceLinkListener.c:_copyMobileDeviceValue| ERROR: Could not connect to attached device: This device is no longer connected. (132)[/code]

Posted on Feb 1, 2013 8:33 AM

Reply
9 replies

Feb 1, 2013 12:39 PM in response to Eric Root

Hi Eric. I'm already running an Apple Script at boot time to mount the shares and it is working properly. The issue is that after sleep/wake, sometimes, as you can see from the above log, OS X has ejected the shares due to the VQ_DEAD (32) event.


This looks to me like some kind of bug. What's interesting is that it could be related to the alarm wake-up event which is related to the power management option to allow the network wake to happen, I believe that every 2 hours the Mac wakes for Bonjour to announce itself on the network.... sometimes this goes without event, other times the aforementioned problem with shares happens.


Did not happen with previous 2009 iMac with same options and same smb mounting script.

Feb 2, 2013 9:27 AM in response to jmpage2

I might have found a workaround of sorts to this problem. I have taken two actions and the Mac has slept two nights in a row (plus of course throughout the day) without the shares being unmounted.


  1. I set a static IP address instead of DHCP.
  2. I turned off the "wake for network access" option in power management.


This is just a workaround and I will have to keep an eye on it. Thanks Apple for the terrible tech support, that forced me to investigate my own workaround since you probably would have wasted my time anyway.

Nov 13, 2013 1:51 PM in response to jmpage2

I am seeing the exact same problem, only in my case it is involving an SMB share from a CentOS linux box running Samba 3.6.9-151, I have a late 2012 Mac mini, and am running OS X 10.9 Mavericks. Except in my case the machine never goes to sleep (it is a media center/server machine that runs 24/7 so I have Energy Saver set to never sleep the machine, plus I am running Caffeine, a little menu bar app that also prevents system sleep). However I am still seeing the exact same symptoms (VQ_DEAD and smb share randomly disappearing). In addition I sometimes also see the error code VQ_NOTRESP. All of my machines (including the Linux file server) are connected via hardwired Ethernet, so WiFi interference/weirdness is out of the question, and other connections to the same machine (ssh sessions, etc.) remain up as well, so network connectivity doesn't seem to be the issue either.

SMB shares disconnect from 2012 iMac when it wakes

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.