Table of Contents

TMSS10VolumeRename

This program renames, or assigns a new Volume-ID, a Volume or list of Volumes

Synopsis

TMSS10VolumeRename [-S logonstring] [-V volumefilter] [-C new Customer-ID] [-M new Media-ID] [-N new Volume-ID] [-c configfile] [-l Live mode]

Description

TMSS10VolumeRename will rename the Volume-ID of a current Volume or list of Volumes , keeping history records associated with that Volume/s.

Options

TMSS10VolumeRename command options:

If an argument value starts with the value FI:, the value for that attribute will be read from the file name specified immediately after it. For example, if a file named ACME_volumes has the content ACME_*.*, specifying FI:/etc/ACME_volumes will have the same effect as -V ACME.*.*. Using FI: to refer to a file for an attribute value works for all attributes.

If the pattern being matched starts with *LIST: then rather than matching the literal value, each record in the file specified as *LIST:filename will be tested. If one matches the match will succeed.

Exit Status

  1. zero Program has ended successfully.
  2. non-zero Program has not ended successfully.

Environment

Files

Examples

Run TMSS10VolumeRename in test mode (no -l attribute) to check the results are correct before committing the changes.

Renaming Volume - New Volume-ID

Renaming a single Volume to assign a new Volume-ID, for example if you have a typo in the Volume-ID you want to fix without losing the historical records accumulated.

To rename Volume US04.LTO.111211L6 to US04.LTO.111111L6

Command line syntax

TMSS10VolumeRename -S doco:-doco@localhost -V "US04.LTO.111211L6" -N "111111L6"  -l

Output

             System: TapeTrack
 Report Description: Volume Rename Report
    Production Time: Wednesday, March 21, 2018 - 10:20:18 (AUS Eastern Daylight Time)
       Report Width: 111 bytes
 
 Seq.   Old Identity         New Identity         Messages                            
 ------ -------------------- -------------------- -----------------------------------
      1 US04.LTO.111211L6    US04.LTO.111111L6    Request OK                          
 ------ -------------------- -------------------- -----------------------------------

Renaming Volume - Same Volume-ID, New Customer-ID

Before renaming Volumes to a new Customer-ID, the new Customer-ID must have identical Media types, Repository-ID's and Zones in the same order and slot numbers

Command line syntax

TMSS10VolumeRename -S doco:-doco@localhost -V "US04.LTO.123456L6" -N "*" -C "US03" -l

Output

             System: TapeTrack
 Report Description: Volume Rename Report
    Production Time: Wednesday, March 21, 2018 - 10:20:18 (AUS Eastern Daylight Time)
       Report Width: 111 bytes
 
 Seq.   Old Identity         New Identity         Messages                            
 ------ -------------------- -------------------- -----------------------------------
      1 US04.LTO.123456L6    US03.LTO.123456L6    Request OK                          
 ------ -------------------- -------------------- -----------------------------------
Changelog
Cannot load rss feed.