Oracle KFED
Version 19c

General Information
Library Note Morgan's Library Page Header
ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling complimentary technical Workshops on Database Security for the first 30 Oracle Database customers located anywhere in North America, EMEA, LATAM, or APAC that send an email to asra_us@oracle.com. Request a Workshop for your organization today.
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>
# kfed 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 21c
What's New In 23c

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-2023 Daniel A. Morgan All Rights Reserved
  DBSecWorx