Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

easy question...

Status
Not open for further replies.

WiccaChic

Technical User
Jan 21, 2004
179
US
How do I create a cooked file and then add it as a chunk? I use raw disk now, but I want to be able to mix in cooked files in an emergency.

My raw disk chunks have an offset of 32 and a size of 524255...so how do I make a cooked file with the same attributes and then add it as a chunk?
 
Hi,

To use a cooked file path as a chunk to an informix dbspace you need to have a mounted piece of file system. Ideally, you need to create a directory to hold a chunck. Follow the steps:

1. mkdir infdata
2. chmod 770 infdata
3. cd infdata
4. touch chunk01
5. chown informix:informix chunk01
6. chmod 660 chunk01

You may use onmonitor (if available, in your version) or onspaces to create and add dbspaces / chunks, specify size that you want to assign so that dbserver can stretch it to this limit in upfront.

Regards,
Shriyan
 
Thanks vpshriyan. Could not find a straight forward explanation of this anywhere, all I kept reading was its possible but no one ever seemed to give the specifics.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top