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 > Creating a new Chunk

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-10-03, 06:14
Berli Berli is offline
Registered User
 
Join Date: Nov 2003
Posts: 7
Question Creating a new Chunk

Dear Forum Users,
i am new here please forgive my english!

first of all iŽd like to tell you our history:

we have added a new harddisk to our alpha 4100 machine
true 64 unix 4.0, with a mylex raid controller!

this harddisk is now a "JBOD" - Single Harddisk!

- now i carried out MAKEDEV to re2
- in the /dev folder now i have devices re2a to re2h
and also rre2a to rre2h (raw devises i think?)

How can i create 2GB Chunks for use to an informix test-dbspace??
the chunks should be named so that i immediately now - this is a chunk!

please help me.
Reply With Quote
  #2 (permalink)  
Old 11-10-03, 09:40
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: Creating a new Chunk

Quote:
Originally posted by Berli
Dear Forum Users,
i am new here please forgive my english!

first of all iŽd like to tell you our history:

we have added a new harddisk to our alpha 4100 machine
true 64 unix 4.0, with a mylex raid controller!

this harddisk is now a "JBOD" - Single Harddisk!

- now i carried out MAKEDEV to re2
- in the /dev folder now i have devices re2a to re2h
and also rre2a to rre2h (raw devises i think?)

How can i create 2GB Chunks for use to an informix test-dbspace??
the chunks should be named so that i immediately now - this is a chunk!

please help me.
Hi,

Plase, send me output of "onstat -d".

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 11-10-03, 09:47
Berli Berli is offline
Registered User
 
Join Date: Nov 2003
Posts: 7
Here it is!

Thank you!

----------------------------------------------------------------------------------
INFORMIX-OnLine Version 7.24.FC4 -- On-Line -- Up 1 days 22:45:49 -- 169464 Kbytes

Dbspaces
address number flags fchunk nchunks flags owner name
206746170 1 1 1 1 N informix rootdbs
206746ec0 2 2001 2 1 N T informix tempdbs
206746f58 3 1 3 6 N informix datadbs
206746ff0 4 1 9 4 N informix testdbs
4 active, 2047 maximum

Chunks
address chk/dbs offset size free bpages flags pathname
206746208 1 1 0 500000 183895 PO- /dev/ronline1
2067465b0 2 2 500000 250000 243301 PO- /dev/ronline1
206746698 3 3 0 1048576 1633 PO- /dev/ronline2
206746780 4 3 0 1048576 839 PO- /dev/ronline3
206746868 5 3 0 934000 838 PO- /dev/ronline4
206746950 6 3 50 1000000 664143 PO- /dev/ronline5
206746a38 7 3 0 1000000 81228 PO- /dev/ronline6
206746b20 8 3 0 1000000 718298 PO- /dev/ronline7
206746c08 9 4 0 1000000 999299 PO- /dev/ronline8
206746cf0 10 4 0 1000000 999947 PO- /dev/ronline9
206746dd8 11 4 0 1000000 999947 PO- /dev/ronline10
-----------------------------------------------------------------------
Reply With Quote
  #4 (permalink)  
Old 11-10-03, 09:58
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: Here it is!

Quote:
Originally posted by Berli
Thank you!

----------------------------------------------------------------------------------
INFORMIX-OnLine Version 7.24.FC4 -- On-Line -- Up 1 days 22:45:49 -- 169464 Kbytes

Dbspaces
address number flags fchunk nchunks flags owner name
206746170 1 1 1 1 N informix rootdbs
206746ec0 2 2001 2 1 N T informix tempdbs
206746f58 3 1 3 6 N informix datadbs
206746ff0 4 1 9 4 N informix testdbs
4 active, 2047 maximum

Chunks
address chk/dbs offset size free bpages flags pathname
206746208 1 1 0 500000 183895 PO- /dev/ronline1
2067465b0 2 2 500000 250000 243301 PO- /dev/ronline1
206746698 3 3 0 1048576 1633 PO- /dev/ronline2
206746780 4 3 0 1048576 839 PO- /dev/ronline3
206746868 5 3 0 934000 838 PO- /dev/ronline4
206746950 6 3 50 1000000 664143 PO- /dev/ronline5
206746a38 7 3 0 1000000 81228 PO- /dev/ronline6
206746b20 8 3 0 1000000 718298 PO- /dev/ronline7
206746c08 9 4 0 1000000 999299 PO- /dev/ronline8
206746cf0 10 4 0 1000000 999947 PO- /dev/ronline9
206746dd8 11 4 0 1000000 999947 PO- /dev/ronline10
-----------------------------------------------------------------------
Hi, Berli

Sorry, /dev/ronlineX are symbolics links or raw-devices ?
You want add one chunk on testdbs dbspace ?
Gustavo
Reply With Quote
  #5 (permalink)  
Old 11-10-03, 10:05
Berli Berli is offline
Registered User
 
Join Date: Nov 2003
Posts: 7
Re: Here it is!

Quote:
Originally posted by gurey
Hi, Berli

Sorry, /dev/ronlineX are symbolics links or raw-devices ?
You want add one chunk on testdbs dbspace ?
Gustavo
/dev/ronlinex are raw-devices.

thats what i would like do create from the new disk!
I would like to create a raw-device called ronline11 with
2GB and add them to testdbs!

the new disk has 36GB - so i want do create 4 raw-devices,
can you help me! i am not certified at unix....

thx
Reply With Quote
  #6 (permalink)  
Old 11-10-03, 10:33
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: Here it is!

Quote:
Originally posted by Berli
/dev/ronlinex are raw-devices.

thats what i would like do create from the new disk!
I would like to create a raw-device called ronline11 with
2GB and add them to testdbs!

the new disk has 36GB - so i want do create 4 raw-devices,
can you help me! i am not certified at unix....

thx
Hi Berli,

Sorry, I'm not know on Alpha 4100.
Can you run man makedev ?.....
Makedev or seemed will have create one devise of block (/dev/name)and one device of carater (/dev/rname), You must select carater devices.
Once you create the raw-devices, must run:
chown informix:informix /dev/new_carater_devices.
chmod 660 /dev/new_caracter_devices.
Then as user Informix run ONMONITOR or utility onspaces -a for add chunks.

Gustavo.
Reply With Quote
  #7 (permalink)  
Old 11-10-03, 13:19
Berli Berli is offline
Registered User
 
Join Date: Nov 2003
Posts: 7
Re: Here it is!

Quote:
Originally posted by gurey
Hi Berli,

Sorry, I'm not know on Alpha 4100.
Can you run man makedev ?.....
Makedev or seemed will have create one devise of block (/dev/name)and one device of carater (/dev/rname), You must select carater devices.
Once you create the raw-devices, must run:
chown informix:informix /dev/new_carater_devices.
chmod 660 /dev/new_caracter_devices.
Then as user Informix run ONMONITOR or utility onspaces -a for add chunks.

Gustavo.
Thank you - now it works!
if added the raw-devices which i created with the makedev utility (rre2a-h) to my dbspace!
no i am usually importing the database!
the next problem, while importing was the typically DBDATE problem - but now it works!
Thanks a lot.
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