Data Domain: How to Test VTL Functionality in NetBackup
Summary: This article describes NetBackup command‑line tools that are used to validate Virtual Tape Library (VTL) functionality during initial configuration or when troubleshooting potential device issues. These commands allow testing outside of the NetBackup UI to confirm device visibility, robot behavior, drive loading, and tape operations. ...
Instructions
During initial VTL configuration on a new host, or when you suspect device misconfiguration, backup failures, or loss of volume access, VTL functionality may have to be tested independently of the NetBackup UI.
NetBackup provides CLI tools that allow direct validation of device visibility and robotic operations, even when the UI configuration is incomplete or incorrect; provided the VTL devices are visible to the operating system and accessible through the NetBackup pass‑through driver (on operating systems that require it).
These commands should be used only for initial setup or troubleshooting.
They must not be used while NetBackup is actively managing devices or running backup/restore jobs.
If using robtest on a media server that manages multiple libraries, take extreme care when selecting the robot number. Choosing the wrong robot may interfere with other connected libraries.
Verify Device Visibility.
scan utility (or sgscan on Solaris) to show available devices:
C:\Program Files\Veritas\Volmgr\bin\scan
UNIX/Linux:
/usr/openv/volmgr/bin/scan
You can match the devices reported with the devices configured on DD VTL and confirm that they are visible.
If the scan command can see the changer exported by DD VTL, you can proceed with the
robtest command to check basic device functionalities.
Test Robot and Drive Operations Using robtest
robtest utility directly manages robotic operations and can be used to confirm:
- Robot control
- Drive mapping
- Slot inventory
- Volume movement
C:\Program Files\Veritas\Volmgr\bin\robtest
UNIX/Linux:
/usr/openv/volmgr/bin/robtest
robtest startup output lists robots in the form:
TLD(#)
Verify the correct robot number in the NetBackup UI before choosing one.
Incorrect selection may disrupt other active libraries.
You can use the following commands to run your tests:
- List drives and check if they are empty or loaded
s d(means "show drives" It returns the status of all drives)
- List slots and check volume barcodes
s s(means "show slots" It returns the status of all slots)
- Mount a volume into a drive
m s# d#(means "move from slot# todrive#;" as an example: "m s1 d1")
- Unload a volume from a drive, making it available for moving back to slot (this is not required if the VTL option "
auto-offline" is enabled)unload d#(means "unload drive#")
- Move a volume back to the slot
m d# s#(means "move from drive# toslot#")
Additional OS‑Level Drive Testing
mt status
For I/O testing on a blank tape, you may use commands such as:
tardd
Important robtest Warning
As documented by Veritas:
Additional Information
Device discovery from CLI:
How to do device discovery from the command line for NetBackup device configuration (External Link)
Robtest SCSI functionality tests:Robtest commands that can be used to test the SCSI functionality of a robot (External Link)
Device verification with robtest:
How to verify device configuration using robtest (External Link)