CRS_HOME/bin下面的kfed和kfod是检查ASM disk的非常有用的工具 -bash-2.05b$ kfed -help
! ?; t' g" g3 f/ J+ x- ` as/mlib ASM Library [asmlib='lib']
+ g# X, f( O9 A- i) j1 I6 T2 ` aun/um AU number to examine or update [AUNUM=number]
. O1 O6 i& a0 A+ N aus/z Allocation Unit size in bytes [AUSZ=number]0 I" I8 n5 m' y- Q. _/ u1 d
blkn/um Block number to examine or update [BLKNUM=number]
3 L% ^4 a* K1 G- C blks/z Metadata block size in bytes [BLKSZ=number]. I' P. I; J5 |0 g, w( O
ch/ksum Update checksum before each write [CHKSUM=YES/NO]
a8 b8 I! i# X9 n [ cn/t Count of AUs to process [CNT=number]
+ [7 N& G& Q; l7 M de/v ASM device to examine or update [DEV=string]
: R2 G8 B4 v' g' p+ ]8 Q( J( z dm/pall Don't suppress repeated lines when dumping corrupt blocks [DMPALL=YES/NO]
0 O, W/ ^4 |; D/ Q6 I i3 j o/p KFED operation type [OP=READ/WRITE/MERGE/REPAIR/NEW/FORM/FIND/STRUCT]- }+ \6 z. C; I; e8 C
p/rovnm Name for provisioning purposes [PROVNM=string]. B* ~ x& D, Y* j. g6 z
s/eek AU number to seek to [SEEK=number]$ u$ j* W8 o4 t) T, `0 c
te/xt File name for translated block text [TEXT=string]
& C" f+ T# S# P* I) W6 A6 Y ty/pe ASM metadata block type number [TYPE=number]
* f9 M5 N) `% J( z: `) H& q& D v/erb Verbose execution [verbose=YES|NO]4 d$ l+ V& w8 K' l' V' Q
-bash-2.05b$ kfod -help
3 m. A, \ i, u) o _asm_a/llow_only_raw_disks KFOD allow only raw devices [_asm_allow_only_raw_disks=(TRUE)/FALSE]$ e3 Q% [' \( J+ N x4 H
_asm_l/ibraries ASM Libraries[_asm_libraries=lib1,lib2,…]4 }2 V% e1 F4 z# O* a6 a
_asms/id ASM Instance[_asmsid=sid]1 `; O7 y, W% k! y
_p/atch_lib Patchlib [_patch_lib=], L8 m3 y7 P$ Z0 {' S' X# I
_u/ser OS Username
9 p6 h4 a# k1 \# t/ E4 y2 ?# A asm_/diskstring ASM Diskstring [asm_diskstring=discoverystring, discoverystring …]
& v+ H' M7 [% G( E& d4 Y0 u4 [' L* t asmc/ompatibility Include diskgroup ASM compatibility [asmcompatibility=TRUE/(FALSE)]
5 E) }' [4 {6 D8 q* [# o. C c/luster KFOD cluster [cluster=TRUE/(FALSE)]
" G5 T8 W* M3 W db_/unique_name db_unique_name for ASM instance[db_unique_name=dbname]' ?3 Q/ a+ d- ^
dbc/ompatibility Include diskgroup DB compatibility [dbcompatibility=TRUE/(FALSE)]
! w$ a. H/ w$ p0 h6 c1 ` di/sks Disks to discover [disks=raw,asm,all]
* p6 w S& H D ds/cvgroup Include group name [dscvgroup=TRUE/(FALSE)]
/ R, R6 {' \1 O i; b3 `9 ~* ] g/roup Disks in diskgroup [group=diskgroup]
. _# |* j3 \9 n3 @' | h/ostlist hostlist[hostlist=host1,host2,…]
( O5 h7 K) e3 N, {( ?1 \1 F$ j metadata_a/usize AU Size for Metadata Size Calculation
! \: z: s& \$ E0 x3 \- F" r1 e3 i metadata_c/lients Client Count for Metadata Size Calculation
$ ~3 I4 X3 R& U i! \3 N metadata_d/isks Disk Count for Metadata Size Calculation6 @1 W8 I- D! ]8 a
metadata_n/odes Node Count for Metadata Size Calculation: c- q# c0 F+ B6 t( b( T
metadata_r/edundancy Redundancy for Metadata Size Calculation& R" l! F8 F2 r
na/me Include disk name [name=TRUE/(FALSE)]
7 U9 _5 b% M7 d9 m no/hdr KFOD header suppression [nohdr=TRUE/(FALSE)]
; d! G9 y8 t/ \3 V3 F: t ol/r Import credentials to OLR [olr=TRUE/(FALSE)]
7 ~; s& p0 b' ]! E# J$ U op KFOD options type [OP=DISKS/CANDIDATES/MISSING/GROUPS/INSTS/VERSION/PATCHES/PATCHLVL/CLIENTS/RM/RMVERS/DFLTDSTR/GPNPDSTR/METADATA/ALL]
W+ n0 [; Z, ^9 U z p/file ASM parameter file [pfile=parameterfile]+ v9 X% Y$ w, y% W
s/tatus Include disk header status [status=TRUE/(FALSE)]
4 T- y4 j; f# {7 x7 R1 H& ], D0 s v/erbose KFOD verbose errors [verbose=TRUE/(FALSE)]2 {5 o' y2 T; H+ J0 t. ^$ b
w/rap wrap file for credentials |