SCF Reference Manual for the Storage Subsystem (G06.28+, H06.05+, J06.03+)
7. Reset all counters for the disk:
-> STATS $DATA10, RESET
Resetting the statistics after a cache configuration change lets you see how the new values
affect performance. For more information, see “Reconfiguring Cache to Resolve Performance
Problems” (page 61).
Naming a Disk
All disk volumes have two names: a default volume name and an alternate volume name. Both
can be assigned the same name when you label a volume (by using either the RENAME DISK or
ALTER DISK, LABEL command):
• Use the RENAME DISK command when you want to retain use of all the files that reside on
the disk you are renaming.
• Use the ALTER DISK, LABEL command when you want to erase all files on the disk
CAUTION: Do not rename a volume unless you are sure that other products or applications (such
as SMF, SQL, or TMF) will not search for files on that volume using the previous volume name:
• To determine if a specific disk is associated with a pool:
> SCF STATUS DISK $disk, DETAIL
• To determine whether the disk contains SQL files:
> DSAP $diskk, SQL, NEWFORMAT
• To determine if a specific disk is protected by TMF:
> TMFCOM STATUS DATAVOLS $disk
You can name a disk in several ways:
• “Changing the Volume Name and Alternate Volume Name” (page 88)
• “Changing the Volume Name and Alternate Volume Name (Deleting Files)” (page 91)
• “Changing the Volume Name (and Keeping Files)” (page 90)
• “Changing the Alternate Volume Name (and Keeping Files)” (page 90)
Resolving Disk-Naming Conflicts
When a disk is started, the storage subsystem verifies that the configured name of the disk matches
one of the names on the disk label and, if necessary, changes the configured name. Before changing
the configured name, the storage subsystem must also verify the new name is not being used by
another process. The sequence of events is:
1. The configured name is checked to see if it matches first the volume name and then the alternate
volume name. If the configured name matches either name, the disk is started using the
configured name.
2. If the configured name does not match the volume name or the alternate volume name, you
are asked to confirm that the disk rename itself.
3. If you reply OK, the disk process is started and renamed, and the system configuration database
is updated to reflect this.
4. If both the volume name and alternate volume name are in use by other processes, the disk
remains in the STOPPED state, substate DOWN, and the configured name is left unchanged.
Changing the Volume Name and Alternate Volume Name
This example uses the “RENAME DISK Command” (page 269)to change the volume name and
alternate volume name from $DATA02 to $SPARE00 without destroying the files on the volume.
88 Configuring Disks