afd_label

Purpose

Sets an Oracle ASM Filter Driver label to the specified disk.

Syntax and Description

afd_label afd_label disk_path [--migrate | --rename]

The syntax options for the afd_label command are described in Table 10-26.


Table 10-26 Options for the afd_label command

Option Description

afd_label

Specifies an Oracle ASM Filter Driver label.

disk_path

Specifies the path to the disks to which the label is applied.

--migrate

Specifies to migrate Oracle ASM Filter Driver disk labels to all disks in the disk_path..

--rename

Specifies to label a disk that was previously labeled.


For information about Oracle ASM Filter Driver, refer to "Oracle ASM Filter Driver".

Example

The following example sets an Oracle ASM Filter Driver label to a specified disk.

Example 10-34 Using the afd_label command

ASMCMD [+] > afd_label 'disk0' '/dev/rdsk/mydisks/disk0'