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
CAPACITYOPTIMIZEDorPERFORMANCEOPTIMIZEDbeforeFLASHDISKto drop grid disks on cell disks associated with the specified flash media type.If you do not fully specify the flash media type,
ALL FLASHDISKis equivalent toALL CAPACITYOPTIMIZED FLASHDISKon Extreme Flash (EF) storage servers containing capacity-optimized flash devices. On all other storage servers,ALL FLASHDISKis equivalent toALL PERFORMANCEOPTIMIZED FLASHDISK. -
If the
ALLoption is specified with a media type qualifier (FLASHDISKorHARDDISK), 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
ALLoption without a media type qualifier (FLASHDISKorHARDDISK), 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,
ALLwith no media type qualifier is equivalent toALL CAPACITYOPTIMIZED FLASHDISK. -
On Extreme Flash (EF) storage servers containing only performance-optimized flash devices,
ALLwith no media type qualifier is equivalent toALL PERFORMANCEOPTIMIZED FLASHDISK. -
On all storage servers containing hard disk drives (HDDs),
ALLwith no media type qualifier is equivalent toALL HARDDISK.
Before Oracle Exadata System Software release 24.1.0, if the
ALLoption is specified without a media type qualifier, the command drops all matching grid disks regardless of media type. -
-
The
PREFIXoption must be specified whenALLis used.The
PREFIXoption 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 GRIDDISKis issued, then an error is reported. You can useALTER GRIDDISKwith theINACTIVEoption to deactivate a grid disk before dropping the grid disk. This action ensures that the grid disk is not in use. -
The
FORCEoption 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 FLASHCACHEcommand to reuse the dropped area forFLASHCACHE. -
The
ERASEoption 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 ERASEcannot be used for PMEM grid disks. -
When dropping all grid disks using the
1passor3passoption, it necessary to drop the flash disks first using the7passoption, 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
NOWAIToption with theERASEoption to run the command asynchronously.
Example 7-129 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