Next revision | Previous revision |
technote:hiding_volumeids [2018/06/21 03:23] – created Scott Cunliffe | technote:hiding_volumeids [2025/01/21 22:07] (current) – external edit 127.0.0.1 |
---|
====== Hiding Volume-ID's ====== | ====== Hiding Volumes ====== |
| |
Volumes can be hidden, or removed, from view in TapeTrack TapeMaster and from command line batch programs (through flag exclusion), cleaning up volume display without needing to delete volumes and their associated data. | [[object:volume|Volumes]] can be hidden, or removed from view, in TapeTrack TapeMaster and from Command Line programs (through flag exclusion), cleaning up [[object:volume|Volume]] display without needing to delete volumes and their associated data. |
| |
Reasons for hiding volumes range from being permanently out of rotation, locked from movement for legal reasons or any other reason that operators do not need to see them and would prefer a cleaner display in TapeTrack TapeMaster or command line reports. | Reasons for hiding [[object:volume|Volumes]] range from being moved permanently out of rotation, locked from movement for legal reasons or any other reason that operators do not need to see them and would prefer a cleaner display in TapeTrack TapeMaster or Command Line reports. |
| |
Hiding volumes from display is a two part process: | Hiding [[object:volume|Volumes]] from display is a two part process: |
* Adding the hidden attribute (h Flag) to the required volume/s | * Adding the hidden Attribute (h) Flag to the required [[object:volume|Volumes]]. |
* Disabling the ''Show Hidden Volumes'' attribute in the TapeTrack TapeMaster preferences. | * Removing the Hidden [[object:volume|Volumes]] from display via the TapeTrack TapeMaster Preferences. |
| |
Hiding volumes with the hidden attribute (h Flag) from the command line batch programs involves adding a reference to the H flag in the volume filter. | Hiding [[object:volume|Volumes]] with the hidden Attribute from the Command Line batch programs involves adding a reference to the h flag in the [[object:volume|Volume]] filter. |
| |
===== Adding Hidden Attribute To A Volume ===== | ===== Adding Hidden Attribute To A Volume ===== |
| |
In the inventory tab of the required customers media type: | In the inventory tab of the required Customers Media type: |
* Select the volume by left clicking (or range select volumes with Shift + Click or Ctrl + Click). | * Select the [[object:volume|Volumes]] by left-clicking (or range select volumes with ''Shift'' + ''Click'' or ''Ctrl'' + ''Click)''. |
* Right click the highlighted volume/s and select ''Special Operations'' -> ''Modify'' -> ''Flags'' | * Right click the highlighted [[object:volume|Volumes]] and select ''Special Operations'' -> ''Modify'' -> ''Flags''. |
* From the **Modify Flags** window expand the flag option ''Hidden'' by clicking the ''+'' icon | |
* Click on the field to the right of **Value** and select ''Add Flag'' from the drop down list | |
* Click ''Apply Updates'' | |
| |
The volume/s will now display with a h flag in addition to their other assigned flags. | {{volumes_special_modify_flags.gif}} |
| |
===== Disabling Show Hidden Volumes In TapeTrack TapeMaster ===== | * From the **Modify Flags** window expand the flag option ''Hidden'' by clicking the ''+'' icon. |
| * Click on the field to the right of **Value** and select ''Add Flag'' from the drop-down list. |
| * Click ''Apply Updates''. |
| |
| {{add_hidden_flag.gif}} |
| |
| The [[object:volume|Volumes]] will now display with a h flag in addition to their other assigned flags. |
| |
| ===== Hiding Volumes From Display In TapeTrack TapeMaster ===== |
| |
| <note tip>Removing hidden [[object:volume|Volumes]] from display in TapeTrack TapeMaster affects only the Desktop software the preferences are altered in. It does not alter any other software's display accessing the server. The [[object:volume|Volumes]] will, however display the h flag globally.</note> |
| |
Open the TapeTrack TapeMaster Preferences by selecting ''File'' -> ''Preferences''. | Open the TapeTrack TapeMaster Preferences by selecting ''File'' -> ''Preferences''. |
| |
Set the **Show Hidden Volumes** field to false via the drop down box. | {{file_preferences.gif}} |
| |
| Set the ''Show Hidden Volumes'' field to ''false'' via the drop-down box. |
| |
Click ''OK'' to close the **Preferences** window and save the updates. | Click ''OK'' to close the **Preferences** window and save the updates. |
| |
<note tip>Hidden volumes can be restored to display by setting the **Show Hidden Volumes** field to true and resetting the TapeTrack TapeMaster display by pressing F5</note> | {{show_hidden_volumes_false.gif}} |
| |
| ===== Restoring Hidden Volumes To Display In TapeTrack TapeMaster ===== |
| |
| Open the TapeTrack TapeMaster Preferences by selecting ''File'' -> ''Preferences''. |
| |
| {{file_preferences.gif}} |
| |
| Set the ''Show Hidden Volumes'' field to ''True'' via the drop-down box. |
| |
| Click ''OK'' to close the **Preferences** window and save the updates. |
| |
| {{show_hidden_volumes_true.gif}} |
| |
| Resetting the TapeTrack TapeMaster display, may be required depending on the version installed, by clicking in the Inventory window and pressing ''F5'' on your keyboard. |
| |
| ===== Hiding Volumes From Command Line Programs ===== |
| |
| All Command Line batch programs that use a [[object:volume|Volume]] filter can be set to skip [[object:volume|Volumes]] with the hidden Attribute (h Flag) and exclude them from the results and reports. |
| |
| ==== Example ==== |
| |
| <note important>All [[object:user|User]], server, [[object:customer|Customer]] and [[object:media|Media]] details shown are examples only. You will need to insert your own values in order to make a successful connection to your server.</note> |
| |
| Show complete inventory, minus any hidden [[object:volume|Volumes]] for customer US04, media LTO currently in repository OFFS, excluding all [[object:volume|Volumes]] with a Hidden (h) Flag. |
| <code> |
| TMSS10Inventory -S user:-password@server -V "US04.LTO.*@OFFS+!h" |
| </code> |
| |
| |
| {{tag> technote tapemaster cli volume flags h-flag}} |