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

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

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> 


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值