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]