Does IPA do anything to set a timeout on an nfs automount? I'm seeing some strange behavior on a few automounts and want to make sure I look in the right places to look up and/or set a timeout for those filesystems.
Steve Berg via FreeIPA-users wrote:
Does IPA do anything to set a timeout on an nfs automount? I'm seeing some strange behavior on a few automounts and want to make sure I look in the right places to look up and/or set a timeout for those filesystems.
You can add options to an automount key just like when using files. The --info option.
rob
Okay, I'm starting to make some headway figuring out what's happening.
I just set one key to:
-rw,nosuid,timeo=36000 server:/exported_share
When I mount that from a client /proc/mounts shows timeo=6000
Either /proc/mounts isn't displaying the info correctly or I've got the syntax wrong in some way. The way I set it seems right but I haven't found any documentation of what options are available and the specific syntax to use them. Man page and command line help doesn't seem to have specifics. Some experimention indicates there's a hard limit of 6000. Are the allowed options from autofs or in ipa somewhere?
On 2/13/24 13:58, Rob Crittenden via FreeIPA-users wrote:
Steve Berg via FreeIPA-users wrote:
Does IPA do anything to set a timeout on an nfs automount? I'm seeing some strange behavior on a few automounts and want to make sure I look in the right places to look up and/or set a timeout for those filesystems.
You can add options to an automount key just like when using files. The --info option.
rob
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahoste... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
IPA is only the storage for the options. It doesn't apply any logic to them. It's just data.
I'm no NFS expert but I believe timeo only applies to soft mounts, along with retrans (my brain is saying it's a multiplier but could be wrong).
I'm not recommending soft mounts. You'll have to determine whether the chance of data corruption is acceptable. I think hard may have a related option, intr maybe?
IIRC nfsstat can tell you how the mounts are configured with all options, including the defaults.
rob
Steve Berg via FreeIPA-users wrote:
Okay, I'm starting to make some headway figuring out what's happening.
I just set one key to:
-rw,nosuid,timeo=36000 server:/exported_share
When I mount that from a client /proc/mounts shows timeo=6000
Either /proc/mounts isn't displaying the info correctly or I've got the syntax wrong in some way. The way I set it seems right but I haven't found any documentation of what options are available and the specific syntax to use them. Man page and command line help doesn't seem to have specifics. Some experimention indicates there's a hard limit of 6000. Are the allowed options from autofs or in ipa somewhere?
On 2/13/24 13:58, Rob Crittenden via FreeIPA-users wrote:
Steve Berg via FreeIPA-users wrote:
Does IPA do anything to set a timeout on an nfs automount? I'm seeing some strange behavior on a few automounts and want to make sure I look in the right places to look up and/or set a timeout for those filesystems.
You can add options to an automount key just like when using files. The --info option.
rob
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahoste...
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
freeipa-users@lists.fedorahosted.org