Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: John McNulty <knode@jmtl.com>
Subject: Re: copying root disk to other host
Date: Mon, 19 Nov 2001 15:24:26 +0000	[thread overview]
Message-ID: <tvi9iuod0fl90a@corp.supernews.com> (raw)
In-Reply-To: sIZJ7.1690$RL6.53835@news.cpqcorp.net


He'll need to do a little more than that.   The system crashed in the first 
place because the system disk name is no longer the same as it was on the 
original system, so it's looking in the wrong place for swap.  

After booting to single user mode he'll need to 'mount -u /' to remount the 
root filesystem Read-Write before he can change any files.

If the root, /usr (and potenitally /var) filesystems are UFS, then he'll 
need to change the device names in /etc/fstab.   If they are ADVFS, then 
he'll need to remake the links in the /etc/fdmns/{root,usr}_domain 
directories to point to the right devices.    Then he can mount the other 
filesystems.

Also, if the system is configured for eager swap, then the 
/sbin/swapdefault soft link will need to be repointed to the primary swap 
device.

Then there's the system's name, IP addresses and aliases to think about.  
Changes to /etc/hosts and /etc/rc.config may be required - especially if 
the system model is different and the ethernet device is not the same type.

There are potentially other things to look our for too.  Sendmail config, 
DNS config,  etc.

Sometimes it's faster and simpler just to do a new install :-)

John


Naseer wrote:

> Kari,
> 
> Try the following:
> 
> a) boot from the cloned disk with GENVMUNIX in single-user mode as
> follows:
>>>> b -fl s -fi /genvmunix
> 
> b) Once the system is up, regenerate the kernel and reboot the system as
> shown below:
> # doconfig
>      (accept default values when prompted during above command)
> # mv /usr/sys/HOSTNAME/vmunix /vmunix
>     (Replace your systems node-name in place of HOSTNAME above)
> 
> c) Shutdown and reboot.
>     #shutdown -r now
> 
> Rgds,
> Naseer.
> 
> 
> Kari Keronen wrote in message ...
>>Hi,
>>
>>I have AS1000 running Tru64 4.0D. I tried to set up a test environment to
>>other AS1000A machine by cloning a root disk. Original root disk is behind
>>Raid Controller and the disk set where to copy in RA450 cabinet (HSZ50):
>>
>>init s
>>sync
>>sync
>>dd if=/dev/re0c of=/dev/rze9c bs=512
>>
>>After that I put disks in RA8000 (HSZ70) cabinet attached to AS1000A and
>>tried to boot (>>>b dkb0):
>>
>>.....
>>Loading vmunix...
>>Loading at fffffc0000230000
>>
>>Current PAL revision <0x1000400010115>
>>Switching to OSF PALcode Succeed
>>New PAL Revision <0x1000600020117>
>>
>>Sizes
>>     text=3562624
>>     data=543056
>>     bss=1135136
>>
>>panic(cpu0): Machine check - Hardware error
>>
>>DUMP: No primary swap, no explicit dumpdev
>>.....
>>halted CPU 0
>>HALT instruction executed
>>PC=fffffc0000478780
>>
>>I'm primarily VMS System Manager without much Unix experience, so if
> someone
>>can point me what to try next. I'd be grateful. The AS1000A machine is
>>currently successfully running VMS 7.3 by the way.
>>
>>SRM Console is V5.7-80
>>and PALcode V1.23-6
>>
>>-Kari-
>>
>>
>>
>>



      reply	other threads:[~2001-11-19 15:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-16 14:06 copying root disk to other host Kari Keronen
2001-11-19  2:01 ` Naseer
2001-11-19 15:24   ` John McNulty [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox