Complete service on drive
Completes a service action on the specified drive. This takes the drive out of the
inServiceMode
state and is typically done at the end of a replacement procedure to
allow the drive to resume normal operations.
Request syntax
POST
/v1/tasks {"type": "completeDriveService", "location": "
drive_F<f>C<c>R<r>
"}
Completes a service
action on the specified drive. This takes the drive out of the inServiceMode
state
and starts a long-running task in the library that is visible from the GUI.
POST
/v1/tasks {"type": "completeDriveService", "sn": <serial
number>}
Completes a service action on the drive with the specified
serial number. This takes the drive out of the inServiceMode
state and starts a
long-running task in the library that is visible from the GUI.
Request body parameters
type
(string, required)-
The task type to run. In this case,
completeDriveService
. location
(string, optional)-
The location of the tape drive to take out of the service mode. Either
location
orsn
is required.
sn
(string, optional)-
The globally unique serial number of the drive. Either
location
orsn
is required.
Example
> POST /v1/tasks/ {"type": "completeDriveService", "location": "drive_F2C4R2"}
HTTP/1.1 201 Created
Location: /v1/tasks/42
Content-Type: application/json
Content-Length: 10
{"ID": 46}