Re: Moving of chunks..How to???
Posted in 1997
In article <5j5v09$14s@mew.corp.sgi.com>,
pablo@sgi.com 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 Sanchez | wk: 415.933.3812| pg: 800.930.5635 -or-
It depends. If you have original chunk names in form like
/dev/rdsk/xxxxxx, then will be very inconvenient to change these UNIX
special device file names to symbolic links to another device or ordinary
UNIX file. It is not correct from UNIX point of view. It could work of
course, but always use links in chunk names before you need them.
Miroslav Lorenc
SSA Czech Republic
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet