tkadmin delete disk
Purpose
Removes a disk from the Toolkit server's administration.
Synopsis
tkadmin delete disk -server server_name disk_name Arguments
- -server server_name
- Specifies the server affected by the command. This should be the name that was specified when the server was configured.
- disk_name
- Specifies the full path name of the disk to be removed. This must be the same name that was used to initialize this disk. On Windows, a disk is an entire physical disk specified in the form PHYSICALDRIVEnumber_of_drive (for example, PHYSICALDRIVE3), a logical disk drive specified in the form drive_name (for example, D:), or the full pathname of an operating system file, including the drive letter (for example, D:\filevol1). This argument is specified for each region.
Description
The tkadmin delete disk command removes a disk from the Toolkit server's administration. This marks the disk as “uninitialized.” This command fails if there are any physical volumes on the named disk. (You must delete all physical volumes on a disk using the tkadmin delete pvol command before deleting the disk.)
Note: On Windows,
the tkadmin delete disk command removes the disk
name from the server's administration, but does not remove the underlying
file device. Use the appropriate operating system command to delete the file
or disk partition.
Examples
Open Systems
The following command deletes the disk /dev/rsd1e:
% tkadmin delete disk /dev/rsd1e Note: Do
not use this command if you are using AIX® logical volume management.
Windows
The following command deletes the logical disk \\.D::
C:\> tkadmin delete disk D: