Skip to main content
Question

error could not mount DP

  • November 19, 2015
  • 10 replies
  • 19 views

Forum|alt.badge.img+20

Executing Policy XXX-Custom Event Sharp Driver X.10...
Mounting MAC Share to /Volumes/casper...
Error: Could not mount distribution point "MAC Share".

I have printers in self service, when i add 2 printers back to back, the second one errors out with the above message.

when is the /Volumes/casper get unmounted ?

after close out self service, i look int /volumes/ and still see the casper share listed. Why is it still mounted?

ls /Volumes/casper

10 replies

Forum|alt.badge.img+20
  • Author
  • Contributor
  • November 19, 2015

I ran the policy again with 'terminal' open. as the policy ran i kept pressing

ls /Volumes to see what was getting mounted

finally is see /Volumes/casper and then a pop-up telling me that 'self service' encountered a problem, contact your administrator.


davidacland
Forum|alt.badge.img+18
  • Valued Contributor
  • November 19, 2015

Hi, not unmounting network drives is a common problem in OS X. It should unmounting once the policy has finished executing. If you have more than one task to run, can you just put them into once policy?


Forum|alt.badge.img+20
  • Author
  • Contributor
  • November 20, 2015

Basically these are separate printer policies.

Each printer policy calls a custom event that installs the print driver (once per computer) then returns to add the printer .

I run the first printer via self service and it installs fine, I then do a second printer policy via self service and then get the 'mount' error when it runs the policy to install that printers driver, it then add the printer without driver.

I have multiple of the same network printers scattered throughout the building so I use a policy that is a custom event that installs the driver (once per computer). Why install the same driver each time the same type printer is installed.

But now am running into this darn 'mount' issue.

If this continues I might just have each policy install the driver policy each time within the same policy, not using the custom event, maybe it will work that way.

I see the Casper drive being mounted, but then it says it can't mount


Forum|alt.badge.img+20
  • Author
  • Contributor
  • November 20, 2015

looks like the casper share doesn't unmount, causing this error.

when i run a printer policy the first time it's fine, casper share unmount

when i run a second printer policy right after, the casper share does not unmount, and i get the 'self service encountered a problem, contact administrator'

I tried this same process on a computer not AD joined, and it worked fine for both printers, i got no errors, printers/drivers installed.


Forum|alt.badge.img+20
  • Author
  • Contributor
  • November 20, 2015

this is only happening on macs that are bound to AD

when the second printer policy runs, via terminal, I see the casper share mount, but it does not unmount. The error in the policy though says 'could not mount distribution point "MAC Share"

i have to restart the computer then i am able to correctly install the second printer

diskutil unmount /Volumes/casper does not work, it unmounts, but policy still errors and restart is necessary.


mhasman
Forum|alt.badge.img+22
  • Valued Contributor
  • November 23, 2015

We have "Unmount JSS Distribution" policy in Self Service which has "Files and Processes - Execute Command":
jamf unmountServer -mountPoint /Volumes/distpoint


Forum|alt.badge.img+20
  • Author
  • Contributor
  • November 27, 2015

@mhasman are you having the same issue I'm having with AD bound macs?

How do your users know when to run the SS policy?

After my first policy runs it unmounts then the second policy tries to mount and cannot, this only happens on AD bound macs. I have to restart computer and run the second policy to get it to work. If it is not AD bound there is no problem running multiple policies one after another.

Looking to switch to http DP


donmontalvo
Forum|alt.badge.img+36
  • Hall of Fame
  • November 28, 2015
Looking to switch to http DP

^^^ This.


Forum|alt.badge.img+12
  • Contributor
  • November 28, 2015

Just a suggestion but why not cache the drivers in a separate policy and have the printers show up based on cached status. The install would then be done locally.


Forum|alt.badge.img+7
  • Valued Contributor
  • January 28, 2016

https://jamfnation.jamfsoftware.com/discussion.html?id=10178