To check the status of a tape drive in NetBackup from the command line, you can use the vmoprcmd command.
/usr/openv/volmgr/bin/vmoprcmd -d ds
The output will look like this:
DRIVE STATUS
Drv Type Control User Label RecMID ExtMID Ready Wr.Enbl. ReqId
0 hcart TLD - No - 0
1 hcart TLD - No - 0
2 hcart TLD - No - 0
3 hcart TLD - No - 0
