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 > Dbspaces disappear !!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-28-07, 10:58
dicipulofer dicipulofer is offline
Registered User
 
Join Date: Oct 2007
Posts: 55
Dbspaces disappear !!

Well..

I'm newbie in informix.. so , I need some help to discover this error..


I'm trying to create some dbspaces.. using this command:

onspaces -c -d phylog -p /logocenter/db/prd/rchunk002 -o 0 -s 1024000
onspaces -c -d loglog -p /logocenter/db/prd/rchunk003 -o 0 -s 1024000
onspaces -c -d prdtmp1 -t -p /logocenter/db/prd/rchunk004 -o 0 -s 2048000
onspaces -c -d prdtmp2 -t -p /logocenter/db/prd/rchunk005 -o 0 -s 1024000


It's ok. The dbspaces are creates but... when I restart the db they disapear in onstat -d.

I restart using

onmode -yuk
oninit -ivy

I got Expanded chunk capacity mode: disabled (maybe it should be always ?)


I dont know where I'm wrong.. can anyone help me ?

Att,
Fernando.
Reply With Quote
  #2 (permalink)  
Old 10-28-07, 16:03
RobP RobP is offline
Registered User
 
Join Date: Mar 2004
Location: Netherlands
Posts: 183
Talking Disappearing spaces

Hi Fernando,

What you experience is exactly what IDS is supposed to do. The problem is in the restart of the instance. You specify 'oninit -ivy', where the 'i' option stands for initialize. This means the whole diskarcitecture (especially the rootdbs) will be formatted and all information regarding the other chunks/spaces is deleted.
You can restart wityh oninit (with or without the -v option). The -i option is only there to set-up a new instance. If you remove the 'y' option IDS will print a question that tells you if you are really sure you want to discard all existing data.

Hope this helps,

RobP
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