SCF Reference Manual for the Storage Subsystem (G06.27+, H06.04+)

Configuring Magnetic Disks
SCF Reference Manual for the Storage Subsystem529937-008
6-27
Resolving Disk-Naming Conflicts
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 14-100) to change the volume
name and alternate volume name from $DATA02 to $SPARE00 without destroying the
files on the volume.
Considerations for RENAME DISK
When you issue the RENAME DISK command, the disk must be in one of these
states:
°
STOPPED state, substate DOWN
°
SERVICING state, substate SPECIAL
During a rename operation, SCF puts the disk (or both halves of a mirrored
volume) in the SERVICING state, substate SPECIAL, so no other processes can
access the disk. When the operation finishes, SCF puts the disk in the STARTED
state.
After the RENAME DISK command is executed, the default volume and alternate
volume names are changed to the $new-disk name. The disk configuration
record is updated to reflect the change. The old disk names are deleted from the
system and replaced by the new disk names.
If the time stamps in the volume labels are different on the two disks of a mirrored
volume, only the newer disk is renamed. An error message alerts you that one half
of the mirrored volume is inconsistent with the other half.