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
|
| Scans disk headers for information rather than extracting the information from an Oracle ASM instance. This option forces non-connected mode. |
|
| Restricts results to only those disks that belong to the group specified by |
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>

本文探讨了Oracle Database 11g实例中使用ASM存储的情况,并详细解释了如何通过ASMCMD命令获取DATAdisk组中磁盘的详细信息。即使ASM实例不可用,通过特定选项设置,仍能成功检索到所需的数据。

140

被折叠的 条评论
为什么被折叠?



