Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Whenever my NFSv4 server becomes unreachable a little window pops up offering me to disconnect the affected shares.

It looks like this:

Server connections interrupted dialog

If I choose to Ignore iTunes becomes unresponsive because of the playlists that point to MP3 files located on those NFS shares that have become unreachable. I can force quit iTunes but it can never be started again. Its status becomes Not Responding, the icon jumps for a while in the dock and that's all that happens.

So, sometimes it makes sense to Ignore those stale connections to NFS shares because I know the NFS server will become available soon, but other times this ruins everything for me and I effectively cannot use iTunes until connection with the NFS server is established again. Which can "resume" an application from a freezed state immediately, btw.

My question is, can I make that little pop-up window show itself on demand somehow (run a command in Terminal, hot key, etc.) or run a terminal command to forcibly disconnect stale NFS mounts?

OS X 10.8.2, iTunes 11.0 and NFSv4 server on Arch Linux

share|improve this question
add comment

1 Answer 1

rWhen you kill iTunes, do you kill iTunes Helper too?:

$ ps -cef | grep iTunes
1001  7878   243   0  8:30AM ??         0:05.38 iTunes
1001  7882   243   0  8:31AM ??         0:00.03 iTunesHelper

If you can't kill iTunesHelper also, you will need to add "intr" to the mount options. Having done that, you should be able to stop processes waiting on IO from the unavailable filesystem. Once you can get rid of processes using the filesystem, you should be able to umount it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.