onspaces
Posted in 2017
User received "onspaces: command not found" error when trying to create dbspaces. The issue was resolved: the INFORMIXDIR/bin directory wasn't in the PATH environment variable. Additionally, user learned that onspaces can only be used after the database instance is initialized with oninit -i; it cannot allocate the rootdb dbspace, which only initialization can do.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: Storage & Space Management, Server Administration
I have a couple of questions where I am a bit confused on. I want to create
space on my training server for rootdbs, logdbs, tmdbs, and datadbs.
I tried this command and got the error: onspaces: command not found
This is the command that I took from Lester Knutson's video.
onspaces -c -d tmpdbs -t -p $INFORMIXCHUNKS/tmpdbs -o 0 -s 2000000
1. Does this command make a chunk or is it creating a dbspace where I need to
put the chunk inside of this?
2. Does this error mean I cannot use onspaces for some reason?
Your environment is wrong ??
-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of BENJI
LONG
Sent: Monday, April 10, 2017 12:06 PM
To: ids@iiug.org
Subject: onspaces [38892]
I have a couple of questions where I am a bit confused on. I want to create
space on my training server for rootdbs, logdbs, tmdbs, and datadbs.
I tried this command and got the error: onspaces: command not found
This is the command that I took from Lester Knutson's video.
onspaces -c -d tmpdbs -t -p $INFORMIXCHUNKS/tmpdbs -o 0 -s 2000000
1. Does this command make a chunk or is it creating a dbspace where I need
to
put the chunk inside of this?
2. Does this error mean I cannot use onspaces for some reason?
****************************************************************************
***
Forum Note: Use "Reply" to post a response in the discussion forum.
It likely means your PATH environment variable is not set.
export PATH=${PATH}:${INFORMIXDIR}/bin
onspaces should be in ${INFORMIXDIR}/bin/ if everything is installed
correctly.
Andrew
-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of BENJI
LONG
Sent: Monday, April 10, 2017 12:06 PM
To: ids@iiug.org
Subject: onspaces [38892]
I have a couple of questions where I am a bit confused on. I want to create
space on my training server for rootdbs, logdbs, tmdbs, and datadbs.
I tried this command and got the error: onspaces: command not found
This is the command that I took from Lester Knutson's video.
onspaces -c -d tmpdbs -t -p $INFORMIXCHUNKS/tmpdbs -o 0 -s 2000000
1. Does this command make a chunk or is it creating a dbspace where I need
to put the chunk inside of this?
2. Does this error mean I cannot use onspaces for some reason?
****************************************************************************
***
Forum Note: Use "Reply" to post a response in the discussion forum.
is onspaces available to be used before the database server is initialized for
the first time, or only after?
Benji:
The onspaces utility is there and can be run, but it will not do anything
until the instance has been initialized. You cannot, for example, use
onspaces to allocate the rootdb dbspace only the initialization (oninit -i)
can do that.
Art
Art S. Kagel, President and Principal Consultant
ASK Database Management
www.askdbmgt.com
Blog: http://informix-myview.blogspot.com/
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.
On Mon, Apr 10, 2017 at 1:57 PM, BENJI LONG <ruggedmouse@hotmail.com> wrote:
> is onspaces available to be used before the database server is initialized
> for
> the first time, or only after?
>
>
> ************************************************************
> *******************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
--94eb2c0d47a60d8a65054cd3c4e5
Ok, thanks. I get it now.