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

Configuring Magnetic Disks
SCF Reference Manual for the Storage Subsystem529937-008
6-31
Changing the Volume Name and Alternate Volume
Name (Deleting Files)
Changing the Volume Name and Alternate Volume Name
(Deleting Files)
The LABEL attribute (page 14-19) of the ALTER DISK command changes the volume
name and deletes all files from the volume.
Considerations for LABEL and Magnetic Disks
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
Cautions.
The ALTER DISK, LABEL command erases any existing files on the volume that you are
labeling. Disk data lost during an ALTER DISK, LABEL operation cannot be recovered.
To rename a volume without erasing the data on the volume, use the RENAME DISK
command.
Do not use this command to consolidate disk free space. Instead, use DCOM or another
method for consolidating disk free space (see the Guardian Disk and Tape Utilities
Reference Manual).
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