driveCodeUpdate CLI command

Use the driveCodeUpdate command to update the firmware in a drive or list of drives.

Syntax

driveCodeUpdate <firmware-image-file> -l <F# C# R#>,<F# C# R#>,... --reset <resetOption> -ssl

Parameters

<firmware-image-file>

(Required.) The filename (and the path, if necessary) of the firmware file.

-l <F# C# R#>,<F# C# R#>,...

(Required.) A comma-delimited list of drives to update. The drive list must be preceded by -l (lowercase letter L, short for "location").

Drive locations are indicated as follows:

  • F# = frame number
  • C# = column number
  • R# = row number
--reset <resetOption>

(Required.) Specifies when the drive will be reset after the code is updated. It has the following options:

  • IMMEDIATE = The reset takes place immediately. The drive must be empty before the update. Before you perform an IMMEDIATE reset, run the moveFromDrive command to eject a cartridge from the drive.
  • UNLOAD = The reset occurs after the drive is unloaded.
  • MANUAL = A manual reset must be performed to activate the code.
-ssl

Required if SSL (HTTPS) is enabled.

Example command

driveCodeUpdate LTO6_DAQM.fcp_fh.fmrz -l F1C4R2,F1C4R3 --reset IMMEDIATE

Example output


The code update has started

Name: LTO6_DAQM.fcp_fh.fmrz
>>>Uploadling file..
............................................................
Done.