Using a File to Specify Chunk-Location Information with the -f Option
You can create a file that contains the chunk-location information. Then, when you execute onspaces, use the -f option to indicate to the database server that this information is in a file whose name you specify in filename.
The contents of the file should conform to the following format, with options separated by spaces and each set of primary and mirror chunks on separate lines:
primary_chunk_path offset mirror_chunk_path offset
If the dbspace that you are mirroring contains multiple chunks, you must specify a mirror chunk for each of the primary chunks in the dbspace that you want to mirror. For an example that enables mirroring for a multichunk dbspace, see starting mirroring for unmirrored dbspaces with onspaces in the chapter on using mirroring in the HCL OneDB™ Administrator's Guide.