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