Hi,
The command “kfed read” fails from 12.2 Grid Infrastructure Home as below.
/bin/kfed read /dev/mapper/mpathc1
clscfpinit: Failed clsdinitx [-1] ecode [64]
2023-04-01 11:02:53.112 [3409431934] gipclibInitializeClsd: clscfpinit failed with -1.
Segmentation fault
This issue is analyzed in Oracle internal / unpublished Bug 28045167 : LNX-183-KFED: KFED SHOULD NOT COREDUMP WHEN ORACLE_HOME IS NOT SET.
When ORACLE_HOME environment variable is NOT set, kfed would directly core dump.
Bug 28045167 fixed in 19.1. Apply interim patch 28045167, if available for your platform and Oracle version. If no patch exists for your version, please contact Oracle Support for a backport request.
Workaround is to set the environment pointing to correct ORACLE_HOME.
export ORACLE_HOME=[grid_home]
[grid_home]/bin/kfed read /dev/mapper/mpathc1
kfbh.endian: 1 ; 0x000: 0x01
kfbh.hard: 130 ; 0x001: 0x82
kfbh.type: 1 ; 0x002: KFBTYP_DISKHEAD
kfbh.datfmt: 1 ; 0x003: 0x01
kfbh.block.blk: 0 ; 0x004: blk=0
kfbh.block.obj: 2147483648 ; 0x008: disk=0
kfbh.check: 2929045397 ; 0x00c: 0xae95af95
kfbh.fcn.base: 0 ; 0x010: 0x00000000
kfbh.fcn.wrap: 0 ; 0x014: 0x00000000
kfbh.spare1: 0 ; 0x018: 0x00000000
kfbh.spare2: 0 ; 0x01c: 0x00000000
……………
kfdhdb.ub4spare[30]: 0 ; 0x1d0: 0x00000000
kfdhdb.acdb.aba.seq: 0 ; 0x1d4: 0x00000000
kfdhdb.acdb.aba.blk: 0 ; 0x1d8: 0x00000000
kfdhdb.acdb.ents: 0 ; 0x1dc: 0x0000
kfdhdb.acdb.ub2spare: 0 ; 0x1de: 0x0000