move
Move slots in an autochanger.
Synopsis
move [storage=<storage>] [srcslots=<srcslots>] [dstslots=<dstslots>]
[drive=<drive>]
Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.
Description
Has an autochanger move volumes from one slot to another. Source and destination are slot lists; the Director first asks the Storage Daemon which slots are occupied and moves only occupied source slots into free destination slots. The command changes the autochanger contents and the slot data in the catalog. It works only with autochanger storages.
Without storage= the Director offers the autochanger storages. Empty slots in srcslots= are skipped; without a source or destination selection move does nothing.
Arguments
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
storage= | resource | from .storages | Storage name. | ||
srcslots= | string | Source slots. | |||
dstslots= | string | Destination slots. | |||
drive= | integer | Drive number. |
Examples
Move slots 1 to 3 into slots 10 to 12:
move storage=Autochanger srcslots=1-3 dstslots=10-12