Which two statements are true regarding the functionality of the remap command in ASMCMD?

Which two statements are true regarding the functionality of the remap command in
ASMCMD? (Choose two.)

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.

Explanation:
Reference from the Oracle document release v11.1 at here:
Repairs a range of physical blocks on a disk. The remap command only repairs blocks that
have read disk I/O errors. It does not repair blocks that contain corrupted contents, whether
or not those blocks can be read. The command assumes a physical block size of 512 bytes
and supports all allocation unit sizes (1 to 64 MB).
Reference from the Oracle document release v11.2 at here:
The remap command marks a range of blocks as unusable on the disk and relocates any
data allocated in that range.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Dawn

Dawn

Agreed

A D

remap Command
Purpose

Repairs a range of physical blocks on a disk. The remap command only repairs blocks that have read disk I/O errors. It does not repair blocks that contain corrupted contents, whether or not those blocks can be read. The command assumes a physical block size of 512 bytes and supports all allocation unit sizes (1 to 64 MB).

Syntax and Description
==========
remap disk_group_name disk_name block_range
=========
disk_group_name is the name of the disk group in which a disk must be repaired.

disk_name is the name of the disk that must be repaired. The name is listed in the NAME column of the V$ASM_DISK view.

block_range is a range of physical blocks to repair, in the format:

start_range_number-end_range_number

Example

The following example repairs blocks 5000 through 5999 for disk DATA_0001 in disk group DISK_GRP1.
ASMCMD> remap DISK_GRP1 DATA_0001 5000-5999

The following example repairs blocks 6230 through 6339 for disk largedisk_2 in disk group DISK_GRP2.
ASMCMD> remap DISK_GRP2 largedisk_2 6230-6339