Actually, you can do better: you can mount the remote resources only when needed. This is done by means of automount, a program that comes with your OS.
Suppose you have a NAS server called MyNAS, with a share called MyMusic, and you want to instruct automount to mount the share only if you are trying to access it. Then add this line
/MyMusicMountPoint auto_resources
to the file /etc/auto_master; here /MyMusicMountPoint is whatever mount point you choose for the remote resource MyMusic. Then create a file called /etc/auto_resources with the following line:
MyMusic -fstp=smbfs ://MyNAS/MyMusic
Now, when you start automount by means of the simple command automount, you will find the SMB share in /MyMusicMountPoint/MyMusic.