Topic Thread

Expand all | Collapse all

failed to add chunks

  • 1.  failed to add chunks

    Posted 30 days ago
    Hello All,

    Today i added couple of  chunks to informix instance using onspace command. But i failed to add them in first run as i am getting below error. I ran the same command again for 2-3 times and then successfully added to instance in the last run.
    I could not get clear information on this error in message log file or in command prompt. So I want to understand what could be the possible reason for failure of this command on first run.

    Please share your thoughts if you have any idea on this.

    $onspaces -a data1bs -p /home4/DATA/sales12/data1dbs_4 -o 0 -s 10485760
    Verifying physical disk space, please wait ...
    DR: Couldn't send add dbspace/chunk request to RSS secondary (sales12r_rep)


    ------------------------------
    Cherry
    ------------------------------


  • 2.  RE: failed to add chunks

    Posted 30 days ago
    Had the chunk file been created on the RSS secondary prior to running this onspaces? Were its permissions correct? Was the RSS online at the time? Try looking in the message log in the RSS server for around that time.

    Art S. Kagel, President and Principal Consultant
    ASK Database Management


    Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference.  Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves.








  • 3.  RE: failed to add chunks

    Posted 30 days ago
    Yes Art, Chunks are created with correct privileges on both primary and RSS server before I trigger the command. I did nothing in between onspace command runs...


    ------------------------------
    Cherry
    ------------------------------



  • 4.  RE: failed to add chunks

    Posted 30 days ago
    Weird!

    Art

    Art S. Kagel, President and Principal Consultant
    ASK Database Management


    Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference.  Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves.








  • 5.  RE: failed to add chunks

    Posted 30 days ago

    Cherry:

    I agree 100% with Art.  I have run into this issue from time to time.  Typically adding a chunk in the primary server directly will create the chunk on the secondary without issue but occasionally I will have to create the file for the chunk on the secondary server prior to running the ONSPACES command on the primary.  With the target file for the chunk on the secondary I have never seen the ONSPACES command fail.  



    ------------------------------
    Best regards,
    Martin Graney
    Queues Enforth Development, Inc.
    Stoneham, MA 02148
    ------------------------------



  • 6.  RE: failed to add chunks

    Posted 29 days ago
    Adding a chunk on an HDR/RSS replicated server requires the new device being present and meeting all size and permission requirements not only on primary, but on all secondaries too.  For every secondary currently connected, this requirement is being enforced by sending a verification request, via SMX, to each of them and checking its return value  (for secondaries not currently connected, you only can trust the circumstances will be right when it comes to replicating the chunk addition).

    The error you're citing would indicate something went wrong with sending that verification request to or receiving back a reply from one of the connected secondaries.  So all might be good wrt. new chunk devices/files, but somehow that information couldn't be exchanged.

    ------------------------------
    Andreas Legner
    ------------------------------



  • 7.  RE: failed to add chunks

    Posted 29 days ago
    Yeah.. I doubt any network issues like packet drop/communcation failure at the moment, may be reason for that error

    ------------------------------
    Cherry
    ------------------------------