How to determine disk storage location from a Media ID

Article: 100005341
Last Published: 2011-03-01
Ratings: 0 1
Product(s): NetBackup & Alta Data Protection

Problem

When pulling reports or performing a Catalog verification task in order to gather information about recent backup or duplication activity, a Media ID may be listed for those jobs that were recorded to disk storage units.  This does not include Basic Disk storage units, which will display the absolute pathname of the storage location as defined by the storage unit properties in the NetBackup Administration Console.  For all other disk based storage units and storage pools, a relative ID is assigned for each storage unit upon creation.

This Media ID is formatted with an asperant ("@") followed by a "one-up"  lettering system.  The first disk storage unit (including Basic Disk)  created is assigned "@aaaaa", the second "@aaaab", and so forth.  Once all the lower case letters have been assigned, the pattern repeats with the upper case letters, so after one pass through the next assignment would be "@aaaaA".

Solution

To determine where this Media ID resides, the following command may be entered:

nbdevquery -listmediaid @aaaab -U

where @aaaab would be replaced with the appropriate Media ID.

 

Example:

C:\Program Files\Veritas\NetBackup\bin\admincmd>nbdevquery -listmediaid @aaaab -UDisk Pool Name      : mystorage-11-basicdisk-stuDisk Type           : BasicDiskDisk Volume Name    : Internal_16Disk Media ID       : @aaaabTotal Capacity (GB) : 4.89Free Space (GB)     : 3.02Use%                : 38Status              : UPFlag                : ReadOnWriteFlag                : AdminUpFlag                : InternalUpNum Read Mounts     : 0Num Write Mounts    : 1Cur Read Streams    : 0Cur Write Streams   : 0 

The nbdevquery command is fully documented in the Veritas NetBackup™ Commands guide (version dependent). 

For Unix/Linux systems, the command is located at:

/usr/openv/Netbackup/bin/admincmd

For Windows systems, the command is located at:

<install_path>\Netbackup\bin\admincmd

 


Was this content helpful?