Re: Moving of chunks..How to???
Posted in 1997
Pablo Sanchez wrote:
>
> In article <33567247.26AE@netcomuk.co.uk>, Neil Truby <ntruby@netcomuk.co.uk> writes:
> > If you have used a symbolic link to the chunk, as described in the
> > Administrator's guide, you can take a level 0 archive, close down the
> > engine, re-establish the link to the new disk area, and restore.
> >
> > If you haven't used symbolic links, you'll have to dbexport or
> > tb/onunload your database(s), re-create your database on the new chunk,
> > and dbimport/onload.
> >
>
> Neil,
>
> Any reason why they couldn't create the symlink afterwards? I can't
> see any reason why that wouldn't work:
>
> Was:
>
> /usr/informix/my_chunk.dat
>
> Is:
> mv /usr/informix/my_chunk.dat /usr/informix/over_here/my_chunk.dat
> ln -s /usr/informix_over_here/my_chunk /usr/informix/my_chunk.dat
>
Pablo
I can't remember the original question, but I assumed that the chunk in
question was a raw slice. In which case the mv would not be
appropriate. However, ither correspondents did suggest a variation on
your suggestion, using a dd copy. I've never tried this myself, and
would be interested to know what others' experiences are.
regards
Neil