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 > Informix > ontape -r error -2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-07-03, 12:06
marceloespinosa marceloespinosa is offline
Registered User
 
Join Date: Oct 2003
Posts: 20
ontape -r error -2

Dear friends,

I try to migrate database 9.21 on NT server to new machine windows 2000, for that i use: ontape.

I did backup with ontape -s -L 0 to a file c:\tape00 in wnt, after copy this file to w2000 machine and try to use ontape -r, to but i get a message with error -2 (Error opening file \\.\R, i have two dbspace: first is rootdb in raw device \\.\R:, and second dbstemp in \\.\T:,

R: and T: are partitions not formated, that are similar in both machines.

That operation was succesfully over informix 7.31, but not in 9.21,

Thanks for your help.

Marcelo E.
Reply With Quote
  #2 (permalink)  
Old 10-08-03, 09:48
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: ontape -r error -2

Quote:
Originally posted by marceloespinosa
Dear friends,

I try to migrate database 9.21 on NT server to new machine windows 2000, for that i use: ontape.

I did backup with ontape -s -L 0 to a file c:\tape00 in wnt, after copy this file to w2000 machine and try to use ontape -r, to but i get a message with error -2 (Error opening file \\.\R, i have two dbspace: first is rootdb in raw device \\.\R:, and second dbstemp in \\.\T:,

R: and T: are partitions not formated, that are similar in both machines.

That operation was succesfully over informix 7.31, but not in 9.21,

Thanks for your help.

Marcelo E.
HOLA MARCELO,

Proba de inicializar un on-line en W2000 y luego aplica el restore.

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 10-08-03, 15:56
marceloespinosa marceloespinosa is offline
Registered User
 
Join Date: Oct 2003
Posts: 20
Gracias, pero NO funciono

Alguna otra idea, o sera un bug ?

Marcelo E.
Reply With Quote
  #4 (permalink)  
Old 10-09-03, 09:30
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Quote:
Originally posted by marceloespinosa
Gracias, pero NO funciono

Alguna otra idea, o sera un bug ?

Marcelo E.
Hola Marcelo,
Te molestaría pasarme el onconfig del on-line y la versión de este ?

Gustavo.
Reply With Quote
  #5 (permalink)  
Old 10-09-03, 09:38
marceloespinosa marceloespinosa is offline
Registered User
 
Join Date: Oct 2003
Posts: 20
Hola Gustavo,

Te envio el onconfig, el ROOTPATH esta sobre \\.\R:, TAPEDEV y LTAPEDEV estan hacia archivos, solo los uso para el respaldo.

Gracias

Marcelo E.
Attached Files
File Type: zip onconfig.zip (3.9 KB, 30 views)
Reply With Quote
  #6 (permalink)  
Old 10-09-03, 09:43
marceloespinosa marceloespinosa is offline
Registered User
 
Join Date: Oct 2003
Posts: 20
Se me olvido la version, 9.21

Marcelo E.
Reply With Quote
  #7 (permalink)  
Old 10-09-03, 09:55
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Quote:
Originally posted by marceloespinosa
Se me olvido la version, 9.21

Marcelo E.
HOLA MARCELO

No veo nada raro, lo que quiero saber si utilizando los mismos dispositivos (R:, etc), al inicializar el on-line eso funciona o no ?
Si no funciono entonces el restore no va a andar hasta que esto pase.
Me estoy fijando el la lista de bugs y no encuentro nada.
El error -2 para el sistema operativo es que no encuentra un dispositivo, evidentemente W2000 no esta pudiendo ver esa partición.


Gustavo.
Reply With Quote
  #8 (permalink)  
Old 10-09-03, 10:52
marceloespinosa marceloespinosa is offline
Registered User
 
Join Date: Oct 2003
Posts: 20
Hola Gustavo,

Tal vez redacte mal este replay,

El restore sigue sin funcionar, no puede acceder a esa particion.

El oninit -i, funciona con las particiones, incluso agrego otros como S: y T:, y puedo ver con onstat -d estan registrados, pero al sacar el backup, nuevamente no trabaja.

Gracias por tu ayuda.

Marcelo E.

Last edited by marceloespinosa; 10-14-03 at 11:45.
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