Delphix Products

 View Only
  • 1.  Nfs behavior with delphix engine

    Posted 11-09-2020 03:13:00 AM
    Hi,

    The answer to a valid nfs request to the engine isn't responding the same way

    The request responds if we don't specify a prot :
    sudo /bin/mount -o nosuid,tcp,vers=3 delphix_engine_ipaddr:/public /mnt/delphix/test
    => result ok and share get mounted on the client

    The request responds with "permission denied" error :
    sudo /bin/mount -o nosuid,tcp,vers=3 delphix_engine_ipaddr:2049/public /mnt/delphix/test
    => Permission denied error

    May be the appliance chooses a random port for each incoming mount nfs request.

    Regards,

    Mouhssine

    ------------------------------
    Mouhssine SAIDI
    Community Member
    Delphix Community Members
    ------------------------------


  • 2.  RE: Nfs behavior with delphix engine
    Best Answer

    Posted 11-09-2020 07:52:00 AM
    Hello,

    You have specified NFSv3 which uses additional ports in addition to 2049 ( https://docs.delphix.com/docs/datasets/oracle-environments-and-data-sources/oracle-support-and-requirements/network-and-connectivity-requirements-for-oracle-environments#NetworkandConnectivityRequirementsforOracleEnvironments-InboundtotheDelphixEnginePortAllocation ):
    UDP/TCP 32768 - 65535 NFSv3 mountd and status services, which run on a random high port. Necessary when a firewall does not dynamically open ports.
    If you switch to NFSv4, only 2049 is required.

    Thanks,
      Neal

    ------------------------------
    Neal Stack
    Senior Principal Technical Support Engineer
    Delphix
    ------------------------------



  • 3.  RE: Nfs behavior with delphix engine

    Posted 11-09-2020 09:12:00 AM
    Hi Neal,

    Thanks for the quick answer.

    Tried to switch to NFS v4 but still having unexpected behavior.

    sudo /bin/mount -o nosuid,tcp,vers=4 delphix_engine_ipaddr:2049/public /mnt/delphix/test
    mount.nfs: mounting xxxxxxxxxxxxxxxx:2049/public failed, reason given by server: No such file or directory

    Mounting without specifying the port works fine.

    Regards,

    Mouhssine

    ------------------------------
    Mouhssine SAIDI
    Community Member
    Delphix Community Members
    ------------------------------



  • 4.  RE: Nfs behavior with delphix engine

    Posted 11-09-2020 09:33:00 AM
    Hello,

    I'm not sure which OS you are on but this was my test from Linux to my 5.3.8.1 Delphix Engine. To specify the port, I added "port=2049":
    [sybase@gi-rh75-base ~]$ sudo mount -t nfs -o rw,fg,hard,rsize=1048576,wsize=1048576,vers=4,nointr,timeo=600,tcp,port=2049 neal5381.dcenter.delphix.com:/public /tmp/test
    [sybase@gi-rh75-base ~]$ sudo umount /tmp/test

    [sybase@gi-rh75-base ~]$ sudo mount -t nfs -o rw,fg,hard,rsize=1048576,wsize=1048576,vers=3,nointr,timeo=600,tcp,port=2049 neal5381.dcenter.delphix.com:/public /tmp/test
    [sybase@gi-rh75-base ~]$ mount | grep tmp
    devtmpfs on /dev type devtmpfs (rw,nosuid,seclabel,size=4076556k,nr_inodes=1019139,mode=755)
    tmpfs on /dev/shm type tmpfs (rw,seclabel,size=7356416k)
    tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
    tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,seclabel,mode=755)
    tmpfs on /run/user/1001 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=817500k,mode=700,uid=1001,gid=1001)
    tmpfs on /run/user/1003 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=817500k,mode=700,uid=1003,gid=1003)
    tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=817500k,mode=700)
    neal5381.dcenter.delphix.com:/public on /tmp/test type nfs (rw,relatime,vers=3,rsize=1048576,wsize=10

    ------------------------------
    Neal Stack
    Senior Principal Technical Support Engineer
    Delphix
    ------------------------------



  • 5.  RE: Nfs behavior with delphix engine

    Posted 11-09-2020 09:53:00 AM
    Hi,

    Sorry, this was my mistake i specified the port in the uri andf not as part of mount options

    KR,

    Mouhssine

    ------------------------------
    Mouhssine SAIDI
    Community Member
    Delphix Community Members
    ------------------------------