Can RMAN read direct from tape drive mounted at /dev/rmt1?
I'm trying to allocate a channel to a tape drive mounted at /dev/rmt1. How should my allocate channel command be?
I tried the below but when i try to restore my controlfile, I always hit the error ORA-27191, asking me to check my media management layer.
RMAN> run 2> { 3> allocate channel c1 device type sbt 4> parms='SBT_LIBRARY=oracle.disksbt,ENV=(BACKUP_DIR=/dev/rmt1)'; 5> restore controlfile from 'ctr_4916_1_702752991'; 6> } allocated channel: c1 channel c1: sid=432 devtype=SBT_TAPE channel c1: WARNING: Oracle Test Disk API Starting restore at 18-NOV-09 released channel: c1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of restore command at 11/18/2009 09:04:21 ORA-27191: sbtinfo2 returned error Additional information: 2 RMAN>