利用kfod工具查看oracle asm磁盘组信息
利用kfod工具查看asm磁盘组信息
oracle 10g asm 推出了kfod 工具,可以查看asm磁盘组和asm实例的信息
[oracle@p650:/oracle/app/oracle]$kfod -h
_asm_a/llow_only_raw_disks KFOD allow only raw devices [_asm_allow_only_raw_disks=TRUE/(FALSE)]
_asm_l/ibraries ASM Libraries[_asm_libraries='lib1','lib2',...]
_asms/id ASM Instance[_asmsid=sid]
a/sm_diskstring ASM Diskstring [asm_diskstring='discoverystring', 'discoverystring' ...]
d/isks Disks to discover [disks=raw,asm,all]
g/roup Group discover [group=controlfile]
n/ohdr KFOD header suppression [nohdr=TRUE/(FALSE)]
o/p KFOD options type [OP=DISKS/GROUPS/ALL]
p/file ASM parameter file [pfile='parameterfile']
s/tatus Include disk header status [status=TRUE/(FALSE)]
v/erbose KFOD verbose errors [verbose=TRUE/(FALSE)]
[oracle@p650:/oracle/app/oracle]$
比如我们查看asm磁盘组信息
[oracle@p650:/oracle/app/oracle]$kfod disks=all status=true
--------------------------------------------------------------------------------
Disk Size Header Path
================================================================================
1: 1024 Mb FOREIGN /dev/rhdisk4
2: 1024 Mb FOREIGN /dev/rhdisk5
3: 1024 Mb FOREIGN /dev/rhdisk6
4: 30720 Mb MEMBER /dev/rhdisk7
5: 2048 Mb CANDIDATE /dev/rhdisk8
6: 3072 Mb CANDIDATE /dev/rhdisk9