If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2tapemgr problem - PJBR

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-20-07, 09:59
pjbr34 pjbr34 is offline
Registered User
 
Join Date: Aug 2005
Posts: 14
db2tapemgr problem - PJBR

Hi, list. I have a problem using db2tapemgr on db2/Linux. I want to test the log archive into a tape device and its removal from disk by using db2tapemgr but this is the problem I get:

> db2tapemgr db lnxges store on /dev/rtibm0 force eject
Parameter error. Reason: "DBT2112N Device "/dev/rtibm0" is not a tape device.".

This is specially strange since /dev/rtibm0 IS a tape device. For example, I can tar a file into tape with no problem at all (same user:
db2inst1):

> l
total 8742968
drwxrwxr-x 4 db2inst1 db2grp1 4096 2007-03-19 18:17 ./
drwxr-x--- 7 db2inst1 db2grp1 4096 2006-06-02 08:42 ../
-rw-r----- 1 db2inst1 db2grp1 438873 2007-03-07 16:16 db2rbind.log

> whoami
db2inst1

> tar -cvf /dev/rtibm0 db2rbind.log
db2rbind.log
>

So, it's not a matter of permissions but for some reason db2tapemgr does not recognize /dev/rtibm0 as a tape device. But I DO can use the tape device e.g. using TAR. Therefore the /dev/rtibm0 tape device DOES exist.

Does anyone know about this problem ?
Any help will be very welcome.

Thanks in advance,

Jose R. Baron
CALCULO S.A.
jbaron@calculo-sa.es
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On