Re: dropping initial chunk
Posted in 2000
You can, however, not by dropping the initial chunk of the dbspace but
by dropping the dbspace itself:
So you cannot:
onspaces -d dbspacename -p /usr/informix/disks/chunk10 -yif chunk10 is the first chunk of a dbspace but you can:
onspaces -d dbspacename -yand drop the entire dbspace including the first chunk and if that is
the only chunk these are equivalent.
Art S. Kagel
dm wrote:
>
> I am confused. I read the Administrators Guide and a posing by Art S. Kagel
> (see below) that says I can not drop an initial chunk of a dbspace.
>
> However, If I use onmonitor, I can drop the initial chunk of the same
> blobspace.
> (dbspaces/drop/ choose blobspace)
> I would like to script the procedure by using onspaces instead of using
> onmonitor, is there any way to do this?
> Why can I do this through onmonitor, but NOT through the command line?
> (I tried to ask Informix Technical Support, but they said they would not
> support scripting.)
>
> Thanks,
> Daniel
> dmcbryde@courts.state.va.us
> From: "Art S. Kagel" <kagel@bloomberg.com>
> Date: Wed, 10 Sep 1997 13:17:16 -0400
> Subject: Re: Dropping chunk: Manual correct?
> Message-ID: <3416D61C.5A5D@bloomberg.com>
> Reply-To: kagel@bloomberg.com
> Organization: Bloomberg Financial Markets
>
> Cosmo Lee wrote:
> >
> > I want to drop a chunk from a dbspace. I've done this before with
> > `onspaces -d` and giving the path to the chunk I want to drop. But
> > closer reading of the manual has confused me.
> >
> > In my Online 7.2 Administrator's Guide, pg 39-53, referring to `onspaces
> > -d` it states that the "-p" pathname is to "the *initial* chunk of the
> > blobspace or dbspace you are dropping". Is that right??? If I indicate
> > the initial chunk of the dbspace, aren't I dropping the first chunk?
> > There's no place else on the command line to indicate the chunk to drop.
> >
> > Is it me or is this badly worded? It seems to me that this wording
> > could lead someone to inadvertently drop the wrong chunk, if they were
> > following the instructions carefully.
>
> Badly worded. That "initial chunk of" language is in several places
> where it does not belong. What it should say is that "pathname and
> offset together identify the chunk to be dropped". BTW you cannot
> drop the initial chunk of a dbspace anyway.
>
> Art S. Kagel