From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: UnixMgr Newsgroups: gmane.os.tru64.managers Subject: disklabel mismatch? Date: Mon, 22 Mar 2004 13:06:05 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1079978818 5307 80.91.224.253 (22 Mar 2004 18:06:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 Mar 2004 18:06:58 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Mar 22 19:06:48 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 1B5Tp1-0005vH-00 for ; Mon, 22 Mar 2004 19:06:47 +0100 Original-Received: (qmail 7354 invoked by uid 5); 22 Mar 2004 18:06:39 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 7298 invoked by uid 49493); 22 Mar 2004 18:06:39 -0000 Original-Received: from unixmgr@bowater.com 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(0.0/5.0):. Processed in 1.908801 secs); 22 Mar 2004 18:06:39 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 22 Mar 2004 18:06:36 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HUZ006LNOYY7W@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 22 Mar 2004 13:06:36 -0500 (EST) Original-Received: from gvls010.bowater.com ([167.147.30.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with SMTP id <0HUZ00E1WOYR6E@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 22 Mar 2004 13:06:28 -0500 (EST) Original-Received: from unknown(167.147.240.34) by gvls010.bowater.com via csmap id edd5a1ba_7c2a_11d8_8536_00304811d63f_16457; Mon, 22 Mar 2004 13:01:22 -0500 (EST) Original-Received: from gvlsnt78.bowater.com ([167.147.30.102]) by GVLAFW01; Mon, 22 Mar 2004 13:06:05 -0500 (EST) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.0.6375.0 Thread-Topic: disklabel mismatch? Thread-Index: AcQQOFgDS+AORAQrS8+uXq5B6dAYJA== content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Xref: main.gmane.org gmane.os.tru64.managers:6671 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6671 I have a system (alphaserver 4100) that was excess at one site that we plan to use here. I went into the raid array utility and set up the shelves as follows: (each shelf holds six drives) =20 Controller 1 Log drive 0 sh1 shelf2 [4gb] [4gb] [4gb] [4gb] [4gb] [4gb] [4gb] [4gb] This is raid 0 + 1 and shows a size of 32768 mb from controller software =20 Log drive 1 [4gb] [4gb] [4gb] [4gb] This is raid 0 + 1 and shows a size of 16364 mb from controller software =20 Controller 2 Log drive 0 [4gb] [4gb] [4gb] [4gb] [4gb] [4gb] This is raid 0 + 1 and shows a size of 24546 mb from controller software =20 Log drive 1 [9.1gb] [9.1gb] [9.1gb] [9.1gb] [9.1gb] [9.1gb] This is raid 0 + 1 and shows a size of 52068 mb from controller software =20 My goal was to stripe each shelf and then mirror it with an equivalent config on the other shelf for redundancy. Here is where I got confused, I booted from install cd and then exited out so that I could do disklabels. (Goal is to migrate copy of existing environment) I did disklabel -rw on each dsk device to get a basic label. =20 Dra0 shows up as an 8 member, this should be controller 1, log drive 0. A disklabel -r dsk0 shows a c partition of 33,513,472. This seems consistent with 32,728 mb as reported. =20 Dra1 shows up as a 4 member, this should be controller 1, log drive 1. A disklabel -r dsk1 shows a c partition of 16,756,736. This is also consistent with the 16,364 mb size that was reported. =20 Drd0 shows up as a 6 member, this should be controller 2, log drive 0. A disklabel -r dsk4 shows a c partition of 17,773,524. This does not make sense to me. The reported size in the controller was 24,546 mb. There is too much difference here. =20 Drd1 shows up as a 6 member, this should be controller 2, log drive 1. A disklabel -r dsk5 shows a c partition of 8,380,080. This is even more puzzling. =20 =20 I have rerun the controller config to verify what I wrote down. I don't know if maybe my understanding of what I should see is wrong or what but the numbers on one controller seem to be what I would expect, the other one does not. Also, even though the controller says these are raid 0 + 1 and the boot shows it, I still am confused that the total size seems to be the size of all drives not the logical size of the raid 0 + 1 device. I would expect the c partition for a raid 0 + 1 containing six 4gb drives to be 12gb. =20 Michael Smith =20 =20