【OCP学习1Z0-053记录18】【11g数据块remap】ASMCMD指令 remap(直接不知所云,如果没有实践经验的话)

36.Which two statements are true regarding the functionality of the remap command in ASMCMD? (Choose two.)
A. It repairs blocks that have read disk I/O errors.
B. It checks whether the alias metadata directory and the file directory are linked correctly.
C. It repairs blocks by always reading them from the mirror copy and writing them to the original location.
D. It reads the blocks from a good copy of an ASM mirror and rewrites them to an alternate location on disk if the blocks on the original location cannot be read properly.
Answer: AD
 
参考:http://docs.oracle.com/cd/E11882_01/server.112/e18951/asm_util004.htm#OSTMG01644
remap
Relocates data in a range of physical blocks on a disk.
remap
Purpose
Marks a range of blocks as unusable on the disk and relocates any data allocated in that range.
Syntax and Description
remap diskgroup disk block_range
Table 12-45 lists the syntax options for the remap command.
Table 12-45 Options for the remap command
Option
Description
diskgroup
Disk group name in which a disk must have data relocated.
disk
Name of the disk that must have data relocated. The name must match the NAME column in the V$ASM_DISKview.
block_range
Range of physical blocks to relocate in the format start_range_number-end_range_number.
The remap command only relocates blocks. It does not correct or repair blocks that contain corrupted contents. The command uses a physical block size based on the SECTOR_SIZE disk group attribute.
Examples
The first example remaps blocks 5000 through 5999 for disk DATA_0001 in disk group DATA. The second example remaps blocks 6230 through 6339 for diskFRA_0002 in disk group FRA
Example 12-49 Using the ASMCMD remap command
ASMCMD [+] > remap DATA DATA_0001 5000-5999
ASMCMD [+] > remap FRA FRA_0002 6230-6339
 

猜你喜欢

转载自blog.csdn.net/viviliving/article/details/88962349