|CHIO(1)||General Commands Manual||CHIO(1)|
chio — medium
changer control utility
chio utility is used to control the
operation of medium changers, such as those found in tape and optical disk
The options are as follows:
A medium changer apparatus is made up of elements. There are five element types: picker (medium transport), slot (storage), portal (import/export), drive (data transfer), and voltag (select by volume identifier). The voltag pseudo-element type allows the selection of tapes by their volume code, which is typically a barcode on the tape. In this command description, the shorthand ‘ET’ will be used to represent an element type, and ‘EU’ will be used to represent an element unit. For example, to represent the first robotic arm in the changer, the ET would be “picker” and the EU would be “0”.
The following commands are supported:
exchangesrc-ET src-EU dst1-ET dst1-EU [dst2-ET dst2-EU] [
inv2specify whether the media units are to be inverted before insertion into dst1-ET/dst2-EU and dst2-ET/dst2-EU respectively.
Note that not all medium changers support the
exchange operation; the changer must have
multiple free pickers or emulate multiple free pickers with transient
movefrom-ET from-EU to-ET to-EU [
invis specified, the media unit will be inverted before insertion. If from-ET is a drive,
chiowill first attempt to open and perform an
MTOFFLoperation on the st(4) device corresponding to from-EU. By default, the st(4) device /dev/rstX is used, where X is the from-EU. This mapping can be changed by using the chio.conf(5) file.
positionto-ET to-EU [
invis specified, the media unit will be inverted before insertion.
Note that not all changers behave as expected in response to this command.
-vVa] [ET] Report the status of all elements in the changer. If ET is specified, report the status of all elements of type ET.
The status bits output are defined as follows:
Move the media in slot 3 (fourth slot) to drive 0 (first drive):
# chio move slot 3 drive 0
Move the media with volume tag 000007L2 to drive 1 (second drive):
# chio move voltag 00007L2 drive 1
Configure the changer to use picker 2 (third picker) for operations:
# chio setpicker 2
chio utility appeared in
|August 5, 2018||OpenBSD-6.8|