Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2003
    Posts
    7

    Question Unanswered: Creating a new Chunk

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

    first of all id 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.

  2. #2
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    780

    Re: Creating a new Chunk

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

    first of all id 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.

  3. #3
    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
    -----------------------------------------------------------------------

  4. #4
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    780

    Re: Here it is!

    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

  5. #5
    Join Date
    Nov 2003
    Posts
    7

    Re: Here it is!

    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

  6. #6
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    780

    Re: Here it is!

    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.

  7. #7
    Join Date
    Nov 2003
    Posts
    7

    Re: Here it is!

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •