I have a share mounted on an Oracle Solaris application server that read/writes data onto the share periodically. I have automounted it with a timeout of over several minutes but is there a way to ensure it never unmounts the share? Looking at the man pages on the Solaris box and the reference docs, it seems there is no such option unless I missed it somewhere.

On Linux, it seems automount offers such a facility - we need to set the timeout as 0, to disable unmounting of the share.


You can display or configure SMF autofs properties by using the sharectl command. For example

  # sharectl get autofs
  # sharectl set -p timeout=200 autofs

You can check out this link for details

if you like to setup a permanent mount then why don't you use direct maps. Here is a detail link for direct autofs maps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.