macOS users - AutoMount your Shares


Recommended Posts

  • Replies 232
  • Created
  • Last Reply

Top Posters In This Topic

Been using this script for a while. Now I wondering how to disable it once the Margarita update is released now that the Margarita update is out. I'm guessing I need to at least delete mount.sh and com.media.mount.plist. And probably reboot. Is this all or did I miss something?

 

That is correct - just delete those two files. Cheers.

 

Any chance the iTunes functions from the script will show up here? That's 99% of the reason I run it.

 

Also, I think something in OS X Sierra GM broke something. It only mounts my first share listed. I will see how it performs with official release.

 

Been using this script flawlessly since you uploaded it, great work. And, as I've told you before Great work on all the Margarita forks. 

Link to comment

Been using this script for a while. Now I wondering how to disable it once the Margarita update is released now that the Margarita update is out. I'm guessing I need to at least delete mount.sh and com.media.mount.plist. And probably reboot. Is this all or did I miss something?

 

That is correct - just delete those two files. Cheers.

 

Any chance the iTunes functions from the script will show up here? That's 99% of the reason I run it.

 

Also, I think something in OS X Sierra GM broke something. It only mounts my first share listed. I will see how it performs with official release.

 

Been using this script flawlessly since you uploaded it, great work. And, as I've told you before Great work on all the Margarita forks.

 

Correct me if I am wrong but I guess I could leave the mounting up to Margarita and still use the iTunes portion of the script?

Link to comment

Any chance the iTunes functions from the script will show up here? That's 99% of the reason I run it.

 

Unlikely - but at the same time this could be resolved using a script that detects if a mount is there.

 

Also, I think something in OS X Sierra GM broke something. It only mounts my first share listed. I will see how it performs with official release.

 

OS X Sierra stops you from being able to mount anything in /Volumes unless you elevate privileges as root. If you are root and you mount a volume, it does not show up on your user Desktop.

Link to comment
  • 5 weeks later...

Any plans to update this script for MacOS Sierra? I've used this script for a while and has worked great until I installed Sierra. I see that you added the functionality to your Margarita app... I don't have an unraid server so it's not much use to me other than the script mounting part. Does the Margarita app keep the share mounted/automatically remount if disconnected like the script does? Can you use Margarita even if you don't have an unraid server? Have you thought about breaking it out into a separate app?

Link to comment

Version 1.2 out shortly, which has the following enhancements and bug fixes:

 

- Added ability to only mount shares from a server if your connected WiFi Name (SSID) matches what you configure

- Optionally send Wake On LAN magic packet to a server when your network changes

- Enhanced device finder

- UI enhancements

- Bug fixes

Link to comment

@speeding_ant, RE: Margarita

 

When editing preferences, the "Done" button is invisible until you hover over it.  If the button starts out invisible, how does the user know where to hover in order to see it?  First image shows the Preferences dialog.  Second image shows Preferences dialog when cursor is over the location of the "Done" button.

 

Screen_Shot_2016-10-14_at_3_33.14_PM.png.9fe4f3050dd1a1640269b0852464dcc9.png

Screen_Shot_2016-10-14_at_3_33.32_PM.png.97fc3411c3a89f8ee7e2c6e0cbc37475.png

Link to comment

Just bought Margarita and it can not connect to an unraid 6 server on the other side of a site 2 site VPN. Server is available via command line and everything else is working, no blocked ports internally or whatsover. It says "Error with connection". Any hints what to check? Thanks.

 

 

Link to comment
  • 1 month later...
  • 1 month later...

Looking at my logs I see this entry repeated over and over-

Jan 12 04:40:55 Brunnhilde vsftpd[6209]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:42:01 Brunnhilde vsftpd[8269]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:43:07 Brunnhilde vsftpd[10427]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:44:13 Brunnhilde vsftpd[12436]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:45:13 Brunnhilde vsftpd[14307]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:46:19 Brunnhilde vsftpd[16320]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:47:25 Brunnhilde vsftpd[18439]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:48:31 Brunnhilde vsftpd[20663]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:49:37 Brunnhilde vsftpd[22611]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:50:38 Brunnhilde vsftpd[24489]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:51:43 Brunnhilde vsftpd[26502]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:52:50 Brunnhilde vsftpd[28655]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:53:55 Brunnhilde vsftpd[30656]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:55:02 Brunnhilde vsftpd[32730]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:56:02 Brunnhilde vsftpd[2198]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:57:08 Brunnhilde vsftpd[4348]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:58:14 Brunnhilde vsftpd[6356]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:59:20 Brunnhilde vsftpd[8424]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:00:20 Brunnhilde vsftpd[10307]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:01:26 Brunnhilde vsftpd[12589]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:02:32 Brunnhilde vsftpd[14657]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:03:38 Brunnhilde vsftpd[16831]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:04:44 Brunnhilde vsftpd[18939]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:05:44 Brunnhilde vsftpd[21051]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:06:50 Brunnhilde vsftpd[23280]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:07:56 Brunnhilde vsftpd[25455]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:09:02 Brunnhilde vsftpd[27544]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:10:04 Brunnhilde vsftpd[29589]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:11:04 Brunnhilde vsftpd[31635]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:12:10 Brunnhilde vsftpd[1393]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:13:16 Brunnhilde vsftpd[3582]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:14:22 Brunnhilde vsftpd[5758]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:15:22 Brunnhilde vsftpd[7529]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:16:28 Brunnhilde vsftpd[9731]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:17:34 Brunnhilde vsftpd[11915]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:18:40 Brunnhilde vsftpd[14111]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:19:46 Brunnhilde vsftpd[17399]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:20:47 Brunnhilde vsftpd[21758]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:21:47 Brunnhilde vsftpd[23939]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:22:53 Brunnhilde vsftpd[28157]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:23:59 Brunnhilde vsftpd[30712]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:25:04 Brunnhilde vsftpd[530]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:26:04 Brunnhilde vsftpd[4921]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:27:11 Brunnhilde vsftpd[6817]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:28:16 Brunnhilde vsftpd[8971]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:29:17 Brunnhilde vsftpd[10910]: connect from 10.0.1.190 (10.0.1.190)

 

I'm not positive, but my guess is that it's because I'm using AutoMounter to keep the shares mounted. Just looking for a way to reduce the log size?

Link to comment

Thanks for the confirmation. My log is at 51% after 3 days, so I need to figure out something. Had to quit AutoMounter temporarily so I don't run out of memory.

 

Yikes, are logs stored in RAM only? Perhaps unRAID should implement log rolling with compression too perhaps...  what would happen if a drive spat a ton of IO errors? unRAID would run out of memory?

Link to comment

Thanks for the confirmation. My log is at 51% after 3 days, so I need to figure out something. Had to quit AutoMounter temporarily so I don't run out of memory.

 

Just FYI, if this is a problem that is preventing the use of AutoMounter, you can remove the ftp logging entries by using SED:

 

sed -i "/\b\(vsftpd\)\b/d" /var/log/syslog 

 

Worst case you can cron that command every few hours until another solution presents itself. I can't see a configuration option in vsftp to limit that logging..

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.