From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jean Marie Diaz Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: supporting large filesystems under 4.0F Date: Thu, 25 Sep 2003 11:08:32 -0700 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1064513204 15048 80.91.224.253 (25 Sep 2003 18:06:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2003 18:06:44 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Sep 25 20:06:42 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1A2aVl-0002hj-00 for ; Thu, 25 Sep 2003 20:06:41 +0200 Original-Received: (qmail 3195 invoked by uid 5); 25 Sep 2003 18:06:31 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 3186 invoked by uid 49493); 25 Sep 2003 18:06:31 -0000 Original-Received: from jdiaz@westcoastbeauty.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(-3.0/5.0):. Processed in 0.75908 secs); 25 Sep 2003 18:06:31 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 25 Sep 2003 18:06:30 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HLS0014L7MQEO@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 25 Sep 2003 14:06:28 -0400 (EDT) Original-Received: from loki2.loki2.wcbs (mail.westcoastbeauty.com [63.146.79.10]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HLS0046J7MBQC@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 25 Sep 2003 14:06:18 -0400 (EDT) Original-Received: from WCBS6426 (WCBS-6426 [10.0.10.243]) by loki2.loki2.wcbs with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id TDABHKSH; Thu, 25 Sep 2003 11:01:10 -0700 Original-To: "Tru64-Unix-Managers \(E-mail\)" X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook CWS, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:5422 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5422 Executive summary: upgrade. Thanks to Jim Lola, Dr. Thomas Blinn, Alan Rollow, Mike Heiser, and Nikola Milutinovic for rapid input. Alan's comments were most succinct and I reproduce them below: How big is the device? My recollection is that the field holding the device and partition size is a 32 bit signed integer. With "only" 31 bits of usable value, that leaves you with a per-device capacity maximum of 2,147,483,647 sectors (nearly 1 TB). The negative number you're seeing probably means that you got into the space above 1 TB but less than 2. Over two the integer will probably quietly wrap. On V4, the maximum supported UFS is 128 GB, though you may be able to use larger (but not up to 1 TB in my experience). AdvFS offers more options and with the appropriate license you can make multiple volume domains probably up to around 16 TB. Those limits are documented either in the SPD/Quickspec for the operating system or the release notes. I sorted out the question of the missing LUN myself. What I thought were two luns were actually two views of the first LUN (one through each of the KGPSAs). That first LUN (/dev/rz8c) happened to contain a 1.3T volume, hence the problem I reported. /dev/rzb8c (8764G) and /dev/rzc8c (534G) are now labelled, in an AdvFS filesystem, and usable. We're planning to upgrade to 5.1B in any case; this just speeds it up some. Thanks again! Ambar Original query reproduced below: > From: Jean Marie Diaz > Date: 2003/09/23 Tue AM 11:44:48 EDT > > We are testing an EMC (Clariion CX400) connected via two KGPSAs to an > AlphaServer 2100 running 4.0F patchlevel 8. The system sees two of the > three LUNs (not sure why it only sees two): > > # file /dev/rrz17c > /dev/rrz17c: character special (8/33794) SCSI #2 RAID 5 disk #136 (SCSI > ID #1) (SCSI LUN #0) errors = 0/4 > # file /dev/rrz8c > /dev/rrz8c: character special (8/16386) SCSI #1 RAID 5 disk #64 (SCSI ID > #0) (SCSI LUN #0) errors = 0/4 > > I have edited /etc/ddr.dbase, compiled and rebooted as per the EMC > documentation (also found in the archives here). I then zeroed the > disklabel, and wrote a default disklabel, which when read back shows (note > the negative number / overflow in the c partition definition): > > # disklabel -r rz17 > # /dev/rrz17a: > type: SCSI > disk: RAID 5 > label: > flags: dynamic_geometry > bytes/sector: 512 > sectors/track: 192 > tracks/cylinder: 1 > sectors/cylinder: 192 > cylinders: 8684 > sectors/unit: -1399230208 > rpm: 4400 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # milliseconds > track-to-track seek: 0 # milliseconds > drivedata: 0 > > 8 partitions: > # size offset fstype [fsize bsize cpg] # NOTE: > values not exact > a: 131072 0 unused 0 0 # (Cyl. > 0 - 682*) > b: 262144 131072 unused 0 0 # (Cyl. > 682*- 2047) > c: -1399230208 0 unused 0 0 # (Cyl. > 0 - 15081963) > d: 0 0 unused 0 0 # (Cyl. > 0 - -1) > e: 0 0 unused 0 0 # (Cyl. > 0 - -1) > f: 0 0 unused 0 0 # (Cyl. > 0 - -1) > g: 1447671936 393216 unused 0 0 # (Cyl. > 2048 - 7542005) > h: 1447671936 1448065152 unused 0 0 # (Cyl. > 7542006 - 15081963) > > Creating an AdvFS file domain with the c partition then fails: > > # mkfdmn /dev/rz17c mirrortest > mkfdmn: can't get device size; can't figure out file system partition > mkfdmn: can't create new domain 'mirrortest' > > Is there some sysconfigtab variable or other bit of configuration that needs > to be set in order for disklabel to properly size the partition? We do want > to upgrade to 5.1B, but would rather get this working as is (our production > hosts are all at 4.0F). > > For extra credit, can anyone suggest a reason why we would only see 2 of the > 3 LUNs defined on the EMC? > > Thanks in advance, > > Ambar