lasasminnesota.blogg.se

Mac network drive wont stay mounted
Mac network drive wont stay mounted





  1. MAC NETWORK DRIVE WONT STAY MOUNTED OFFLINE
  2. MAC NETWORK DRIVE WONT STAY MOUNTED PLUS

What it does is check to see if the drives “Movies” and “TV (HD)” exist if they do NOT (because the drive has disconnected), it will TRY to mount the volume. Save the applescript but make sure the “ stay open” checkbox is checked. Ret urn 5 - this repeats the loop every 5 seconds this value can be increased. Mount volume “TV (HD)” on server “serverbox” Mount volume “Movies” on server “serverbox” If isConnected = false then - this checks variable “isConnected” and if “false” then it tries to mount the volume given the server name (or ip address). Set isConnected2 to disk “TV (HD)” exists Set isConnected to disk “Movies” exists - this checks to see if “Movies” exists (mounted) then sets a true/false value to the variable “isConnected”. # Save this as an applescript application with the “always open” checkbox checked. Type Applescript Editorin your OS X spotlight search and open it. To remount network drives that were disconnected, you first need to create an Applescript. Now how do we re-mount a drive if the datastore itself is rebooted? There are a couple methods, but the method below is perhaps the easiest and not as difficult to learn as the other method which involves Terminal commands. This will mount your drives when the OS X machine is restarted.

MAC NETWORK DRIVE WONT STAY MOUNTED PLUS

You can accomplish this by going to Apple Symbol (in top left of menu bar) then System Preferences.Ĭlick the Userthen Login Itemsthen click the plus symbol and select the network folder. We’ll start by talking about the first scenario: having your drives mount automatically when you reboot your OS X computer: This will mount your drives, but what this will not do is keep them mounted if you reboot your OSX machine OR if your file-server is rebooted. (in my case I type smb://serverbox/Movies, and smb://serverbox/TV (HD)) The “Movies” and “TV Shows” folders are on another server and I have them mapped using smb in Finder:Ĭlick finder > click “Go” in the menu bar (or press CMD+K) > then type in the server address: smb://server_ip So here is the scenario: I have a Plex server on an OSX virtual machine.

MAC NETWORK DRIVE WONT STAY MOUNTED OFFLINE

Unfortunately, this does not reconnect the network drives if the server itself goes offline and then comes back online. There is indeed a method to connect network drives when OS X boots up (the instructions are below for this). I needed a solution that would automatically reconnect my network drives from a file server when it disconnects and reconnects.







Mac network drive wont stay mounted