* copying root disk to other host
@ 2001-11-16 14:06 Kari Keronen
2001-11-19 2:01 ` Naseer
0 siblings, 1 reply; 3+ messages in thread
From: Kari Keronen @ 2001-11-16 14:06 UTC (permalink / raw)
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-
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: copying root disk to other host
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
0 siblings, 1 reply; 3+ messages in thread
From: Naseer @ 2001-11-19 2:01 UTC (permalink / raw)
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-
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: copying root disk to other host
2001-11-19 2:01 ` Naseer
@ 2001-11-19 15:24 ` John McNulty
0 siblings, 0 replies; 3+ messages in thread
From: John McNulty @ 2001-11-19 15:24 UTC (permalink / raw)
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-
>>
>>
>>
>>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-11-19 15:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox