DELETE DRIVE (Delete a drive from a library)

Use this command to delete a drive from a library. A drive that is in use cannot be deleted.

All paths related to a drive must be deleted before the drive itself can be deleted.

Privilege class

To issue this command, you must have system privilege or unrestricted storage privilege.

Syntax


1  DELete DRive library_name drive_name

Parameters

library_name (Required)
Specifies the name of the library where the drive is located.
drive_name (Required)
Specifies the name of the drive to be deleted.

Example: Delete a drive from a library

Delete DRIVE3 from the library named AUTO.
delete drive auto drive3

Related commands

Table 1. Commands related to DELETE DRIVE
Command Description
DEFINE DRIVE Assigns a drive to a library.
DEFINE LIBRARY Defines an automated or manual library.
DELETE LIBRARY Deletes a library.
DELETE PATH Deletes a path from a source to a destination.
PERFORM LIBACTION Defines all drives and paths for a library.
QUERY DRIVE Displays information about drives.
QUERY LIBRARY Displays information about one or more libraries.
UPDATE DRIVE Changes the attributes of a drive.