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-98.

  • The FLASHDISK option limits the ALTER CELLDISK command to cell disks that are flash disks.

    Starting with Oracle Exadata System Software release 24.1.0, you can optionally specify CAPACITYOPTIMIZED or PERFORMANCEOPTIMIZED before FLASHDISK to alter cell disks matching only the specified flash media type.

  • The HARDDISK option limits the ALTER CELLDISK command to cell disks that are hard disks.

  • The PMEM option limits the ALTER CELLDISK command to all cell disks of type PMEM.
  • The FLUSH option 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 ... FLUSH command 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 FLUSH option stops new data from being cached on the flash cache until CELLSRV restarts, or the flush operation is canceled.

  • The CANCEL FLUSH option terminates an earlier flush operation, and reinstates caching.

  • When the ALTER CELLDISK ... FLUSH command 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-35 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