SCF Reference Manual for the Storage Subsystem (G06.28+, H06.05+, J06.03+)

1. Verify the disk is stopped:
-> STATUS $DATA02
2. Change the alternate volume name:
-> ALTER $DATA02, ALTNAME $ALT00
3. View the new alternate volume name:
-> INFO $DATA02, LABEL
The alternate volume name in the display should be $ALT00.
4. Start the disk:
-> START $DATA02
Because you changed only the alternate volume name and the volume name is still $DATA02, the
disk name does not change.
Changing the Volume Name and Alternate Volume Name (Deleting Files)
The LABEL attribute of the ALTER DISK command changes the volume name and deletes all files
from the volume.
Considerations for LABEL and Disks
CAUTION:
The ALTER DISK, LABEL command changes both the default and alternate volume names and
erases any existing files on the disks you are renaming.
During a label 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.
You can label the accessible half of a mirrored volume if the other half is inaccessible (for
instance, if one half is in the STOPPED state, substate HARDDOWN).
The default (or alternate) volume name remains with the volume until it is changed by one of:
Another ALTER DISK, LABEL command
An ALTER DISK, VOLNAME (or ALTNAME) command
A RENAME DISK command
When you use the START DISK command on a volume (or when you load the system from
tape), SCF uses the default volume name to bring up the disk unless this name is being used
by some other device or process. If the default volume name is in use, the storage subsystem
automatically uses the alternate volume name.
If the alternate volume name is also in use, the storage subsystem uses the name for this disk
as stored in the system configuration database. The disk is left in the STOPPED state, substate
DOWN. To change the name (or alternate volume name) of the disk, use one of these SCF
commands to assign a new name:
-> RENAME DISK
-> ALTER DISK, VOLNAME
-> ALTER DISK, ALTNAME
Relabeling a Volume
1. Stop the disk you want to relabel:
-> STOP DISK $DATA01
2. Verify the disk is down:
Naming a Disk 91