Defining drives
To inform the server about a drive that can be used to access storage volumes, issue the DEFINE DRIVE command, followed by the DEFINE PATH command.
Before you begin
IBM Storage Protect supports tape drives that can be stand-alone or that can be part of an automated library. The preferred method is to configure the tape solution by using automated libraries.
About this task
- Library name
- The name of the library in which the drive is located.
- Drive name
- The name that is assigned to the drive.
- Serial number
- The serial number of the drive. The serial number parameter applies only to drives in SCSI. With
the serial number, the server can confirm the identity of the device when you define the path or
when the server uses the device.
You can specify the serial number if you choose. The default is to enable the server to obtain the serial number from the drive itself at the time that the path is defined. If you specify the serial number, the server confirms that the serial number is correct when you define the path to the drive. When you define the path, you can set the AUTODETECT=YES parameter to enable the server to correct the serial number if the number that it detects does not match what you entered when you defined the drive. As a best practice, specify the AUTODETECT=YES parameter to automatically update the serial number for the drive in the database when the path is defined.
Depending on the capabilities of the drive, the server might not be able to automatically detect the serial number. In this case, the server does not record a serial number for the device, and is not able to confirm the identity of the device when you define the path or when the server uses the device. See Impacts of device changes on the SAN.
- Element address
- The element address of the drive. The ELEMENT parameter applies only to
drives in SCSI libraries. The element address is a number that indicates the physical location of a
drive within an automated library. The server needs the element address to connect the physical
location of the drive to the drive's SCSI address. The server can obtain the element address from
the drive when you define the path, or you can specify the element number when you define the drive.
As a best practice, specify the ELEMENT=AUTODETECT parameter for the server to
automatically detect the element number when the path to the drive is defined.
Depending on the capabilities of the library, the server might not be able to automatically detect the element address. In this case, you must supply the element address when you define the drive, if the library has more than one drive. To obtain the element address, go to the IBM® Support Portal for IBM Storage Protect.
- For IBM, device names begin with rmt followed by an integer, for example, /dev/rmt0.
- For IBM Storage Protect tape device drivers, tape device names begin with mt followed by an integer, for example /dev/mt0.