Linux expert to provide simple command to recreate oradiag_grid directory (on RHEL 8)
Budget: $10 – $30 USD
Linux expert to provide simple command to recreate oradiag_grid directory:
Accidentally deleted "oradiag_grid" which was automatically created when the "grid" user was created (for Oracle Grid Infrastructure user).
Below is the command used in creating the grid user account:
# /usr/sbin/useradd -u 54331 -g oinstall -G dba,asmdba,backupdba,dgdba,kmdba,racdba grid
The directory is under the grid user home directory:
/home/grid/oradiag_grid
Here are what it contains:
.../oradiag_grid/diag/asmtool/user_grid/host_<ten digit number>_110
Uderneath /host_<ten digit number>_110, you get the following directories:
alert
cdump
incident
incpkg
lck
log
metadata
metadata_dgif
metadata_pv
stage
sweep
trace
Is there a command to recreate this directory and it's sub-directories. It can't just be created manually as host_<ten digit number>_110 is system generated (i.e. the ten digit number is system generated)
Accidentally deleted "oradiag_grid" which was automatically created when the "grid" user was created (for Oracle Grid Infrastructure user).
Below is the command used in creating the grid user account:
# /usr/sbin/useradd -u 54331 -g oinstall -G dba,asmdba,backupdba,dgdba,kmdba,racdba grid
The directory is under the grid user home directory:
/home/grid/oradiag_grid
Here are what it contains:
.../oradiag_grid/diag/asmtool/user_grid/host_<ten digit number>_110
Uderneath /host_<ten digit number>_110, you get the following directories:
alert
cdump
incident
incpkg
lck
log
metadata
metadata_dgif
metadata_pv
stage
sweep
trace
Is there a command to recreate this directory and it's sub-directories. It can't just be created manually as host_<ten digit number>_110 is system generated (i.e. the ten digit number is system generated)