Problem with mounting a network share

Soldato
Joined
18 Oct 2002
Posts
15,713
Location
North Wales
Hi,

I have a NAS which stores all my media and downloads etc. At the moment I'm mounting it at boot by using the "Login Items" in the user preferences, which opens up the volume in finder when I boot. Although this isn't ideal, it's fine for now. But the problem I have is that it keeps changing the volume name which is mounted.

For instance, it will either be:

Volume_1 (which is the name of the folder on the NAS)
or Volume_1-1 (I assume because it's some sort of duplicate...)


How can I rectify this? It's causing my grief because I can't direct any apps to use this as a default location eg iTunes


Thanks
 
It's best to give the nas a fixed IP address, then use the local host file on the machine to assign a name to the nas.

That way you should just have to refer to it by name and can mount it via script or login item and the name shouldn't change.
 
The NAS already has a fixed IP. When I've tried using 'Connect to Server' and using the hostname instead - it always prompts me to login with a username/password - but the NAS it setup for Anon access, meaning it prompts me everytime.
 
If you use remember in keychain, that should store your username and passed and shouldn't as you again.
 
I don't know a fix but the times when I see this is when I've slept my Mac with NAS shares mounted. Then when it's resumed it does as the OP describes instead of re-establishing the existing mounts. The "fix" I use is to manually unmount the shares at shutdown.
 
Trouble is if you are just sleeping the system rather than shutting it down then you are not actually logging out, just suspending and locking the system, so a login/logout scripts wouldn't be run?
 
I'm connected to several server drives at work, I've never had any issues with them, nor as the people that I support. I'm not trying to say the issue don't exist, as we use AD and NTFS/AFP folder permissions and not anon logins..

if you set the permissions to the share as staff, its be the same as auth user, so any valid username and password will work to access the drive.
 
Been playing around with this some more, and it still doesn't play ball at all. Even with an account setup on the nas instead of using the guest account - it still either mounts as Volume_1 or Volume_1-1 and never the same thing...


Is there anyway I can explicitly tell OSX what to name the mounted volume?
 
Back
Top Bottom