From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,faf7c1a26310bbf7 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-11-19 07:33:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: John McNulty Newsgroups: comp.unix.tru64 Subject: Re: copying root disk to other host Date: Mon, 19 Nov 2001 15:24:26 +0000 Organization: J M Technology Ltd Message-ID: References: User-Agent: KNode/0.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.unix.tru64:5848 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- >> >> >> >>