Data Domain: How to test VTL functionality in NetBackup

요약: This article describes NetBackup command‑line tools that can be 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. ...

이 문서는 다음에 적용됩니다. 이 문서는 다음에 적용되지 않습니다. 이 문서는 특정 제품과 관련이 없습니다. 모든 제품 버전이 이 문서에 나와 있는 것은 아닙니다.

지침

During initial VTL configuration on a new host, or when you suspect device misconfiguration, backup failures, or loss of volume access, VTL functionality may need 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.


1. Verify Device Visibility.

Use the NetBackup scan utility (or sgscan on Solaris) to show available devices: 

Commands

Windows:

C:\Program Files\Veritas\Volmgr\bin\scan

UNIX/Linux:

/usr/openv/volmgr/bin/scan

The output should provide a list of devices, along with their Serial Numbers. 
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. 


2. Test Robot and Drive Operations Using robtest

NetBackup’s robtest utility directly manages robotic operations and can be used to confirm:

    • Robot control
    • Drive mapping
    • Slot inventory
    • Volume movement

Commands

Windows:

C:\Program Files\Veritas\Volmgr\bin\robtest

UNIX/Linux:

/usr/openv/volmgr/bin/robtest

The 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.

After finding the correct robot, select it and you will have access to an interactive command prompt.
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# to drive#"; 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# to slot#")

3. Additional OS‑Level Drive Testing

On UNIX/Linux hosts, you can further validate drive behavior using:

mt status

To check drive state.

For I/O testing on a blank tape, you may use commands such as:

tar
dd

Important robtest Warning

As documented by Veritas:

"⚠️The robtest utility interferes with robotic operations and prevents any mounts or dismounts from occurring while it runs. Please exit the utility when testing has been completed."

추가 정보

Device discovery from CLI:
How to do device discovery from 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)

해당 제품

Data Domain, Data Domain Virtual Tape Library
문서 속성
문서 번호: 000010309
문서 유형: How To
마지막 수정 시간: 10 3월 2026
버전:  4
다른 Dell 사용자에게 질문에 대한 답변 찾기
지원 서비스
디바이스에 지원 서비스가 적용되는지 확인하십시오.