Oracle® Database 2 Day DBA 10g Release 2 (10.2) Part Number B14196-02 |
|
|
View PDF |
When you drop a disk from the disk group, the disk group is rebalanced by moving all of the file extents from the dropped disk to other disks in the disk group. ASM then releases the disk, and you can then add it to another disk group or use it for other purposes. You can drop one or multiple disks in a single operation. You can also optionally set rebalance power for the drop operation.
The following is a list of possible reasons for dropping a disk:
A disk is starting to fail, and you need to replace it.
You want to upgrade a disk.
You want to reallocate the disk to a different disk group, or reallocate the disk to a different storage system.
Note:
Dropping disks from a disk group only logically deletes the disks from the disk group. It does not delete the disk contents. However, the contents are lost when you add the disk to a new disk group.To drop one or more disks from a disk group:
Access the ASM Home page.
See "Accessing the Automatic Storage Management Home Page" for instructions.
Click the Administration tab.
If the Automatic Storage Management Login page appears, log in as the SYS
user, connecting as SYSDBA
. Provide the SYS
password that is stored in the password file for the ASM instance. This password was set up when the ASM instance was created.
On the ASM Administration page, under the Disk Groups heading, click a link in the Name column to select the disk group from which you want to drop disks.
The Disk Group page appears.
Under the Member Disks heading, in the Select column, select the check boxes for the disks that you want to drop, and then click Remove.
A confirmation page appears.
If you want to change rebalance power, or if you want set the FORCE
option for dropping disks, do the following:
Click Advanced Options.
On the Advanced Options page, optionally select the FORCE
option or select a rebalance power in the drop-down list.
Click OK to return to the confirmation page.
Note:
You may need theFORCE
option if ASM cannot read from or write to the disk. See Oracle Database Administrator's Guide for more information on the FORCE
option.Click Yes to drop the disks.
The Disk Group page returns, and displays a state of DROPPING
for each disk being dropped.
Refresh the page until the dropped disks no longer appear in the disk group.
Caution:
You cannot reuse or disconnect the dropped disks until the drop and rebalance operations are complete—that is, until the dropped disks no longer appear in the disk group. See Oracle Database Administrator's Guide for more information, and for other caveats for dropping disks.