keithcascio
15 years agoLevel 3
command line, slot statuses, CAP/Mailslot/media access port
Hi,
What is the most elegant command, using bp command line tools, to list the statuses of all slots in the cartridge access port (CAP) a.k.a. Mailslot a.k.a. media access port? I want to k...
- 15 years ago
Media manager commands all start with vm. The only command that comes close to what you need is vmcheckxxx, but that will only report on normal slots, not the cap.
The other possible way is the method used in this TN:
How to use robtest commands from the command line with no user intervention required
Once you know the address for the robot, you can use the following in a script:
To check contents of slots:
echo "s s" | /usr/openv/volmgr/bin/tldtest -r /dev/sg/c1t2l0
To check contents of CAP:
echo "s i" | /usr/openv/volmgr/bin/tldtest -r /dev/sg/c1t2l0