7.7.6.6 DROP GRIDDISK
Purpose
The DROP GRIDDISK
command removes the named grid disks or removes
all the grid disks specified by the
ALL
option.
Caution:
Before dropping a grid disk, ensure that it is not part of any Oracle ASM disk group or Exascale storage pool.Syntax
DROP GRIDDISK
{ ALL [[ CAPACITYOPTIMIZED | PERFORMANCEOPTIMIZED ] FLASHDISK | HARDDISK ] PREFIX={[']gdisk_name_prefix[']|'gdisk_name_prefix1[,gdisk_name_prefix2]...'}
| gdisk_name1[,gdisk_name2]... }
[ERASE=value [NOWAIT]] [FORCE]
Usage Notes
-
If one or more grid disk names (gdisk_name1, gdisk_name1, and so on) are specified, then each name identifies the individual grid disk to be removed.
-
Starting with Oracle Exadata System Software release 24.1.0, you can optionally specify
CAPACITYOPTIMIZED
orPERFORMANCEOPTIMIZED
beforeFLASHDISK
to drop grid disks on cell disks associated with the specified flash media type.If you do not fully specify the flash media type,
ALL FLASHDISK
is equivalent toALL CAPACITYOPTIMIZED FLASHDISK
on Extreme Flash (EF) storage servers containing capacity-optimized flash devices. On all other storage servers,ALL FLASHDISK
is equivalent toALL PERFORMANCEOPTIMIZED FLASHDISK
. -
If the
ALL
option is specified with a media type qualifier (FLASHDISK
orHARDDISK
), the command only drops grid disks on cell disks associated with the specified media type.Starting with Oracle Exadata System Software release 24.1.0, if you specify the
ALL
option without a media type qualifier (FLASHDISK
orHARDDISK
), then the command drops grid disks on the cell disks associated with the primary storage media on the storage server. Specifically:-
On Extreme Flash (EF) storage servers containing capacity-optimized flash devices,
ALL
with no media type qualifier is equivalent toALL CAPACITYOPTIMIZED FLASHDISK
. -
On Extreme Flash (EF) storage servers containing only performance-optimized flash devices,
ALL
with no media type qualifier is equivalent toALL PERFORMANCEOPTIMIZED FLASHDISK
. -
On all storage servers containing hard disk drives (HDDs),
ALL
with no media type qualifier is equivalent toALL HARDDISK
.
Before Oracle Exadata System Software release 24.1.0, if the
ALL
option is specified without a media type qualifier, the command drops all matching grid disks regardless of media type. -
-
The
PREFIX
option must be specified whenALL
is used.The
PREFIX
option specifies one or more comma-separated prefix strings, which are used to identify the grid disks being dropped. -
If any of the grid disks are in use when
DROP GRIDDISK
is issued, then an error is reported. You can useALTER GRIDDISK
with theINACTIVE
option to deactivate a grid disk before dropping the grid disk. This action ensures that the grid disk is not in use. -
The
FORCE
option can be used to force the drop of a grid disk that is in use. -
If you drop a flash-based grid disk, the space is not automatically allocated to
FLASHCACHE
. You can use theCREATE FLASHCACHE
command to reuse the dropped area forFLASHCACHE
. -
The
ERASE
option erases the content on the disk by overwriting the content. The values are as follows:-
1pass
: One pass, and the content is overwritten with zeros. This value is not available for flash drives. -
3pass
: Three passes, and the disk is overwritten with set data patterns. This option follows the recommendations from NSA. This value is not available for flash drives. -
7pass
: Seven passes, and the disk is overwritten with set data patterns. This option follows the recommendations from DOD.
-
-
DROP GRIDDISK ERASE
cannot be used for PMEM grid disks. -
When dropping all grid disks using the
1pass
or3pass
option, it necessary to drop the flash disks first using the7pass
option, and then drop the grid disks. The following is an example of the commands:CellCLI> DROP GRIDDISK ALL FLASHDISK PREFIX=data, ERASE=7pass CellCLI> DROP GRIDDISK ALL PREFIX=data, ERASE=1pass
-
Use the
NOWAIT
option with theERASE
option to run the command asynchronously.
Example 7-130 Examples of Dropping a Grid Disk
CellCLI> ALTER GRIDDISK data01_CD_03_cell01 INACTIVE
CellCLI> DROP GRIDDISK data01_CD_03_cell01
CellCLI> DROP GRIDDISK ALL PREFIX=data01
CellCLI> DROP GRIDDISK data02_CD_04_cell01 FORCE
CellCLI> DROP GRIDDISK data02_CD_04_cell01 ERASE=1pass
GridDisk data02_CD_04_cell01 successfully dropped
CellCLI> DROP GRIDDISK ALL FLASHDISK PREFIX=DATA ERASE=7pass
CellCLI> DROP GRIDDISK ALL PREFIX=DATA ERASE=3pass
Related Topics
Parent topic: DROP