set sbt_tape to none? [message #328248] |
Thu, 19 June 2008 08:45 |
JackyShu
Messages: 25 Registered: May 2008
|
Junior Member |
|
|
this a question that has been puzzling me for long time, although i can allocate channel manually as a workaround.
scenario: i don't have tape on my desktop, so i want to avoid tape device without put RMAN commands in RUN block (too many typing ).
RMAN> show default device type;
RMAN configuration parameters are:
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
RMAN> show device type;
RMAN configuration parameters are:
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
RMAN> crosscheck backup;
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=142 devtype=DISK
released channel: ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of crosscheck command at 06/19/2008 09:35:25
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
The crosscheck went to tape after it checked disk. I tried to CLEAR-ed device tape from configure, but as you see it was default, it didn't change anything.
RMAN> configure device type sbt_tape clear;
RMAN configuration parameters are successfully reset to default value
RMAN> crosscheck backup;
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=142 devtype=DISK
released channel: ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of crosscheck command at 06/19/2008 09:35:52
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
RMAN>
any ways to make sbt_tape disappear?
|
|
|
|
|
|
|
Re: set sbt_tape to none? [message #328291 is a reply to message #328248] |
Thu, 19 June 2008 11:06 |
JackyShu
Messages: 25 Registered: May 2008
|
Junior Member |
|
|
Thanks Mahesh, that works. I must have set MAXPIECESIZE for tape and I forgot it.
Michel, there were several settings for sbt_tape, as you can see, only MAXPIECESIZE is non default. I CLEAR-ed those default values, of course nothing happened. They all disappeared once MAXPIECESIZe was cleared.
|
|
|