Oracle® Secure Backup Reference Release 10.1 Part Number B14236-03 |
|
|
PDF · Mobi · ePub |
Use the unloadvol
command to unload a volume from a tape drive. The unload operation rewinds the tape before moving it to its storage slot.
See Also:
"Library Commands" for related commandsYou must have the right to manage devices and change device state to use the unloadvol
command.
unload•vol [ --drive/-D drivename ] [ element-spec ]
Specifies the name of the drive to be unloaded. If you do not specify a tape drive name, then the drive variable must be set.
Specifies the destination storage element for the volume to be unloaded. Refer to "element-spec" for a description of the element-spec placeholder.
You can specify vacant
to make Oracle Secure Backup unload the volume to any vacant storage element. If element-spec is omitted, then the source (if known) of the volume is used. The source element of the volume in the dte
is displayed after the string lastse
when you execute lsvol.
Example 2-43 unloads a volume from drive tape1
and inserts it into the source element for the volume. The text lastse 3
in the dte
output indicates that the source for the volume is element 3
. Note that the sample output has been formatted to fit on the page.
Example 2-153 Unloading a Volume from a Tape Drive
ob> lsvol --library lib1 --long Inventory of library lib1: in mte: vacant in 1: volume VOL000002, barcode ADE204, oid 110, 47670368 kb remaining in 2: volume VOL000001, barcode ADE201, oid 102, 48319392 kb remaining in 3: vacant in 4: vacant in iee1: barcode ADE203, oid 114, 47725344 kb remaining, lastse 4 in iee2: vacant in iee3: vacant in dte: volume RMAN-DEFAULT-000002, barcode ADE202, oid 112, 47725600 kb remaining, content manages reuse, lastse 3 ob> unloadvol --drive tape1 ob> lsvol --library lib1 --long Inventory of library lib1: in mte: vacant in 1: volume VOL000002, barcode ADE204, oid 110, 47670368 kb remaining in 2: volume VOL000001, barcode ADE201, oid 102, 48319392 kb remaining in 3: volume RMAN-DEFAULT-000002, barcode ADE202, oid 112, 47725600 kb remaining, content manages reuse in 4: vacant in iee1: barcode ADE203, oid 114, 47725344 kb remaining, lastse 4 in iee2: vacant in iee3: vacant in dte: vacant