Sunday, November 11, 2018

Delphix error: DBREFRESH failed due to an error during execution: Failed to create mount

Hiya Buddies,
I would like to share my experience here regarding technical Delphix error. While we do cloning from Delphix we got below issue as file system is already mounted as shown below error. This is very common issue and easy fixed.
Please find the below details and solution steps:

Delphix error:
DB_REFRESH job for "EBS VDBs/TECH_EBSDATA" failed due to an error during execution: Failed to create mount on "TECH_EBSDATA" because another file system is already mounted at "/tech/ebs" on host "hostname".
Unmount the file system currently mounted at "/tech/ebs" on host " hostname " or try the operation again with a different mount point.

Solution/Work-around:

[hostname:] $ bash

[hostname:] $ df -h

Filesystem             Size   Used  Available Capacity  Mounted on


df: cannot statvfs /tech/ebs: No such file or directory

[hostname:] $ sudo -l
Matching Defaults entries for applmgr on this host:
    group_plugin=/opt/quest/lib64/libsudo_vas.so, log_input, log_output, syslog=auth
User applmgr may run the following commands on this host:
    (root) NOPASSWD: /usr/sbin/mount, /usr/sbin/umount, /usr/bin/mkdir, /usr/bin/rmdir, /bin/pargs, /sbin/mount, /sbin/umount, /bin/rmdir, /bin/mkdir, /bin/mount, /bin/umount, /bin/ps, /usr/bin/mount, /usr/bin/umount

Here in above command you can see many mount/unmount path are given.

So, for confirmation please check the correct using mount/unmount path as:
[hostname:] $which mount

/usr/sbin/mount
[hostname:] $ sudo -l /usr/sbin/umount /tech/ebs
/usr/sbin/umount /tech/ebs
Note: If you are not sure, please don’t do mount or unmount…


Here, we are doing unmount to /tech/ebs
[hostname:] $ sudo /usr/sbin/umount /tech/ebs
[hostname:] $ pwd
/tech
[hostname:] $ cd
Again checking here…


[hostname:] $ sudo /usr/sbin/umount /tech/ebs
umount: warning: /tech/ebs not in mnttab
umount: /tech/ebs not mounted
[hostname:] $ cd
Now, we are mounting /tech/ebs

 [hostname:] $ sudo /usr/sbin/mount /tech/ebs
Now you can check using command by df –h


Now, you can re-run the clone steps by using delphix.
This is the steps which we used and got the solution.

No comments:

Post a Comment