Oracle KFED
Version 18.3.0.1

General Information
Library Note Morgan's Library Page Header
For how many years have you been working with physical servers that are starving your database of the memory necessary to deploy important new performance features such as the Result Cache, Memoptimize Pool, In-Memory Aggregation, In-Memory Column Store, and Full Database Caching? Too long? Contact me to learn how to improve all queries ... not just some queries.
Purpose The kfed is an undocumented utility located at $ORACLE_HOME/bin that can be used to edit the contents of ASM blocks and return information about ASM. The kfed does not depend on the mount state of an ASM instance or ASM disk group, so it can be used with ASM instance down and on a disk group that does not mount. KFED can also be used on ASM disks with corrupt ASM metadata.
Exceptions
Error Code Reason
KFED-00303 unable to open file '<file_path_and_name>' corresponds to ORA-15031
 
ASMLIB
ASM Library Specification AS/MLIB='lib'
as/mlib ASM Library [asmlib='lib']
 
AUNNUM
AU number to examine or update AUN/UM=number
aun/um AU number to examine or update [AUNUM=number]
 
AUSZ
Allocation Unit size in bytes AUS/Z=number
aus/z Allocation Unit size in bytes [AUSZ=number]
 
BLKNUM
Block number to examine or update BLKN/UM=number
blkn/um Block number to examine or update [BLKNUM=number]
 
BLKSZ
Metadata block size in bytes BLKS/Z=<NUMBER>
# kfed BLKSZ=8192
 
CHKSUM
Update checksum before each write CH/KSUM=<YES | NO>
# kfed CHKSUM=NO
 
CNT
Count of AUs to process CN/T=number
# kfed CNT=4
 
DEV
ASM device to examine or update DE/V=string
TBD
 
DMPALL
Don't suppress releated lines when dumping corrupt blocks DM/PALL=<YES | NO>
# kfed dm=YES
 
DSKLBL
Disk Label to stamp DS/KLBL
# kfed dsklbl=UWDISK
 
FGLBL
Failgroup Label to stamp FG/LBL=<STRING>
# kfed fglbl=UWFAIL
 
FORCE
Force option to stamp the labels FO/RCE
# kfed force=NO
 
HELP
View KFED Help -h
# kfed -h
 
OP
Operation Type O/P=<FORM | MERGE | NEW | READ | REPAIR | STRUCT | WRITE>
kfed read /dev/sda1 | more

kfed read aun=0 aus=1048576 blkn=0 dev=/dev/sda1
 
PROVNM
Name for provisioning purposes P/ROVNM=<STRING>
p/rovnm Name for provisioning purposes [PROVNM=string]
 
SEEK
AU number to seek to S/EEK=<NUMBER>
TBD
 
SITELBL
Site Label to stamp SI/TELBL=<STRING>
TBD
 
TEXT
File name for translated block text TE/XT=string
# kfed te=UWTXT
 
TRACE
Tracing TR/ACE=<YES | NO>
TRACE=YES
 
TYPE
ASM metadata block type number TY/PE=<NUMBER
TBD
 
VERB
Verbose execution V/ERBOSE=<YES | NO>
# kfed v=YES
 
VERLB
verlb/l KFED Label Version to stamp VERLBL=<NUMBER>
TBD

Related Topics
AMDU
ASM
RAC
Troubleshooting
Utilities
What's New In 12cR2
What's New In 18cR3

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2019 Daniel A. Morgan All Rights Reserved