153.You are managing an ASM instance. You previously issued the following statements:
ALTER DISKGROUP dg1 DROP DISK disk2;
ALTER DISKGROUP dg1 DROP DISK disk3;
ALTER DISKGROUP dg1 DROP DISK disk5;
You want to cancel the disk drops that are pending for the DG1 disk group. Which statement should you
issue?
A. ALTER DISKGROUP dg1 UNDROP disk2, disk3, disk5;
B. ALTER DISKGROUP dg1 UNDROP;
C. ALTER DISKGROUP dg1 UNDROP DISKS;
D. You cannot cancel the pending disk drops.
Answer: C
答案解析:
只能取消disk5的删除,因为disk2, disk3的删除操作已经完成,
只要删除操作还没有真正完成,就可以使用undrop取消删除磁盘的操作,
UNDROP命令仅对磁盘的暂挂删除操作起作用;它对于已经完成的删除操作没有影响。