Re: How to drop an inconsistant chunk?
Posted in 1997
Topics: Storage & Space Management, Server Administration
I had to drop a chunk "manually" once by editing the CHUNK PAGE in the
reserved pages. What you need to do is zero out the chunk info and move
the other chunks info upwards. This was in V5.x though.
I used dd to copy out the 12 reserved pages and then wrote a C (or Perl)
program to edit the data. Then I used dd to write the pages back.
*** BACKUP THE ROOT RAW DEVICE BEFORE STARTING ***
You can use this method to bring offline chunks online in V5.
Rgds
Alvin
In article <jlumbleyEBBwwo.K24@netcom.com>, jlumbley@netcom.com (Joe
Lumbley) wrote:
>David Williams (djw@smooth1.demon.co.uk) wrote:
>: In article <338e95fc.8326392@PersonalNews.Germany.EU.net>, Lutz
>: Wiggershaus <wiggershaus@bdv2.un.eunet.de> writes
>: >After restoring a chunk from a level 0 archive without restoring the
>: >logs the chunk remains inconsistant. We are not able work with this
>: >chunk any more. Even dropping it is impossible. (onspaces -d <dbspace>
>: >leads to "Dbspace is not empty", onspaces -d -p <device> -o offset
>: >leads to "cannot drop first chunk")
>: >There are only two solutions of this problem:
>: >1. oninit -isy
>: >2. Calling Informix Tech Support. They log on to the machine and drop
>: >the chunk.
>: >Does anyone know, what they are doing or is there any other possible
>: >solution to this problem?
>: >We are using Online 7.20 on SCO ODT 5.0.
>: >
>: >Thank in advance.
>: >
>: >Lutz Wiggershaus
>
>: Run onspaces -- , there is an option to mark a dbspace as up or down.
>
>Probably won't work but worth a try. Informix "cannot drop first chunk" so
>he thinks there's some sort of data there that he wants to get rid of first
>before dropping the chunk...you can't get there from here.
>
>One of the techniques that Informix Tech Support uses is going into the
>rootdbs and twiddling bits in order to change a flag that makes OnLine
>think that it's a blobspace. Supposedly, that's easier for them to drop.
>
>Anybody with more specific info?
>
>Joe
>--
>: David Williams
>--
>---------------------------------------------------------------------------
>Joe Lumbley(jlumbley@netcom.com)
>---------------------------------------------------------------------------
--
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Alvin Koh <AlvinKoh@WriteMe.COM>
...Today's dreamers are tomorrow's achievers....ZZZZZZZZZZZ....
($$$)-($$$)-($$$)-($$$)-($$$)-($$$)-($$$)-($$$)-($$$)-($$$)-($$$)