From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bob Marcan Newsgroups: gmane.os.tru64.managers Subject: SUMMARY2: installing Tru64 5.1B on PW500au, moving system disk to DS20E Date: Mon, 23 Jun 2003 16:47:09 +0200 Organization: Aster Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3EF712ED.3050600@aster.si> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1056379801 25134 80.91.224.249 (23 Jun 2003 14:50:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2003 14:50:01 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Jun 23 16:49:59 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19USbK-0006J3-00 for ; Mon, 23 Jun 2003 16:47:23 +0200 Original-Received: (qmail 15963 invoked by uid 5); 23 Jun 2003 14:47:19 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15954 invoked by uid 49493); 23 Jun 2003 14:47:18 -0000 Original-Received: from bob.marcan@aster.si by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-10.4/5.0):. Processed in 0.525383 secs); 23 Jun 2003 14:47:18 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 23 Jun 2003 14:47:18 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HGX00I3EVQQ6Y@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 23 Jun 2003 10:47:17 -0400 (EDT) Original-Received: from interstudio.homeunix.net (BSN-77-159-20.dsl.siol.net [193.77.159.20]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HGX00CFMVQLKC@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 23 Jun 2003 10:47:11 -0400 (EDT) Original-Received: from aster.si (localhost [127.0.0.1]) by interstudio.homeunix.net (Postfix) with ESMTP id 8D06D105FDF for ; Mon, 23 Jun 2003 14:47:09 +0000 (UTC) In-reply-to: Original-To: tru64-unix-managers@ornl.gov X-Accept-Language: en-us, en, sl User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030405 X-Enigmail-Version: 0.74.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Xref: main.gmane.org gmane.os.tru64.managers:4634 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4634 Well, i really didn't give up. Found some old mail and this works. Then scr..ed up disklabel and reinstalled all again. Best regards, Bob ------------------- Boot from distribution CD. Exit to shell. mount -u / dn_setup -init sbin/dsfmgr -K advscan -r /dev/disk/dsk0 mount domain_dsk0a#root /mnt rm /mnt/etc/dec* rm /mnt/etc/dccd.* rm /mnt/etc/dcdd.* rm /mnt/etc/dfsc.* rm /mnt/etc/dfsl.* rm /mnt/cluster/members/member/etc/cfginfo rm /mnt/etc/cfginfo rm /mnt/cluster/members/member/etc/dfsl.* rm /mnt/dev/tty0* rm /mnt/dev/lp* rm /mnt/dev/kevm* rm /mnt/dev/scp* for dir in cport disk rdisk changer tape ntape; do rm -rf /mnt/devices/$dir rm -rf /mnt/cluster/members/member/$dir rm /mnt/dev/$dir done rm /mnt/cluster/members/member/.Booted cp -p /genvmunix /mnt/genvmunix # halt P00>>>b dka0 -fi /genvmunix -fl s bcheckrc ... ------------------- The old mail. It's only a part which i saved as a comment in one of my scripts. ... 2) Chris' response I did something like this (installed on an old AlphaServer 1000 for an ES40). After I did the install and got everything "set", I did the following on the AS1000 right before shutting down to remove the disk: #*#*#*# #!/bin/sh # Run in the root directory of the filesystem to "clean" rm ./etc/dec* rm ./etc/dccd.* rm ./etc/dcdd.* rm ./etc/dfsc.* rm ./etc/dfsl.* rm ./cluster/members/member/etc/cfginfo rm ./etc/cfginfo rm ./cluster/members/member/etc/dfsl.* rm ./dev/tty0* rm ./dev/lp* rm ./dev/kevm* rm ./dev/scp* for dir in cport disk rdisk changer tape ntape; do rm -rf ./devices/$dir rm -rf ./cluster/members/member/$dir rm ./dev/$dir done rm ./cluster/members/member/.Booted #*#*#*# That basically wipes out the hardware database, and when you boot (on the real system), it will be recreated for the real hardware. 3) Bluejay's response Depending on how complex your systems are, this might or might not actually save you any time. Particularly if it doesn't work. Having said that, this *should* work, however you'll also need to delete the device database files when you move the system over, in addition to booting with the generic kernel. The files should get re-created on your first boot. The files involved would be dccd.bak dccd.dat dcdd.bak dcdd.dat dec_devsw_db dec_devsw_db.bak dec_hw_db dec_hw_db.bak dec_hwc_cdb dec_hwc_cdb.bak dec_hwc_ldb dec_hwc_ldb.bak dec_scsi_db dec_scsi_db.bak dec_unid_db dec_unid_db.bak dfsc.bak dfsc.dat dfsl.bak dfsl.dat If you try and keep these files from your ES40, don't be surprised if you get a panic shortly after booting, even with the generic kernel. I've had this happen when moving systems around between DS20s and ES40s. - Bluejay Adametz I am sure all 3 will work, & am going to have a bash at using option 2 which seems to have the backing of Compaq's support centre. NOTE: They will NOT support the build phase if I have any problems (the only supported build option is from CD). However, the ongoing support of this system will be no problem provided the HW database looks clean after the build. Original question : We are rebuilding a GS160 partition over next weekend. It is currently 4.0g - we plan to go to 5.1a. We are under a bit of time pressure over the weekend, so I was hoping to prebuild the 5.1a disk (+ Patch Kit) on another server (an ES40) on which I have downtime today. Then come the weekend, boot this new system disk on the target server. Naturally, the hardware database will be totally different. I've overcome this before in the good-old 4.0 days by booting off /genvmunix, running a sizer -n, grabbing the relevant H/W config text & using this to rebuild a new kernel, and then was able to reboot off /vmunix without any problems Question is: Is there a way of doing this on tru64 v5 which doesn't involve a lot of time ? Regards, Phil Richardson UNIX Administrator ______________________________ __ ACXIOM Direct Dial: +44 (0)191 525 7433 Acxiom Limited Telephone: +44 (0)191 525 7000 Camberwell Way Fax: +44 (0)191 525 7100 Doxford Technology Park Sunderland E-mail: phil.richardson@acxiom.com SR9 9XZ -- Bob Marcan mailto:bob.marcan@snt.si Aster^H^H...HermesPlus^H^H^H...S&T mailto:bob.marcan@aster.si Nade Ovcakove 1 tel: +386 (1) 5894-329 1000 Ljubljana, Slovenia http://www.snt.si