PDA

View Full Version : Permanent drive mapping to nas device


Porcelain Gods
05-03-2007, 12:19 AM
I have my music library held on a NAS device and map a smb share to this to allow itunes to see the music library. To allow the share to be mapped when I switch on my mac mini I have added the share to my login items in system preferences. This all works well and itunes/squeezebox can see the library and play music quite happily. The problem lies after the mac mini has gone to sleep, upon being woken it has dropped the connection to the share on the nas which results in itunes/squeezebox being unable to access my music library.

Does anyone know a way to make this share be made permanently available and the connection be automatically restored (using some kind of automount volume command) when my mac comes out of sleep mode?

Thanks in advance

rob_finch
05-03-2007, 8:42 PM
Hi,

I needed something similar to automount NFS shares and found some useful info about the NetInfo Manager app. Look at this (http://www.braindead.nu/wordpress/?page_id=65) page and scroll down to the section entitled "## Setting automounter in Mac OS X", it gives a good guide there.

Not sure if it will work after coming out of sleep mode, but worth a try. Hope it helps,

Rob.

ancientgeek
06-03-2007, 3:59 PM
Google is your friend (http://www.busyashell.com/blog/articles/2007/02/06/how-i-share-our-itunes-library-with-multiple-macs-and-my-nas)

Porcelain Gods
06-03-2007, 11:52 PM
Hi,

I needed something similar to automount NFS shares and found some useful info about the NetInfo Manager app. Look at this (http://www.braindead.nu/wordpress/?page_id=65) page and scroll down to the section entitled "## Setting automounter in Mac OS X", it gives a good guide there.

Not sure if it will work after coming out of sleep mode, but worth a try. Hope it helps,

Rob.

Rob,

This is slightly better than what I had, I no longer get a finder windows popping up with my shares every time I login. It still fails to re-establish the connection after going into sleep mode. I guess I will have to keep looking.

Thanks for your help

Porcelain Gods
07-03-2007, 7:30 AM
Google is your friend (http://www.busyashell.com/blog/articles/2007/02/06/how-i-share-our-itunes-library-with-multiple-macs-and-my-nas)

Thanks ancientgeek. This looks very promising I will try this out later tonight.

Porcelain Gods
07-03-2007, 6:04 PM
ancientgeek.

Thanks again, I've just tried the sleepwatcher program and it works a treat and does exactly what I am looking for.

:thumbsup: :thumbsup: