From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Cohen.Jessica@ic.gc.ca Newsgroups: gmane.os.tru64.managers Subject: SUMMARY RE: Restoring a root disk - I can boot to it! Date: Thu, 05 Feb 2004 15:11:00 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <6DF6CA3C7B44D411827C060000000000127B953C@MB-BP-05> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: sea.gmane.org 1076011896 19044 80.91.224.253 (5 Feb 2004 20:11:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2004 20:11:36 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Feb 05 21:11:28 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AopqR-0006bh-00 for ; Thu, 05 Feb 2004 21:11:27 +0100 Original-Received: (qmail 16718 invoked by uid 5); 5 Feb 2004 20:11:13 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 16703 invoked by uid 49493); 5 Feb 2004 20:11:12 -0000 Original-Received: from Cohen.Jessica@ic.gc.ca by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-2.0/5.0):. Processed in 0.967007 secs); 05 Feb 2004 20:11:12 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 5 Feb 2004 20:11:11 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HSM00GJZO2LL1@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 05 Feb 2004 15:11:10 -0500 (EST) Original-Received: from smtpgate-01.ic.gc.ca (smtpgate-01.ic.gc.ca [192.197.186.122]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HSM00I6DO2IAO@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 05 Feb 2004 15:11:07 -0500 (EST) Original-Received: by smtpgate-01 with Internet Mail Service (5.5.2657.72) id <1LT68TDJ>; Thu, 05 Feb 2004 15:11:05 -0500 Content-return: allowed Original-To: tru64-unix-managers@ornl.gov X-Mailer: Internet Mail Service (5.5.2657.72) Xref: main.gmane.org gmane.os.tru64.managers:6351 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6351 Sorry for the much-delayed summary Basically we used dn_setup -clean, dn_setup -init, and dfsmfr -K to redo our devices directory, at which point I was able to see the disks with disklabel again. The first time I still got strange results, but when I booted to the disk by specifying it on the >>> line, and left the bootdef_dev parm empty, it worked better. Once I could see the disks with disklabel it was straightforward recreating all my file domains. Thanks to Nilesh M. Virani, John Lanier, Derek Haining, Dr. Thomas Blinn, and Charles Ballowe for their help. -----Original Message----- From: Cohen, Jessica: DGRB Sent: Tuesday, February 3, 2004 1:43 AM To: tru64-unix-managers@ornl.gov Subject: Restoring a root disk - I can boot to it! Hi, today we rewired our disk arrays on an ES40. We didn't actually change the root disk, although it was physically moved to another shelf, it is on the same KZPCC raid controller and the same bus on that raid controller. When I type show dev at the >>> prompt, I can see all 5 of our LUN's. I know from a hardware perspective which one is our boot disk (dzb536.0.0.2004.0), and if I set bootdef_dev to this disk, I can successfully boot to single user mode. However, I can't tell which logical disk number this boot disk is. I see root_device when I try df -k, and I tried using advscan on each of the disks I see in the /dev/disk directory, and can't find the disk, or find the usr_domain which is on the same disk. I do have vrestores of /, /usr, and /var but when I boot from the 5.1 CD, I can't see any of the disks, /dev/disk only contains floppy and cd's. When I boot from the boot disk I have /dev/disk entries from 0 to 5, even though I only have 5 disks. Can anyone tell me how I can tell what disk number I am booting off of, and then specifically how I go about changing the domains so that I am mounting / and /usr and /var from the right disk? Thanks, Jessica Cohen