release
Release storage.
Synopsis
release [storage=<storage>] [sd=<sd>] [<storage-name>] [drive=<drive>]
[device=<device>] [alldrives] [jobid=<jobid>] [job=<job>]
[ujobid=<ujobid>]
Words without brackets are required, [ ] marks optional parts, a | b alternatives, ... a repeatable argument and [,...] a comma separated list.
Description
Asks the Storage Daemon to release the volume in a device without unmounting the device. On tape drives the tape is rewound; the next job reads the label again and may request another volume. It changes the device state in the Storage Daemon, not the catalog.
The storage is given as storage=, sd= or by its bare name; without it a selection list appears. drive= picks one drive, alldrives releases every drive of the storage. jobid=, job= or ujobid= use the storage of a running job.
Arguments
| Argument | Type | Values / source | Default | Flags | Description |
|---|---|---|---|---|---|
storage= | resource | from .storages | Storage name. | ||
sd= | resource | from .storages | Storage name (as storage=). | ||
<storage-name> | resource | from .storages | positional | Storage name without key. | |
drive= | integer | Drive number. | |||
device= | string | Device name. | |||
alldrives | keyword | Every drive of the autochanger. | |||
jobid= | integer | Storage of a job. | |||
job= | resource | from .jobs | Storage of a job. | ||
ujobid= | string | Storage of a job. |
Examples
Release the volume of the File storage:
release storage=File
Release every drive of the autochanger:
release storage=Autochanger alldrives