Administering Oracle ASMLIB and Disks
Review this information to administer the Oracle Automatic Storage Management library driver and disks.
To administer the Oracle Automatic Storage Management library driver and disks, use the /usr/sbin/oracleasm
initialization script with different options, as described in the following table:
Table B-2 Disk Management Tasks Using ORACLEASM
Task | Command Example | Description |
---|---|---|
Configure or reconfigure ASMLIB |
|
Use the configure option to reconfigure the Oracle Automatic Storage Management library driver, if necessary. To see command options, enter |
Change system restart load options for ASMLIB |
|
Options are Use the |
Load or unload ASMLIB without restarting the system |
|
Options are Use the |
Mark a disk for use with ASMLIB |
|
Use the
|
Unmark a named disk device |
|
Use the
Caution: Do not use this command to unmark disks that are being used by an Oracle Automatic Storage Management disk group. You must delete the disk from the Oracle Automatic Storage Management disk group before you unmark it. |
Determine if ASMLIB is using a disk device |
|
Use the
|
List Oracle ASMLIB disks |
|
Use the |
Identify disks marked as ASMLIB disks |
|
Use the |
Rename ASMLIB disks |
|
Use the oracleasm renamedisk [-l Use the Caution: You must ensure that all Oracle Database and Oracle ASM instances have ceased using the disk before you relabel the disk. If you do not do this, then you may lose data. |