AIX Open Source

 View Only
Expand all | Collapse all

Umount of temporarily mounted NFS directory doesn´t work anymore with ibm.power_aix.mount

  • 1.  Umount of temporarily mounted NFS directory doesn´t work anymore with ibm.power_aix.mount

    Posted Fri March 08, 2024 03:30 AM

    Hello!

    I´m experiencing a change of behaviour in the ibm.power_aix.mount Module, which worked fine before, but now can´t "find" the mounted NFS directory to umount.
    Mounting the same export via ibm.power_aix.mount works fine, also umounting entries which exist in the /etc/filesystems, but not anymore with a NFS which I only mount for patching or similar but have no permant entry in the system.

    I´ve opened ibm.power_aix.mount mounts remote NFS sucessfully, but doesn´t umount it. · Issue #417 · IBM/ansible-power-aix for this, can I provide more info?

    GitHub remove preview
    ibm.power_aix.mount mounts remote NFS sucessfully, but doesn´t umount it. · Issue #417 · IBM/ansible-power-aix
    Describe the bug I use ibm.power_aix.mount as roles in my playbooks, one task to mount a certain NFS (for EMGR, INSTALLP Module etc...): name: Mount NFS '{{ NFSMOUNT }}' ibm.power_aix.mount: node: '{{ NFSMOUNT }}' mount_over_dir: /mnt mo...
    View this on GitHub >

     
    Thanks for any help in advance,

    With kind regards,

    Steve



    ------------------------------
    Stephan Dietl
    ------------------------------


  • 2.  RE: Umount of temporarily mounted NFS directory doesn´t work anymore with ibm.power_aix.mount

    IBM Champion
    Posted Mon March 11, 2024 06:08 AM
    Edited by Andrey Klyachkin Mon March 11, 2024 06:12 AM

    Hi Stephan,

    thank you for opening the issue! It means I am not alone with the problem :-) As a workaround I use now ansible.posix.mount to unmount file system which has unofrtunately one side effect. It creates empty /etc/fstab.

    Automation with Power

    Ibm remove preview
    Automation with Power
    Hidden page that shows the message digest from the home page
    View this on Ibm >

    P.S. There is Automation with Power communtiy - https://community.ibm.com/community/user/power/communities/community-home/digestviewer?communitykey=57c56971-5794-4521-9a6e-dd98e6122435 which is supposed to be for Ansible-related questions.



    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------



  • 3.  RE: Umount of temporarily mounted NFS directory doesn´t work anymore with ibm.power_aix.mount

    Posted Mon March 11, 2024 06:50 AM

    Hello @Andrey Klyachkin!

    > thank you for opening the issue! It means I am not alone with the problem :-)

    Good to hear, thought at first it´s something specific to my environment.

    > As a workaround I use now ansible.posix.mount to unmount file system which has unofrtunately one side effect. It creates empty /etc/fstab.

    Exactly my workaround at the moment too and I´ve added a "file - absent" task in my umount Role.

    > P.S. There is Automation with Power communtiy ...which is supposed to be for Ansible-related questions.

    Yes, I wasn´t sure where to post it and since the most bugreports for the AIX Toolbox seemed to be reported here I tried my luck at this place :) !


    Thanks,

    With kind regards,

    Steve



    ------------------------------
    Stephan Dietl
    ------------------------------