Every day, I would like to eject from my library (StorageTek 9710) the medias used during the night. Do you know how to perform this in "batch" mode (i.e not from the Media Manager interface)???
Since xvmadm does not have a command option like xbpadm does, such as # xbpadm -commands &, try using the robtest utility. /usr/openv/volmgr/bin/robtest. Then, select your library. Type a "?" to get the list of options to use. I have to do this when a tape is stuck and xvmadm does not recognize the tape.
You should be at a blank prompt. Type "mode" to do a mode sense. Then do your eject or move, such as "m d1 s1". (Move media in Drive 1 to Slot 1. Not sure if this is what you are looking for. Just trying to help. You can probably experiment with this and get something to work.
where
$LIB_SLOT is the variable containing the Library slot number
$CAP_SLOT is the variable containing the CAP slot number
and $ROBOTDEV is the variable containing the robotic arm device info, such as /dev/sg/c2t0l4.
To inject (from CAP slot to Library slot) a tape, do the following:
friendly word of warning for using robtest - only use it when no backups or restores are running as it completely owns the robot when in use - forget to log out and your backups will fail for the night!
Does anybody else here suffer with tldtest being left running if you exit robtest untidily (e.g ctrl c), and then be unable to kill it with anything ?
I occasionally get to a state with robtest on a STK700 that it hangs and I have to bail out. I then have to reboot to get rid of tldtest and to get library control back !
NB datacentre 3.4.1 on W2K SP2
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.