AFP volumes unmounts when using fast user switching!
In Mountain Lion AFP volumes unmounts when using fast user switching!
Tested on two direct computers (same Lion server)
Anyone else having this problem?
iMac, OS X Mountain Lion
Apple Event: May 7th at 7 am PT
In Mountain Lion AFP volumes unmounts when using fast user switching!
Tested on two direct computers (same Lion server)
Anyone else having this problem?
iMac, OS X Mountain Lion
This is what I see in log file when changing user via fast user switching:
kernel[0]: AFP_VFS afpfs_unmount: /Volumes/****
kernel[0]: AFP_VFS afpfs_unmount: /Volumes/****
kernel[0]: AFP_VFS afpfs_unmount : We are the last mnt/sbmnt using volume /Volumes/*****
kernel[0]: AFP_VFS afpfs_unmount : We are the last mnt/sbmnt using volume /Volumes/*****
kernel[0]: AFP_VFS afpfs_unmount : We are the last volume using socket /Volumes/*****
kernel[0]: AFP_VFS afpfs_unmount : afpfs_DoReconnect sent signal for unmount to proceed
kernel[0]: AFP_VFS afpfs_unmount : afpfs_DoReconnect sent signal for unmount to proceed
Anyone found a way to change this behavior
I have exactly the same problem, as a work around I have created a script that will re-mount the drives.
yep, the same problem here, but without user switching.
I have updated a lion server to mountain lion and are now experiencing disconnections on all users.
PS: The update is some kinda awkward. First update the the 10.7.4 Server to 10.8 Client, than install the Server.app and make it a server again. I am not sure, if this is a good thing... and VPN is broken too, and I am missing the firewall. I do not want to fummle around with terminal to edit my extensive rules I made... ;-(
This question is answered here. It solved my afp-disconnect problem.
https://discussions.apple.com/thread/4140142?answerId=19086127022#19086127022
I dont think tis is the same problem,
As far as I can tell the https://discussions.apple.com/thread/4140142?answerId=19086127022#19086127022 discussion is about local volumes (via firewire, USB) unmounting.
I tryed:
sudo defaults write /Library/Preferences/SystemConfiguration/autodiskmount AutomountDisksWithoutUserLogin -bool YES
but it made no diffrens in my AFP volume problem. :-(
Did you reboot after the terminal command? I have the same situation here... External FW-Drives and lots of shares on it.
Yes, I did a reboot.
My problem is NOT on OS X server. (I never logout from my admin account or use fast user switching on my server)
My problem is on OS X Client with mounted AFP volumes (not USB or FireWire harddrives)
* Lion Client with mounted AFP volume(s) from Lion Sever = remains mounted when using fast user switching
* Lion Client with mounted AFP volume(s) from Mountain Lion Sever = remains mounted when using fast user switching
* Mountain Lion Client with mounted AFP volume(s) from Lion Sever = Unmount when using fast user switching
* Mountain Lion Client with mounted AFP volume(s) from Mountain Lion Sever = Unmount when using fast user switching
In my case it´s a problem on with Mountain Lion Client.
I too have exactly the same issue. It is certainly a bug in Mountain Lion and I've logged it with Apple.
The only "fix" I can find if you want to keep running Mountain Lion is to stop using AFS and use SMB until the bug is resolved.
I dislike SMB as the network performance is 50% slower than AFS.
I have this problem too. My iMac is connected via ethernet to a QNAP NAS, and whenever I lock the computer, all AFP shares are unmounted. Upon unlocking, the shares have to be manually mounted again. For people who keep their iTunes library on a network share, this must be particularly frustrating. That's not the case for me, but I do need access to other files and resources stored on the NAS, so I depend on keeping my AFP mounts alive even when I lock my computer.
This never happened under Lion or Snow Leopard. Hopefully this is a bug.
OK, the 10.8.2 update solved my problem!
Thanks Apple! :-)
noben,
Was there anything else that could have resolved your issue? I'm on 10.8.3 and have a AFP Volume that removes itself every few minutes. It's driving me crazy. I also see the same logs as you in Console. Any help you could give me would be immensely appreciated. Especially since this is my CEO's iMac. :'-(
Was there anything else that could have resolved your issue?
No, dont think so. 10.8.2 solved my problem on two computers.
AFP volumes unmounts when using fast user switching!