7.7.1.3 ALTER CELLDISK
Purpose
The ALTER CELLDISK command changes the attributes of all cell disks or the specified cell disks.
Syntax
ALTER CELLDISK { ALL [[ CAPACITYOPTIMIZED | PERFORMANCEOPTIMIZED ] FLASHDISK | HARDDISK | PMEM ] | cdisk_name [, cdisk_name]... }
{{FLUSH [NOWAIT] | CANCEL FLUSH} |
{ attribute_name = attribute_value
[, attribute_name = attribute_value]...
}Usage Notes
The attributes that can be changed with the ALTER command are shown as modifiable in Example 7-97.
-
The
FLASHDISKoption limits theALTER CELLDISKcommand to cell disks that are flash disks.Starting with Oracle Exadata System Software release 24.1.0, you can optionally specify
CAPACITYOPTIMIZEDorPERFORMANCEOPTIMIZEDbeforeFLASHDISKto alter cell disks matching only the specified flash media type. -
The
HARDDISKoption limits theALTER CELLDISKcommand to cell disks that are hard disks. - The
PMEMoption limits theALTER CELLDISKcommand to all cell disks of type PMEM. -
The
FLUSHoption synchronizes dirty data associated with the specified cell disks. Dirty data is updated data in an Exadata cache (flash cache, PMEM cache, or XRMEM cache) that has not been synchronized with the underlying grid disk. Synchronization of dirty data can be a lengthy process, depending on the number of bytes to be synchronized. Use the following command to check the progress:CellCLI> LIST CELLDISK ATTRIBUTES name, flushstatus, flusherror -
The
ALTER CELLDISK ... FLUSHcommand must be run before exporting a cell disk to ensure that the dirty data is flushed to the grid disks on the specified cell disk. -
The
FLUSHoption stops new data from being cached on the flash cache until CELLSRV restarts, or the flush operation is canceled. -
The
CANCEL FLUSHoption terminates an earlier flush operation, and reinstates caching. -
When the
ALTER CELLDISK ... FLUSHcommand is run for a flash-based cell disk, it synchronizes dirty data from the flash cache located on the specified FDOM to cached grid disks on the specified cell disk. When the command is run for a hard disk-based cell disk, it synchronizes dirty data from the flash cache located on all FDOMs to the grid disks located on the specified cell disk.
Example 7-34 Altering Cell Disk Attributes
This example shows how to change cell disk attributes.
CellCLI> ALTER CELLDISK cdiska name = CD_01_cell01, -
comment = 'cdiska is now CD_01_cell01'
CellCLI> ALTER CELLDISK ALL -
comment = 'This cell disk is on cell cell01'
CellCLI> ALTER CELLDISK ALL HARDDISK FLUSH NOWAIT
CellCLI> ALTER CELLDISK c9datafile1 CANCEL FLUSH
Related Topics
Parent topic: ALTER