Delphix Products

Expand all | Collapse all

Cause: Unable to mount directory error while creating the VDB

Premchander Gottam08-14-2015 11:51:00 AM

Adam Bowen08-14-2015 12:15:00 PM

  • 1.  Cause: Unable to mount directory error while creating the VDB

    Posted 08-14-2015 09:31:00 AM
    while provisioning a new VDB for source database, we are receiving the error Unable to mount directory. We have performed all the hostchecker checks on target machine and all the tests are success, and still we are receiving error while creating a VDB.


  • 2.  RE: Cause: Unable to mount directory error while creating the VDB

    Posted 08-14-2015 09:50:00 AM
    Hi Prem,

    Have you checked that the Delphix user in your target machine has the right sudo permissions to mount and unmount (I assume it's a Linux host)?

    Regards
    Sandro


  • 3.  RE: Cause: Unable to mount directory error while creating the VDB

    Posted 08-14-2015 09:56:00 AM

    Hi,


    Yes it's Linux system ( the target machine is a exadata x2-2 machine, and we have verified all the hostchecker checks for target was successful.   


    here is the check which shows the mount/umount privileges to delphios user



    /home/delphios$ sudo -l
    Matching Defaults entries for delphios on this host:
        requiretty, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR LS_COLORS MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION
        LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY", !requiretty

    Runas and Command-specific defaults for delphios:


    User delphios may run the following commands on this host:
        (root) NOPASSWD: /bin/mount, (root) /bin/umount, (root) /bin/mkdir, (root) /bin/rmdir, (root) /bin/ps, (root) /bin/pargs


    Regards

    Prem



  • 4.  RE: Cause: Unable to mount directory error while creating the VDB

    Posted 08-14-2015 10:03:00 AM
    Can you test on the system you are attempting to provision to that the delphix user can mkdir /the/path/to/that/directory or sudo mkdir /the/path/to/that/directory



  • 5.  RE: Cause: Unable to mount directory error while creating the VDB

    Posted 08-14-2015 10:14:00 AM

    Hi,


    I am able to create the directory with the  delphios user  in the  mount point,

    /u01/delphix_mount$ mkdir testvdb


    /u01/delphix_mount$ ls -ltr

    drwxr-xr-x 2 delphios dba 4096 Aug 14 04:04 testvdb


    Regards

    Prem



  • 6.  RE: Cause: Unable to mount directory error while creating the VDB

    Posted 08-14-2015 10:50:00 AM
    Can you post the text of the whole error please? Also a high-res screen shot would be helpful.


  • 7.  RE: Cause: Unable to mount directory error while creating the VDB

    Posted 08-14-2015 11:51:00 AM


  • 8.  RE: Cause: Unable to mount directory error while creating the VDB

    Posted 08-14-2015 11:55:00 AM

    Hi,


    I am able to mount the  filesystem from remote server to target, but it is not working with delphix engine... seems some configuration issue at delphix engine, need to mount/or give the permission to the target machine-- or target ip should be added in somewhere in t delphix engine side.


    regards

    Prem




  • 9.  RE: Cause: Unable to mount directory error while creating the VDB

    Posted 08-14-2015 12:04:00 PM
    What information is given if you click that i with the circle around it?


  • 10.  RE: Cause: Unable to mount directory error while creating the VDB

    Posted 08-14-2015 12:05:00 PM
    Can you attach the error log?
    1. Help
    2. Support Logs
    3. Download
    4. Extract the tgz
    5. log->mgmt_log->error.log


  • 11.  RE: Cause: Unable to mount directory error while creating the VDB

    Posted 08-14-2015 12:12:00 PM
    Hello,

    Are you able to mount the the "public" share on the Delphix engine? Delphix has a very small shared directory for testing purposes:

    $ mkdir /tmp/test

    $ sudo mount -F nfs -o rw,fg,hard,rsize=1048576,wsize=1048576,vers=3,nointr,timeo=600,proto=tcp,sec=sys nstack-4210.acme.com:/public /tmp/test

    $ sudo umount /tmp/test


    Does the host have multiple IP addresses? If the mount request comes from a different IP than the one that was specified when the environment was added, Delphix will reject it. Delphix blocks attempts to mount the shares from IP addresses other than the one that was specified in the environment.

    There is a configuration parameter that Delphix technical support can change to turn off this layer of security if needed.

    Thanks,
      Neal


  • 12.  RE: Cause: Unable to mount directory error while creating the VDB

    Posted 08-14-2015 12:15:00 PM
    Good thinking on the second part, Neal.


  • 13.  RE: Cause: Unable to mount directory error while creating the VDB

    Posted 08-15-2015 12:36:00 AM

    Hi,


    This is an exadata (X2-2 half rack)  engineered system, and it is having multiple ip addresses. We are trying to  create  VDB's on multiple hosts  it is failing on all the nodes.

    How to  know what ip address was added to the Delphix engine when it configured.

    and How to change the configuration parameter settings to allow shares to mount?


    Regards

    Prem



  • 14.  RE: Cause: Unable to mount directory error while creating the VDB

    Posted 08-17-2015 11:54:00 AM
    Hello,

    When you add a host name or IP address as described here:
       https://docs.delphix.com/display/DOCS42/Adding+an+Oracle+Single+Instance+or+RAC+Environment

    Only Delphix Technical Support can change the setting. Please log a new technical support case and upload a support bundle as described here:
    https://support.delphix.com/hc/en-us/articles/201655216-Best-Practice-Uploading-Support-Logs

    Thanks,
      Neal