Re: relinking
Posted in 1999
art & all, Thanks again for this most helpful post...... Looks like the effort to make this change certainly is not and easy task! And on a busy production system too! I have been at the mercy of our system adm staff with these symlinks - hence the path changes. But I belive I might be able to change their minds now! :) thanks - maria Art S. Kagel wrote: > Maria Wilson wrote: > > > > not sure if this is possible or not - here's the scoop - > > just upgraded to Solaris 7 ( running ods 7.23) and now using disksuite > > as opposed to vm. Upgrade went fine and restore of database services > > was easy.... here's the question - Can I change the paths for the > > symlinks to the raw devices? I know that you can easily relink to a new > > disk if necessary - but how about doing the opposite and changing the > > name(path) of the symlink? Really don't want to stay with the vm > > directory structure - if possible. > > > > ex - /dev/vx/rdsk/dbdg/rootchunk to /dev/dbgroup/rootchunk > > Hence the recommendation, which I often repeat, to NOT place these links > in /dev AT ALL but in a directory under the informix HOME directory, vis: > > ~informix/disks -OR- > ~informix/chunks > > So my root chunk might be set to /home/informix/disks/rtdb_1 which is a > symlink to /dev/rdsk/informixraw_root which is in turn a pseudo-link to > /dev/rdsk/vdm(informixraw_root,3BD7F32F,6EC334DD,0) which is the actual > device that the DG volume manager creates. > > In 5.xx, to reduce the lengths of the paths to a minimum, I used to use > the directory "/i" to hold my chunks. For convention that is now a link > to ~informix/disks since old scripts still look for /i/* when trying to > locate chunk links. > > OH! To the question, before I forget altogether: > > No, you cannot change your linknames once the chunks have been added to > the engine. The ONLY solution is to build a new engine with the new links > and copy the data, unless you are brave enough to attempt to rewrite the > chunk table reserved pages. > > Art S. Kagel -- ---------------------------------------------------------------- Maria L. Wilson 757.766.8265 757.766.2571(fax) Computer Sciences Corporation NASA Langley Research Center m.l.wilson@larc.nasa.gov Hampton, VA 23666 http://www.larc.nasa.gov ----------------------------------------------------------------