05-23-2018 01:21 AM
hello,
i want to know the recorded media_id of specifique drive in cmd.
the goal is to be able via a script to indicate the media which is in the drive
for then indicated its status and the size used.
"vmoprcmd -d ds -h" give me something really hard to read in script.
there is something else ?
Thanks.
Solved! Go to Solution.
05-24-2018 06:58 AM
We check what tapes are in what drive with this command:
/usr/openv/volmgr/bin/vmoprcmd|grep ULT|grep -E -e T[0-9]{\5\}
HP.ULTRIUM4-SCSI.011 Yes Yes T21146 T21146 Yes hcart
HP.ULTRIUM4-SCSI.013 Yes Yes T21590 T21590 Yes hcart
HP.ULTRIUM4-SCSI.015 Yes Yes T21562 T21562 Yes hcart
05-23-2018 11:37 PM
The only place I can think the recorded media id appears is in vmoprcmd output.
05-24-2018 06:58 AM
We check what tapes are in what drive with this command:
/usr/openv/volmgr/bin/vmoprcmd|grep ULT|grep -E -e T[0-9]{\5\}
HP.ULTRIUM4-SCSI.011 Yes Yes T21146 T21146 Yes hcart
HP.ULTRIUM4-SCSI.013 Yes Yes T21590 T21590 Yes hcart
HP.ULTRIUM4-SCSI.015 Yes Yes T21562 T21562 Yes hcart