error could not mount DP

tcandela
Valued Contributor II

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 10

tcandela
Valued Contributor II

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
Honored Contributor II

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?

tcandela
Valued Contributor II

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

tcandela
Valued Contributor II

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.

tcandela
Valued Contributor II

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
Valued Contributor

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

tcandela
Valued Contributor II

@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
Esteemed Contributor III
Looking to switch to http DP

^^^ This.

--
https://donmontalvo.com

marklamont
Contributor III

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.

bsuggett
Contributor II

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