From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Joehnk, John" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Boot to mirrorset in raidarray Date: Thu, 22 Apr 2004 09:02:00 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <972D9FEE9DB6E04385BF68980A9C30C5069D8C@silver.scrolltech.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1082642686 12334 80.91.224.253 (22 Apr 2004 14:04:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2004 14:04:46 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Apr 22 16:04:37 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 1BGeoe-0003ym-00 for ; Thu, 22 Apr 2004 16:04:37 +0200 Original-Received: (qmail 28791 invoked by uid 5); 22 Apr 2004 14:04:26 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 28776 invoked by uid 49501); 22 Apr 2004 14:04:26 -0000 Original-Received: from john.joehnk@scrolltech.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.86.17):SA:0(-4.9/5.0):. Processed in 0.671321 secs); 22 Apr 2004 14:04:26 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 22 Apr 2004 14:04:25 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HWK00LMMSF9HF@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 22 Apr 2004 10:04:24 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0HWK00L02SF0KP@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 22 Apr 2004 10:04:13 -0400 (EDT) Original-Received: from silver.scrolltech.com (scrolltech.com [209.184.239.18]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HWK00I7BSEZZZ@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 22 Apr 2004 10:04:12 -0400 (EDT) Original-To: "Tru64 Unix group \(E-mail\)" X-MIMEOLE: Produced By Microsoft Exchange V6.0.6249.0 Thread-Topic: Boot to mirrorset in raidarray thread-index: AcQjJ/2QGEIL2SnKSDaUApnnwwe+yAFSMixQ Content-Class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:6844 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6844 Thanks to all that answered it is always a great help! I have included the basic steps that I followed to create the duplicate = drive. I found an older article the mentioned that to do this, and have it = bootable, the LUN of the "new" boot drive needed to be 0. When I created my new mirrorset with a LUN of 0, it worked. I have not tried again with a non 0 LUN to verify this, but it seems to = be the difference. These are the steps that I followed *** Assuming that your new disk is a rz28d and is the rz1 disk disklabel -wr -t ufs rz1 rz28d newfs /dev/rz1a newfs /dev/rz1g mkdir /root2 mkdir /usr2 shutdown now mount -u / mount /dev/rz1a /root2 mount /usr mount /dev/rz1g /usr2 vdump -0 -f - -D / |vrestore -xf - -D /root2 vdump -0 -f - -D /usr |vrestore -xf - -D /usr2 Some import changes to make to the new root disk. mount root2_domain#root /root2 1. In the /root2/etc/fstab file change your swap space to the new disk. change /dev/rz0b swap1 ufs sw 0 2 to /dev/rz1b swap1 ufs sw 0 2 *** -------------------------------------------------------------------------= ------------ Is it possible to have your boot/system disk in a raid cabinet? I am testing this on an AlphaServer 1000 running 4.0g connecting to a = Raid Cabinet with HSZ40 controllers. =20 My production system is a 4100 with HSZ70 controllers. I have used the vdump / vrestore procedures to copy the system. I feel = that the drive is partitioned correctly. I made the changes to the fstab on the "new" system disk. when I reboot = and specify that drive it begins reading from the raid array, but at = some point during the boot, it seems to change back to the original disk = and the boot fails. I have removed any reference to the internal drives that I can find, but = the boot fails. Any suggestions or thoughts? Thanks John Joehnk Scroll Technologies