very simple onspaces question?
Posted in 2008
Topics: Storage & Space Management, Server Administration
I hope you don't mind-I have a simple onspaces question (I did look in manuals
for the answer and did not find a definitive answer).
Anyway...to bring a PRIMARY mirrored chunk online the syntax is
onspaces -s DBSPACENAME -p PATHAME_OF_CHUNK -o OFFSET -O
Now my question...if it's a MIRROR of a mirroed chunk is it.....
onspaces -s DBSPACE-where-chunk-resides -m directory-path-of-chunk -o OFFSET -O
IE: -m instead of -p I know dumb question
-p is for Path. So you still use -p. The mirror will have a different
path.
onspaces
Usage:
onspaces { -a <spacename> -p <path> -o <offset> -s <size> [-m <path>
<offset>]
{ { [-Mo <mdoffset>] [-Ms <mdsize>] } | -U }
} |
{ -c { -d <DBspace> [-k <pagesize>] [-t]
-p <path> -o <offset> -s <size> [-m <path> <offset>]
} |
{ -d <DBspace> [-k <pagesize>]
-p <path> -o <offset> -s <size> [-m <path> <offset>]
[-ef <first_extent_size>] [-en <next_extent_size>] }
|
{ -b <BLOBspace> -g <pagesize>
-p <path> -o <offset> -s <size> [-m <path> <offset>]
} |
{ -S <SBLOBspace> [-t]
-p <path> -o <offset> -s <size> [-m <path> <offset>]
[-Mo <mdoffset>] [-Ms <mdsize>] [-Df <default-list>]
} |
{ -x <Extspace> -l <Location> } } |
{ -d <spacename> [-p <path> -o <offset>] [-f] [-y] } |
{ -f[y] off [<DBspace-list>] | on [<DBspace-list>] } |
{ -m <spacename> {-p <path> -o <offset> -m <path> <offset>
[-y] |
-f <filename>} } |
{ -r <spacename> [-y] } |
{ -s <spacename> -p <path> -o <offset> {-O | -D} [-y] } |
{ -ch <sbspacename> -Df <default-list> } |
{ -cl <sbspacename> } |
{ -ren <spacename> -n <newname> }
-a - Add a chunk to a DBspace, BLOBspace or SBLOBspace
-c - Create a DBspace, BLOBspace, SBLOBspace or Extspace
-d - Drop a DBspace, BLOBspace, SBLOBspace, Extspace, or chunk
-f - Change dataskip default for specified DBspaces
-m - Add mirroring to an existing DBspace, BLOBspace or SBLOBspace
-r - Turn mirroring off for a DBspace, BLOBspace or SBLOBspace
-s - Change the status of a chunk
-ch - Change default list for smart large object space
-cl - garbage collect smart large objects that are not referenced
default-list = {[LOGGING = {ON|OFF}] [,ACCESSTIME = {ON|OFF}]
[,AVG_LO_SIZE = {1 - 2097152}] }
-ren - Rename a DBspace, BLOBspace, SBLOBspace or Extspace
MW
-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
WILL LANDSTROM
Sent: Thursday, 13 March 2008 9:33 a.m.
To: ids@iiug.org
Subject: very simple onspaces question? [11590]
I hope you don't mind-I have a simple onspaces question (I did look in
manuals
for the answer and did not find a definitive answer).
Anyway...to bring a PRIMARY mirrored chunk online the syntax is
onspaces -s DBSPACENAME -p PATHAME_OF_CHUNK -o OFFSET -O
Now my question...if it's a MIRROR of a mirroed chunk is it.....
onspaces -s DBSPACE-where-chunk-resides -m directory-path-of-chunk -oOFFSET
-O
IE: -m instead of -p I know dumb question
************************************************************************
*******
Forum Note: Use "Reply" to post a response in the discussion forum.
See you at the IIUG Informix 2008 Conference
The Power Conference for Informix Professionals
April 27 - 30, 2008 Marriott Overland Park (Kansas City), Kansas
http://www.iiug.org/conf
Registration Now Open!!