Skip to Main Content
  • Questions
  • question abort kfed/kfod/amdu on windows

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, huiyang.

Asked: January 07, 2024 - 3:04 pm UTC

Last updated: January 15, 2024 - 5:01 am UTC

Version: 19.3

Viewed 1000+ times

You Asked

i try install oracle 19c database with asm on windows server 2016
but i do not know how to use kfed/kfod to check windows raw disk
I have found lot of blogs、mos、oracle docs, but no resault.
so i ask tom

this is my test output :
I use disk1 create asmdisk.
DISKPART> list disk

磁盘 ### 状态 大小 可用 Dyn Gpt
-------- ------------- ------- ------- --- ---
磁盘 0 联机 60 GB 0 B
* 磁盘 1 联机 200 GB 1024 KB
磁盘 2 联机 100 GB 0 B *

DISKPART> list partition

分区 ### 类型 大小 偏移量
------------- ---------------- ------- -------
分区 0 扩展的 199 GB 1024 KB
分区 1 逻辑 199 GB 2048 KB

DISKPART> list vol

卷 ### LTR 标签 FS 类型 大小 状态 信息
---------- --- ----------- ----- ---------- ------- --------- --------
卷 0 O SSS_X64FREV UDF DVD-ROM 5913 MB 正常
卷 1 D oradata NTFS 磁盘分区 59 GB 正常
卷 2 RAW 磁盘分区 199 GB 正常
卷 3 C NTFS 磁盘分区 99 GB 正常 启动
卷 4 恢复 NTFS 磁盘分区 450 MB 正常 已隐藏
卷 5 FAT32 磁盘分区 99 MB 正常 系统

DISKPART>
d:\app\19.3\grid\bin>asmtool.exe -list
NTFS \Device\Harddisk0\Partition1 61438M
ORCLDISKDATA01 \Device\Harddisk1\Partition1 204797M
NTFS \Device\Harddisk2\Partition1 450M
NTFS \Device\Harddisk2\Partition4 101833M

SQL> select name,path,state,HEADER_STATUS from v$asm_disk;
NAME PATH STATE HEADER_STATUS
---------------------------------------- ------------------------------ ---------------- ------------------------
DATA01 \\.\ORCLDISKDATA01 NORMAL MEMBER

i want know is kfed/amdu is avaliable on windows and how to use is ?
thanks!

and Connor said...

Those tools are available in the Windows distribution

KFED

To use it, follow the instructions in MOS note 1485597.1

(but needing to use it should be a rare thing)

Rating

  (3 ratings)

Comments

thanks

huiyangxu, January 11, 2024 - 9:07 am UTC

I know this article exists, and I've read it before
The question is:
The usual syntax used for reading ASM disk header is:
kfed read <your_device>
block device files can be read on linux if i run
kfed read /dev/asm-diskb

But in windows if I run
kfed read  \\.\ORCLDISKDATA01

will returns only an error
D:\app\19.3\grid\bin>kfed read \\.\ORCLDISKDATA01
KFED-00303: unable to open file '\.\ORCLDISKDATA01'
ORA-15031: disk specification '\.\ORCLDISKDATA01' matches no disks

I don't know how to specify this <your_device> on windows.
It doesn't say how to do it on windows.
This is where I don't know,so i ask tom.

fixed

A reader, January 14, 2024 - 10:47 am UTC

i have found the problem and fix it.
thanks!
Connor McDonald
January 15, 2024 - 5:01 am UTC

glad it worked out

More to Explore

ASM

Need more information on ASM? Check out the ASM guide for the Oracle Database