9. VIEW
Use the VIEW mode to
display one of the RSM objects on screen. You can use this mode to
discover any information you need to use any of the other modes
described for this utility. This mode uses the following syntax:
RSM VIEW /T[{DRIVE | LIBRARY | CHANGER | STORAGESLOT | IEDOOR | IEPORT
| PHYSICAL_MEDIA | MEDIA_POOL | PARTITION | LOGICAL_MEDIA |
MEDIA_TYPE | DRIVE_TYPE | LIBREQUEST}] [/CG<ContainerID>] [/GUIDDISPLAY] [/B]
The following list describes each of the command line arguments.
/T[{DRIVE | LIBRARY | CHANGER | STORAGESLOT | IEDOOR | IEPORT | PHYSICAL_MEDIA | MEDIA_POOL | PARTITION | LOGICAL_MEDIA |
MEDIA_TYPE | DRIVE_TYPE | LIBREQUEST}]
Defines the
kind of information you want the utility to return. You may only request
one media object at a time. The output always contains the object's
friendly name data unless you specify the /GUIDDISPLAY command line switch. You must specify a particular object; using /T alone displays an error message.
/CG
ContainerIDSpecifies the container identifier for an object as a GUID.
/GUIDDISPLAY
Specifies that the output should appear as a GUID, rather than as a friendly name.
/B
Specifies the bare option that you can use with scripts. You can redirect this output to another utility to perform additional media processing.
10. REFRESH
Use the REFRESH mode to
refresh the library, physical media, or all devices of a particular
media type. The refresh cycle obtains the latest device information.
This mode uses the following syntax:
RSM REFRESH /L[G|F]<LibraryID>
RSM REFRESH /P[G|F]<PhysicalMediaID>
RSM REFRESH /TG<MediaTypeID>
The following list describes each of the command line arguments.
/LG
LibraryIDSpecifies the library to eject as a GUID. Use a GUID with the /SG and /DG options. The library identifier is the specific media to eject from the drive.
/LF
LibraryIDSpecifies the library to eject as a friendly name. Use a friendly name with the /SF and /DF options. The library identifier is the specific media to eject from the drive.
/PG
PhysicalMediaIDDefines the physical media identifier to eject as a GUID.
/PF
PhysicalMediaIDDefines the physical media identifier to eject as a friendly name.
/TG
MediaTypeIDDefines the media type identifier as a GUID.
11. INVENTORY
Use the INVENTORY mode
to create an inventory of the specified library. The system queues the
request, so it might not execute immediately. This mode uses the
following syntax:
RSM INVENTORY /L[G|F]<LibraryID> /A[{FULL | FAST | DEFAULT | NONE | STOP}]
The following list describes each of the command line arguments.
/LG
LibraryIDSpecifies the library to inventory as a GUID.
/LF
LibraryIDSpecifies the library to inventory as a friendly name.
/A[{FULL | FAST | DEFAULT | NONE | STOP}]
Defines an action
to perform for the inventory. You may only choose one of the options.
The FULL action performs a complete on-media inventory. The FAST action
performs a differential inventory of the media (to look for changes
between this inventory and a previous inventory) unless the library has a
bar code reader installed. When a bar code reader is present, the
utility performs a bar code inventory. The DEFAULT action uses the
inventory method specified as part of the library object. The NONE
action doesn't perform any inventory. The STOP action causes the current
inventory, if any, to terminate.