SCF Reference Manual for the Storage Subsystem (G06.24+, H06.03+)

Configuring Magnetic Disks
SCF Reference Manual for the Storage Subsystem529937-007
6-29
Changing Either the Volume Name or Alternate
Volume Name
Changing Either the Volume Name or Alternate Volume Name
The VOLNAME attribute (page 14-67) and ALTNAME attribute (page 14-53) of the
ALTER DISK command change the volume name and alternate volume name,
respectively, of a stopped disk.
When a disk is started, SCF uses the name in the system configuration database to
bring up the disk. The disk process reads the disk label and might change its process
name to match either the VOLNAME or ALTNAME. If both VOLNAME or ALTNAME
are in use by other processes, the disk process continues running with the configured
name but does not enter the STARTED state.
When you change just the volume name or alternate volume name, only the volume
label is changed. After you change either volume name or alternate volume name, the
disk process might attempt to change the disk name to either the volume name or
alternate volume name. If the disk name changes, the disk process tells the storage
subsystem manager to change its system configuration database records to match the
new disk name. For details about how disk names are determined when a disk is
started, see Naming a Magnetic Disk on page 6-26.
Changing the Volume Name (and Keeping Files)
This example uses the VOLNAME attribute (page 14-67) of the ALTER DISK
command to change the volume name from $DATA02 to $DEF00 without destroying
the files on the volume.
1. Stop the disk you want to rename:
-> STOP DISK $DATA02
2. Verify the disk is stopped:
-> STATUS $DATA02
3. Change the volume name:
-> ALTER $DATA02, VOLNAME $DEF00
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 $disk, SQL, NEWFORMAT
To determine if a specific disk is protected by TMF:
> TMFCOM STATUS DATAVOLS $disk