eeadm drive assign

Assigns the tape drive to the IBM Storage Archive Enterprise Edition server.

Syntax

eeadm drive assign <drive_serial> -n <node> [-l <library>] [OPTIONS]
Required parameters
<drive_serial>
Specifies the serial number of the tape drive to assign.
-n, --node <node>
Specifies the ID of the node to which the tape drive is assigned.
-l, --library <library>
Specifies the name of the tape library where the tape drive is installed. In a single tape library configuration, this option can be omitted.
Optional parameters
-r, --role <role_value>
Limits the use of a drive to only the I/O access that is specified by the role parameter. The <role_value> can be set with one of following decimal numbers, or the sum of those values, or the combination of the letters m, r, and g.
  • 4 (m) - Allow the use of the tape drive for the migrate, premigrate, or save commands.
  • 2 (r) - Allow the use of the tape drive for the recall command or the transparent_recall task.
  • 1 (g) - Allow the use of the tape drive for reading from or writing to a tape by using the eeadm tape xxx commands.

If this option is omitted, the default value of 7 (=4+2+1 or mgr) is used to allow the drive to run any type of task.

The role value can later be changed by using the eeadm drive set command.

Common options
-h, --help
Shows this help text and exit.

Return codes

0 (zero)
The operation completed successfully.
Nonzero
The operation failed.

Examples

eeadm drive assign 1068002111 -n 1
eeadm drive assign 1068002113 --role mr -n 3 -l MyLibrary1