Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!



Share:
Notifications
Clear all

ConnectMeNow - Issues with mount directories

2 Posts
1 Users
0 Reactions
10 Views
 Hans
(@hans)
Famed Member Admin
Joined: 13 years ago
Posts: 3109
Topic starter  

This is originally from a post by Christian (link) but was moved to the forum due to the large log posts.

 

Hello Hans,

for SMB shares it seems to work.

But I think there is an issue with NFS shares:

I checked the options: Custom Path and “Do not create sub-directory for mounting” / Mount-Point: ~/mnt

When I mount the path I get the following output in the Log Window:

16:38:37 │ Mount requested for: "backup (dxp4800-plus)"
16:38:37 │ - Max Attempts = 1
         │ Attempts Left = -1
         │ Last Attempt = n/a
16:38:37 │ - Doing default short mount delay (1 second)
16:38:39 │ - Starting mount background task
16:38:39 │ - RETRY MOUNT TIMER: Started 1 minute timer for remount attempts
16:38:39 │ - Enabled timer for potential extra mount attempts
16:38:39 │ - Thread started
16:38:39 │ Mount status update:
         │ Mount/Open Networkshare feedback (Commandline): 
         │ Mount attempt through Commandline:
         │ 
         │ - Mount path: ~/mnt
         │ - Error - Unable to access or create mount path
16:38:39 │ Thread - Calling for forced status update (only shows results if something changed)
16:38:39 │ -- STATUS UPDATE - THREAD CALLBACK ------------------------------------------------
         │ 
16:38:39 │ Update type
         │ - Initial read : -
         │ - Timed Interval : -
         │ - Get Network info : -
         │ - Forced Update : YES
         │ 
         │ Status Interval : 10000 milliseconds
         │ Interval Interrupts : 500 milliseconds
         │ Failed mount after : 30000 milliseconds
         │ 
         │ Default gateway : 192.168.3.249 (MAC: D8:B3:70:29:2A:6B)
         │ 
16:38:39 │ - Mount Status Updated: Counted 7 active share(s)
16:38:39 │ - Active share: home-christian (dxp4800-plus)(Path: /Users/christian/mnt/home-christian (dxp4800-plus))
16:38:39 │ - Active share: Media-Common (dxp4800-plus)(Path: /Users/christian/mnt/Media-Common (dxp4800-plus))
16:38:39 │ - Active share: Media-Own (dxp4800-plus)(Path: /Users/christian/mnt/Media-Own (dxp4800-plus))
16:38:39 │ - Active share: paperless (dxp4800-plus)(Path: /Users/christian/mnt/paperless (dxp4800-plus))
16:38:39 │ - Active share: Storage (dxp4800-plus)(Path: /Users/christian/mnt/Storage (dxp4800-plus))
16:38:39 │ - Active share: Storage-NB (dxp4800-plus)(Path: /Users/christian/mnt/Storage-NB (dxp4800-plus))
16:38:39 │ - Active share: TEMP (dxp4800-plus)(Path: /Users/christian/mnt/TEMP (dxp4800-plus))
16:38:39 │ - Matched 7 Network shares. (matched all)
16:38:39 │ 
         │ -- STATUS UPDATE - COMPLETED ------------------------------------------------------
16:38:39 │ - RETRY MOUNT TIMER: Stopping timer
16:38:39 │ - RETRY MOUNT TIMER: Quiting, nothing left to retry, and no Fallback servers left either
16:38:39 │ - Updating "Mount onAppear" list
16:38:39 │ - Updating "Mount onAppear" list
16:38:39 │ Updating Tray Menu
If I unset the checkbox for "Do not create sub-directory for mounting", the output is as follows:
16:42:02 │ Mount requested for: "backup (dxp4800-plus)"
16:42:02 │ - Max Attempts = 1
         │ Attempts Left = -1
         │ Last Attempt = n/a
16:42:02 │ - Doing default short mount delay (1 second)
16:42:03 │ - Starting mount background task
16:42:03 │ - RETRY MOUNT TIMER: Started 1 minute timer for remount attempts
16:42:03 │ - Enabled timer for potential extra mount attempts
16:42:03 │ - Thread started
16:42:03 │ Mount status update:
         │ Mount/Open Networkshare feedback (Commandline): 
         │ Mount attempt through Commandline:
         │ 
         │ - Mount path: /Users/christian/mnt/mnt (dxp4800-plus)
         │ - CMD: mount_nfs -o nfc "dxp4800-plus:/mnt/nvme/backup" "/Users/christian/mnt/mnt (dxp4800-plus)"
         │ - Result: Mount request did not return an error (not a guarantee that it worked though!)
16:42:03 │ Thread - Calling for forced status update (only shows results if something changed)
16:42:03 │ System Mount Callback: "/Users/christian/mnt/mnt (dxp4800-plus)"
16:42:03 │ Thread - Calling for forced status update (only shows results if something changed)
16:42:03 │ -- STATUS UPDATE - THREAD CALLBACK ------------------------------------------------
         │ 
16:42:03 │ Update type
         │ - Initial read : -
         │ - Timed Interval : -
         │ - Get Network info : -
         │ - Forced Update : YES
         │ 
         │ Status Interval : 10000 milliseconds
         │ Interval Interrupts : 500 milliseconds
         │ Failed mount after : 30000 milliseconds
         │ 
         │ Default gateway : 192.168.3.249 (MAC: D8:B3:70:29:2A:6B)
         │ 
16:42:03 │ - Mount Status Updated: Counted 8 active share(s)
16:42:03 │ - Active share: home-christian (dxp4800-plus)(Path: /Users/christian/mnt/home-christian (dxp4800-plus))
16:42:03 │ - Active share: Media-Common (dxp4800-plus)(Path: /Users/christian/mnt/Media-Common (dxp4800-plus))
16:42:03 │ - Active share: Media-Own (dxp4800-plus)(Path: /Users/christian/mnt/Media-Own (dxp4800-plus))
16:42:03 │ - Active share: paperless (dxp4800-plus)(Path: /Users/christian/mnt/paperless (dxp4800-plus))
16:42:03 │ - Active share: Storage (dxp4800-plus)(Path: /Users/christian/mnt/Storage (dxp4800-plus))
16:42:03 │ - Active share: Storage-NB (dxp4800-plus)(Path: /Users/christian/mnt/Storage-NB (dxp4800-plus))
16:42:03 │ - Active share: TEMP (dxp4800-plus)(Path: /Users/christian/mnt/TEMP (dxp4800-plus))
16:42:03 │ - Active share: backup (dxp4800-plus)(Path: /Users/christian/mnt/mnt (dxp4800-plus))
16:42:03 │ - Matched 8 Network shares. (matched all)
16:42:03 │ Updating Controls to show selected Share Details
16:42:03 │ - New actived share(s): 
         │ - backup (dxp4800-plus)(/Users/christian/mnt/mnt (dxp4800-plus))
16:42:03 │ 
         │ -- STATUS UPDATE - COMPLETED ------------------------------------------------------
16:42:03 │ - RETRY MOUNT TIMER: Stopping timer
16:42:03 │ - RETRY MOUNT TIMER: Quiting, nothing left to retry, and no Fallback servers left either
16:42:03 │ - Updating "Mount onAppear" list
16:42:03 │ - Updating "Mount onAppear" list

 

Then it looks at it wis OK – but the Folder where the NFS Share is mounted is:

Mount path: /Users/christian/mnt/mnt (dxp4800-plus)

And I think this should be:

Mount path: /Users/christian/mnt/backup (dxp4800-plus)

In the Mac Finder it looks good – but the second NFS-Mount with the same setting produces this error:


16:44:55 │ Mount requested for: "Media-Recordings (dxp4800-plus)"
16:44:55 │ - Max Attempts = 1
         │ Attempts Left = -1
         │ Last Attempt = n/a
16:44:55 │ - Doing default short mount delay (1 second)
16:44:56 │ - Starting mount background task
16:44:56 │ - RETRY MOUNT TIMER: Started 1 minute timer for remount attempts
16:44:56 │ - Enabled timer for potential extra mount attempts
16:44:56 │ - Thread started
16:44:56 │ Mount status update:
         │ Mount/Open Networkshare feedback (Commandline): 
         │ Mount attempt through Commandline:
         │ 
         │ - Mount path: /Users/christian/mnt/mnt (dxp4800-plus)
         │ - CMD: mount_nfs -o nfc "dxp4800-plus:/mnt/hdd/Media-Recordings" "/Users/christian/mnt/mnt (dxp4800-plus)"- Error - Possible error occured. Shell may have returned a fail code
         │ - Result: Mount request did not return an error (not a guarantee that it worked though!)
16:44:56 │ Thread - Calling for forced status update (only shows results if something changed)
16:44:57 │ -- STATUS UPDATE - THREAD CALLBACK ------------------------------------------------
         │ 
16:44:57 │ Update type
         │ - Initial read : -
         │ - Timed Interval : -
         │ - Get Network info : -
         │ - Forced Update : YES
         │ 
         │ Status Interval : 10000 milliseconds
         │ Interval Interrupts : 500 milliseconds
         │ Failed mount after : 30000 milliseconds
         │ 
         │ Default gateway : 192.168.3.249 (MAC: D8:B3:70:29:2A:6B)
         │ 
16:44:57 │ - Mount Status Updated: Counted 8 active share(s)
16:44:57 │ - Active share: home-christian (dxp4800-plus)(Path: /Users/christian/mnt/home-christian (dxp4800-plus))
16:44:57 │ - Active share: Media-Common (dxp4800-plus)(Path: /Users/christian/mnt/Media-Common (dxp4800-plus))
16:44:57 │ - Active share: Media-Own (dxp4800-plus)(Path: /Users/christian/mnt/Media-Own (dxp4800-plus))
16:44:57 │ - Active share: paperless (dxp4800-plus)(Path: /Users/christian/mnt/paperless (dxp4800-plus))
16:44:57 │ - Active share: Storage (dxp4800-plus)(Path: /Users/christian/mnt/Storage (dxp4800-plus))
16:44:57 │ - Active share: Storage-NB (dxp4800-plus)(Path: /Users/christian/mnt/Storage-NB (dxp4800-plus))
16:44:57 │ - Active share: TEMP (dxp4800-plus)(Path: /Users/christian/mnt/TEMP (dxp4800-plus))
16:44:57 │ - Active share: backup (dxp4800-plus)(Path: /Users/christian/mnt/mnt (dxp4800-plus))
16:44:57 │ - Matched 8 Network shares. (matched all)
16:44:57 │ 
         │ -- STATUS UPDATE - COMPLETED ------------------------------------------------------
16:44:57 │ - RETRY MOUNT TIMER: Stopping timer
16:44:57 │ - RETRY MOUNT TIMER: Quiting, nothing left to retry, and no Fallback servers left either
16:44:57 │ - Updating "Mount onAppear" list
16:44:57 │ - Updating "Mount onAppear" list
16:44:57 │ Updating Tray Menu

 

Best regards,

Christian



   
ReplyQuote
 Hans
(@hans)
Famed Member Admin
Joined: 13 years ago
Posts: 3109
Topic starter  

That's a lot of stuff to read 😉

Going through you message, my first question would be: why check “Do not create sub-directory for mounting”?
Ideally you make one directory (~/mnt) where all mounts will appear for which you set a custom path.
ConnectMeNow will then use the share directory/name to create a sub directory in ~/mnt and on unmount (theoretically anyway) remove it.

With this option checked, I'm surprised to see this:

16:38:39 │ - Active share: home-christian (dxp4800-plus)(Path: /Users/christian/mnt/home-christian (dxp4800-plus))
16:38:39 │ - Active share: Media-Common (dxp4800-plus)(Path: /Users/christian/mnt/Media-Common (dxp4800-plus))
16:38:39 │ - Active share: Media-Own (dxp4800-plus)(Path: /Users/christian/mnt/Media-Own (dxp4800-plus))
16:38:39 │ - Active share: paperless (dxp4800-plus)(Path: /Users/christian/mnt/paperless (dxp4800-plus))
16:38:39 │ - Active share: Storage (dxp4800-plus)(Path: /Users/christian/mnt/Storage (dxp4800-plus))
16:38:39 │ - Active share: Storage-NB (dxp4800-plus)(Path: /Users/christian/mnt/Storage-NB (dxp4800-plus))
16:38:39 │ - Active share: TEMP (dxp4800-plus)(Path: /Users/christian/mnt/TEMP (dxp4800-plus))

The error would be (best guess, I may need more coffee to wake up some more haha): if ~/mnt is the custom path, and “Do not create sub-directory for mounting” is checked, then the first mount will be mounted against ~/mnt, which works, but then the second mount will try that as well, but cannot do this since ~/mnt is already in use as a mount point.

Best would be to UNcheck “Do not create sub-directory for mounting”, set the custom path (of all the shares) to "~/mnt".
No for each mount a new directory will be created in ~/mnt.

Bear with me though, and correct me if I misunderstoord, because I'm still not sure where these mounts come from:

16:44:57 │ - Active share: home-christian (dxp4800-plus)(Path: /Users/christian/mnt/home-christian (dxp4800-plus))
16:44:57 │ - Active share: Media-Common (dxp4800-plus)(Path: /Users/christian/mnt/Media-Common (dxp4800-plus))
16:44:57 │ - Active share: Media-Own (dxp4800-plus)(Path: /Users/christian/mnt/Media-Own (dxp4800-plus))
16:44:57 │ - Active share: paperless (dxp4800-plus)(Path: /Users/christian/mnt/paperless (dxp4800-plus))
16:44:57 │ - Active share: Storage (dxp4800-plus)(Path: /Users/christian/mnt/Storage (dxp4800-plus))
16:44:57 │ - Active share: Storage-NB (dxp4800-plus)(Path: /Users/christian/mnt/Storage-NB (dxp4800-plus))
16:44:57 │ - Active share: TEMP (dxp4800-plus)(Path: /Users/christian/mnt/TEMP (dxp4800-plus))
16:44:57 │ - Active share: backup (dxp4800-plus)(Path: /Users/christian/mnt/mnt (dxp4800-plus))


   
ReplyQuote
Share: