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 > adding chunk reg

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-25-04, 06:02
Maruthi Maruthi is offline
Registered User
 
Join Date: Dec 2003
Posts: 11
Question adding chunk reg

Hi..

I want to add a new chunk for my instance.

im using onspace command for that.(informix 9.4x, Windows NT)

onspaces -s instance name -p c:\ifmxdata\instancename\newfile -o 0 -s 50000.

How to create a file for that with the specified size.


rgds
Maruthi.
Reply With Quote
  #2 (permalink)  
Old 05-25-04, 08:55
lloydnwo lloydnwo is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 262
Hi Maruthi,

First go to command promt, go to the specific directory, type edit newfile, save it and exit. A new file will be created with zero bytes.
Now go to unix prompt and type

Onspaces – a mydbspace -o 0 -p c:\ifmxdata\spaces\newfile –s 50000

Regards,

Lloyd
Reply With Quote
  #3 (permalink)  
Old 05-25-04, 10:13
artemka artemka is offline
Registered User
 
Join Date: May 2004
Location: New York
Posts: 248
go to the directory where you want the dbspace to be and type
touch "file name"

then change permisions to 660 and owner group to informix:informix

then do the onspaces command

cheers
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