OCP-1Z0-053-V12.02-222题

222.You are managing an Oracle Database 11g instance with ASM storage. The ASM instance is down.

To know the details of the disks in the DATA disk group , you issued the following ASMCMD command:

ASMCMD> lsdsk -I -d DATA


Which statement is true regarding the outcome of this command?

A. The command succeeds but it retrieves only the disk names.

B. The command produces an error because the ASM instance is down.

C. The command succeeds but it shows only the status of the ASM instance.

D. The command succeeds and retrieves information by scanning the disk headers based on an

ASM_DISKSTRING value.

Answer: D

答案解析:

参考:http://docs.oracle.com/cd/E11882_01/server.112/e18951/asm_util004.htm#OSTMG94559


-I

Scans disk headers for information rather than extracting the information from an Oracle ASM instance. This option forces non-connected mode.

-G

Restricts results to only those disks that belong to the group specified by diskgroup.

ASMCMD> lsdsk

Path

/dev/asm-diskb

/dev/asm-diskc

/dev/asm-diskd

/dev/asm-diske


ASMCMD> lsdsk -I -d DATA

WARNING:option 'd' is deprecated for 'lsdsk'

please use 'G'


ASMCMD> lsdsk -I -G DATA

ASMCMD> 


原文地址:https://www.cnblogs.com/hzcya1995/p/13316566.html