Results 1 to 4 of 4

Thread: Rename Chunk

  1. #1
    Join Date
    Jan 2007
    Posts
    30

    Unanswered: Rename Chunk

    How to Rename a Chunk in IDS 9.4

    Regards

    Saikat

  2. #2
    Join Date
    Jan 2007
    Posts
    30

    ontape -r -rename -f

    Hi,

    I have found that ontape -r -rename -f command do the move of chunk file. Accordingly I am giving the command

    ontape -r -rename -f dat1dbs -p /usr -o -n /ifmxdata/db1 -o

    where dat1dbs is the name of the chunk file, /usr is the path of the dat1dbs and /ifmxdata/db1 is the new path where the dat1dbs to be stored. I have been logged on as both su as well dbsa.

    But the command is giving following error

    Error at line 1 in input file dat1dbs

    Please provide me any solutions

    Saikat

  3. #3
    Join Date
    Aug 2005
    Posts
    140
    There is no supported way to simply rename a chunk.
    You can only rename dbspace, blobspace.... by onspaces.
    The only spported way of doing this would be to empty the chunk and then drop it and
    create a new chunk. That of course means unloading and
    reloading the data stored there.
    Unofficially you can do this by binary editing data on the disk, but its dangerous and can lead to some corrupted chunk information.

    ps: ontape can rename chunks only during cold restore.

  4. #4
    Join Date
    Jan 2007
    Posts
    30
    Can you please provide me the codes how to do it.


    Saikat

Posting Permissions

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