Tuesday, May 19, 2020

kfod commands for ASM





kfod disks=all   >>>>> this will will work only as grid/root user
kfod  op=groups status=true asmcompatibility=true dbcompatibility=true verbose=true

Note: from both OS accounts o/p should come as expected, otherwise Oracle database may fail to come up.


[grid@XXXXXX ~]$ kfod disks=all
--------------------------------------------------------------------------------
 Disk          Size Path                                     User     Group
================================================================================
   1:     307196 MB /dev/oracleasm/disks/VOL1                grid     asmadmin
   2:     307199 MB /dev/oracleasm/disks/VOL2                grid     asmadmin
   3:     307196 MB /dev/oracleasm/disks/VOL3                grid     asmadmin
--------------------------------------------------------------------------------
ORACLE_SID ORACLE_HOME
================================================================================
      +ASM /opt/app/19.5/grid_1
[grid@XXXXX ~]$ kfod  op=groups status=true asmcompatibility=true dbcompatibility=true verbose=true
--------------------------------------------------------------------------------
Group          Size          Free Redundancy Name           Compatibility ASM Compatibility
================================================================================
   1:     921588 MB     504980 MB     EXTERN DG1               10.1.0.0.0        19.0.0.0.0
[grid@ol7pt360dods3 ~]$




[oracle@XXXXX ~]$ kfod  op=groups status=true asmcompatibility=true dbcompatibility=true verbose=true
--------------------------------------------------------------------------------
Group          Size          Free Redundancy Name           Compatibility ASM Compatibility
================================================================================
   1:     921588 MB     504980 MB     EXTERN DG1               10.1.0.0.0        19.0.0.0.0


Also ensure the permissions on bin/oracle as as per below,

[grid@ol7pt360dods3 ~]$ cd $ORACLE_HOME/bin
[grid@ol7pt360dods3 bin]$ ls -ltr oracle
-rwsr-s--x 1 grid oinstall 442645304 May  8 07:28 oracle   >>> it's group should grid user primary ownership

[oracle@ol7pt360dods3 bin]$ ls -ltr oracle
-rwsr-s--x 1 oracle asmadmin 442641136 May  8 07:20 oracle  >>> group should always point to asm luns group only.
[oracle@ol7pt360dods3 bin]$

No comments:

Post a Comment

Thank for showing interest in giving comments/feedback/suggestions

Note: Only a member of this blog may post a comment.