728x90

That's why it is ALWAYS recommended to use symbolic links for chunk paths 

NOT the actual device or file paths. What version of IDS do you have? If 

you are running IDS 10.00 or later, you can restore your last archive and 

remap the chunks during the restore (see the Backup and Restore Guide manual 

for your version).


BTW, your root chunk is NOT working either. Changing ROOTPATH in the 

ONCONFIG file only changes the initial file opening that the engine uses to 

read the reserved pages. once that's done, it closes ROOTPATH and opens all 

of the chunks, including the initial root chunk, using the chunk table found 

in the reserved pages which will be wrong even for the root chunk.


If you are running an earlier version that does not permit chunk renaming 

using ontape/onbar, call us at oninit (www.oninit.com) we may be able to 

help.


Art S. Kagel 

Oninit (www.oninit.com) 

IIUG Board of Directors (art@iiug.org)


Disclaimer: Please keep in mind that my own opinions are my own opinions and 

do not reflect on my employer, oninit, the IIUG, nor any other organization 

with which I am associated either explicitly or implicitly. 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, Mar 30, 2009 at 10:49 AM, ALEXANDRE MARINI < 

amarini@fazenda.ms.gov.br> wrote:


> Hello, friends! 

> I´m having some trouble here. 

> Our O.S. team had added some additional disks on our storage. 

> When they restarted the server, the storage has changed the device letters: 

> from 

> /dev/hdb5, for example, that´s our root dbspace, 

> it changed to /dev/hdc5. 

> Then I made my onconfig ROOTPATH change to the correct device, that´s fine. 

> But for the other dbspaces (/dev/hdb6 and on...) I couldn´t change these 

> paths. 

> I´ve even tryed to edit the oncfg_[servername].[servernum] file, but it´s 

> worthless. When I start the database instance, the file´s re-created 

> somehow. 

> All the problem it´s because we don´t use symbolic links anymore, the paths 

> are all pointing to the real linux devices. 

> Is there some way to change them to symbolic links on the fly" ??? 

> Or just doing a backup / restore (onbar with a rename option flag)??? 

> once more, thanks for all. 


http://www.iiug.org/forums/ids/index.cgi/noframes/read/15370

728x90

'Informix > informix reference' 카테고리의 다른 글

FORCE_DDL_EXEC 환경 옵션  (0) 2011.03.31
informix link  (0) 2011.03.29
How to reorganize a table effectively  (0) 2011.03.14
informix 트랜잭션 관리  (0) 2011.03.12
Informix JDBC 연결 테스트  (0) 2011.03.09

+ Recent posts