Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
In the past we have used Informix's internal mirroring capabilities to move to new disk arrays. This should also work to move from raw to cooked disks.
-----Original Message-----
From: owner-informix-list@iiug.org
[mailto:owner-informix-list@iiug.org]On Behalf Of mccmx@hotmail.com
Sent: Monday, October 17, 2005 9:26 AM
To: informix-list@iiug.org
Subject: Relocate Informix database from Raw slices to filesystem
Is there any way I can relocate my IDS 7.31 database from its raw
slices to the local filesystem...?
I can 'dd' the slices to files easily, but I need a way of telling
Informix the new location of the chunks.
This seems straigtforward for the rootdbs (which is defined in
onconfig),
but what about the other chunks..?
I want to avoid unloading and reloading the data. All I want to do is
move the physical chunks..
onstat -d:
Informix Dynamic Server Version 7.31.UC5 -- On-Line -- Up 2 days
14:38:28 --
40768 Kbytes
Dbspaces
address number flags fchunk nchunks flags owner name
c04a150 1 1 1 1 N informix rootdbs
c04a618 2 1 2 1 N informix logicdbs
c04a6d8 3 1 3 1 N informix procdbs
3 active, 2047 maximum
Chunks
address chk/dbs offset size free bpages flags pathname
c04a210 1 1 50 400000 278361 PO- /dev/rdsk/c1t6d0s4
c04a458 2 2 50 200000 134867 PO- /dev/rdsk/c1t6d0s5
c04a538 3 3 50 400000 347171 PO- /dev/rdsk/c1t6d0s6
Any help appreciated...
Matt
sending to informix-list
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.