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

Configuring and Managing Virtual Disks
SCF Reference Manual for the Storage Subsystem529937-008
10-11
Deleting a Virtual Disk
Deleting a Virtual Disk
The DELETE DISK Command (page 14-76) removes a virtual disk from the system
configuration database.
Considerations for DELETE DISK and Virtual Disks
For the DELETE DISK command to succeed:
°
The process must be stopped or not running before you can delete it.
°
TMF must be running.
°
$ZSMS must be in the STARTED state.
°
The storage pool process specified by the POOL attribute must be started.
°
The CATALOGLOCATION volume for the MON process must be started and
must be enabled by TMF.
°
The CATALOGLOCATION volume for the storage pool process must be started
and enabled by TMF.
°
The ANTLOCATION and PENDOPSLOCATION volumes for the virtual disk
must be started, they must be enabled in TMF, and they must be configured to
be in a storage pool.
If a virtual disk has a system configuration database record, you can delete it even
if the SMF master process ($ZSMS) has no knowledge of that record.
If, for any reason, the virtual disk process cannot be started or the SMF Master
process does not give permission to delete the virtual disk, you are prompted to
continue with the delete, even though deletion might cause discrepancies in SMF
catalogs.
Example
1. Verify the disk is in the STOPPED state, substate DOWN:
-> STATUS $VDISK00
If the disk is not stopped, see Stopping a Virtual Disk on page 10-13.
2. Delete the disk from the system configuration database:
-> DELETE DISK $VDISK00
3. Verify the disk is deleted:
-> INFO $VDISK00