Operating System - Tru64 Unix
1748097 Members
5576 Online
108758 Solutions
New Discussion юеВ

Re: Tru64 v5.1B cloning

 
SOLVED
Go to solution

Tru64 v5.1B cloning

I am trying to clone an ES40 with Tru64 5.1B to another. The source ES40 has AdvFs and LSM to mirror system. The method I use is :
1) install Tru64 v5.1B on new ES40 (1 disk, AdvFs, LSM not mirrored yet)
2) copy / /usr /var from old ES40 to new
3) setup new (hostname, ...)

First question : Is that the correct method ?

Second question : at step 3) I have the following problem : after copying File Systems, I boot single user on genvmunix to setup, but I come up with devices dskxx different from the install => pb with LSM, only / is mounted... Can I do anything to rename devices (dskxx to dskyy), with dsfmgr or hwmgr ?
5 REPLIES 5
Johan Brusche
Honored Contributor

Re: Tru64 v5.1B cloning


If you can stop the source ES40, you could
physically remove the boot-disk mirror copy
from it and plug it at the same place in the
target ES40.
Then on both systems, your repair the root
disk LSM mirror-set as if a faulty disk was
replaced.
That way you gain on the time spent installing the OS(and patchkits).
Rgds,
Johan.

_JB_

Re: Tru64 v5.1B cloning

Thanks Johan but unfortunately we can't stop the source ES40.
Johan Brusche
Honored Contributor
Solution

Re: Tru64 v5.1B cloning


Do you have tape-drives access on both ES40 ?
What does "copy" mean under step 2) ?

After set 2) and before booting, you need
to disable LSM and clear the HW config
db-files.

a)disable LSM:
- remove 3 lsm lines from /etc/inittab
- delete /etc/vol diretcory
- set lsm_rootdev_is_volume=0 in sysconftab
- point swapdevice in sysconfigtab to
/dev/disk/dsk0b

b)reset HW-config db-files

rm /etc/dec*
rm /etc/dfsc*
rm /etc/dc*
cd /cluster/members/member/dev/
./MAKEDEV std
rm /cluster/members/member/etc/dfsl*
rm /cluster/members/member/.Booted
cd /devices; rm -rf disk rdisk tape ntape cport dmapi changer

init 0

step 3)
boot -fl s

mountroot
dn_setup -init
dsfmgr -K
dsfmgr -v

eventually correct /etc/fdmns links
continue with configuring new hostname etc..

Rgds,
Johan.

_JB_
Ralf Puchner
Honored Contributor

Re: Tru64 v5.1B cloning

Have a look into the best practise section of www.tru64unix.compaq.com given the necessary information howto clone a system.

Cloning via disk copy is not official supported.

Help() { FirstReadManual(urgently); Go_to_it;; }

Re: Tru64 v5.1B cloning

Thanks again for new answers.

Johan :
- yes there are tapes available (DDS3) in both servers, but I thought the bt_create could not be used in this context because of LSM
- copy means vdump on source, transfer via Lan, and vrestore