IBM i Global

IBM i Global

Connect, learn, share, and engage with IBM Power.

 View Only
  • 1.  NFS Mount

    Posted Tue March 11, 2025 08:32 PM

    Hello,  There is an issue where production orders are not coming down from SAP to the AS/400 vis SFTP.  SFTP is working from all tests conducted. The SAP team wants me to create an NFS mount to try to send orders through. Does anyone have experience configuring NFS mount?



    ------------------------------
    Michael Ruth
    ------------------------------


  • 2.  RE: NFS Mount

    Posted Wed March 12, 2025 01:53 AM

    Hi,

    Very easy using Navigator for i, just right-clic on "NFS" in "TCP/IP Servers":

    You can then use "Start All" and check "Start when TCP/IP is started" in "Properties".

    I'd suggest to start with a public read-write share for testing, then restrict security. You can find more information here: https://www.ibm.com/docs/en/i/7.5?topic=systems-network-file-system-nfs.

    Also, some old but still relevant information: NFS Presentation.



    ------------------------------
    Sylvain Manceau
    Blue
    ------------------------------



  • 3.  RE: NFS Mount

    Posted Wed March 12, 2025 01:55 AM

    Here is IBM Technote URL on using NFS server in IBM i :   https://www.ibm.com/support/pages/nfs-presentation.  

    And this is another article from 1999 on the same subject : Share Files with UNIX Systems Through AS/400 NFS at https://www.mcpressonline.com/operating-systems/unix-aix/share-files-with-unix-systems-through-as400-nfs                          



    ------------------------------
    Satid S
    ------------------------------



  • 4.  RE: NFS Mount

    Posted Wed March 12, 2025 03:36 AM

    Hi Michael

    Try these three links, hope they help.

    Network file system (NFS)

    Using NFS to Mount Remote File Systems

    NFS Concepts and Troubleshooting

    Cheers Brad

    Ibm remove preview
    NFS Concepts and Troubleshooting
    NFS concepts and troubleshooting methods are described in this document.
    View this on Ibm >

    Ibm remove preview
    Using NFS to Mount Remote File Systems
    The process for mounting a remote file system using NFS is described in this document.
    View this on Ibm >

    Ibm remove preview
    Network file system (NFS)
    The Network File System (NFS) provides access to and from systems that have NFS implementations.
    View this on Ibm >



    ------------------------------
    Steve Bradshaw
    Friendly Techie
    RowtonIT.com

    ------------------------------



  • 5.  RE: NFS Mount

    Posted Wed March 12, 2025 02:34 PM

    Here is a sample of one lpar of IBM i doing an export:

    STRNFSSVR SERVER(*ALL)

    EXPORTFS OPTIONS('-I -O') DIR('/tmp')

    Here is a sample of another lpar of IBM i doing a mount on that export

    MOUNT TYPE(*NFS) MFS('gdihq:/tmp')        MNTOVRDIR('/gdihq/tmp') +        
          OPTIONS('rw,suid,retry=5,rsize=32768,wsize=32768,timeo=20,retrans=5,+
                   acregmin=30,acregmax=60,acdirmin=30,acdirmax=60,soft,async,+
                   sec=sys,vers=3:2,nocache') 

    Now, perhaps your SAP guy can translate that MOUNT into his version of mount.



    ------------------------------
    Robert Berendt IBMChampion
    Business Systems Analyst, Lead
    Dekko
    Fort Wayne
    ------------------------------



  • 6.  RE: NFS Mount

    Posted Fri March 14, 2025 03:42 PM

    You got a lot of good info here so I won't repeat what many have already said or pointed you to..I will share some of my experience though if you don't mind...We use NFS a lot so now we're more comfy with it but...when we were first starting out or even if we had to make changes , the authority aspect of the NFS mount always kind of bit us...we had to get used to using the chmod command via qshell in order to get the permissions right - ex CHMOD -R 755.. Also...we had to familiarize ourselves on how the authority / owner is set....this involved making sure that our group profiles that needed access to it had the right GID which in some cases, resulted in having to change other group profiles that happened to have the GID we needed.  Hope it all goes well Michael.



    ------------------------------
    Rich Malloy
    Principal Systems Engineer - IBMi
    Cox Automotive
    Draper UT
    ------------------------------