From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Garsha, Adam" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Increasing filesystem size by enlarging Vdisk (trucluster 5.1b-3/eva5000) Date: Thu, 10 Nov 2005 14:04:25 -0600 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1131653247 18497 80.91.229.2 (10 Nov 2005 20:07:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Nov 2005 20:07:27 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Nov 10 21:07:19 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1EaIfS-0000YE-Et for gotm-tru64-unix-managers@gmane.org; Thu, 10 Nov 2005 21:05:06 +0100 Original-Received: (qmail 8510 invoked by uid 49509); 10 Nov 2005 20:04:44 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 8495 invoked by uid 49501); 10 Nov 2005 20:04:43 -0000 Original-Received: from 160.91.86.17 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.86.17):SA:0(-2.6/5.0):. Processed in 1.653443 secs); 10 Nov 2005 20:04:43 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute2.cind.ornl.gov (160.91.86.17) by sws1.ornl.gov with SMTP; 10 Nov 2005 20:04:41 -0000 Original-Received: from emroute2.cind.ornl.gov (localhost [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IPR00JEX93T7V@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 10 Nov 2005 15:04:41 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-1x9 #31038) id <0IPR0000293E8Y@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 10 Nov 2005 15:04:41 -0500 (EST) Original-Received: from its-exsmtp1.marqnet.mu.edu (email.marquette.edu [134.48.20.169]) by emroute2.cind.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IPR00GGP93D15@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 10 Nov 2005 15:04:26 -0500 (EST) Original-Received: from EMARQ2.marqnet.mu.edu ([134.48.20.150] RDNS failed) by its-exsmtp1.marqnet.mu.edu with Microsoft SMTPSVC(6.0.3790.1830); Thu, 10 Nov 2005 14:04:25 -0600 Original-To: tru64-unix-managers@ornl.gov X-Envelope-from: adam.garsha@marquette.edu X-MIMEOLE: Produced By Microsoft Exchange V6.5.7226.0 Thread-Topic: SUMMARY: Increasing filesystem size by enlarging Vdisk (trucluster 5.1b-3/eva5000) Thread-Index: AcXmMfLG970/qmdFTB6klsfauOvOpw== Content-class: urn:content-classes:message X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on spam2.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 10 Nov 2005 20:04:25.0747 (UTC) FILETIME=[F32C2630:01C5E631] Xref: news.gmane.org gmane.os.tru64.managers:8634 Archived-At: My Gold Support TAM followed up with the support person that had created the instructions for the EVA SAN level disk resize procedure (that uses manual disklabel edits): Here is what the gentleman that tested this said, he is the same individual that wrote the original procedures. I was able to successfully perform the following in the ALF lab: Operating System: Tru64 V5.1B PK4 # disklabel -r dsk153 > dsk153.backup extend Vdisk at eva from 2GB to 10GB # disklabel -rw dsk153 # mount -u -o extend /test_it Notice you do not have to put in the partition letter or tell disklabel the type of storage, that was a version 4.0x thing. This worked just fine, the file system was mounted, no data was lost. I unmounted and then remounted the file system and all was still fine. The only point I want to make is that just because it worked in our lab, this does not mean the company will bless this. I do not see why they would not though. One last thought, I did not have any i/o going to the disk when I did this, if Oracle or some other database or application is writing to the disks the customer wants to expand, I would suggest bringing down the database or application, just to be safe. Hope this helps. ~~~~~~~~~~~~~~~~~~~~~ Here was my response (I haven't heard back; anyway, I have used 'disklabel -rw' now a number of times on live test systems with out any issue): TAM, Thanks much. What would it take to get this "blessed" for live applications? I already know that it works. I also know that folks in the field do this as an operational technique and they have for some time. Would the gentleman be able to get this "approved"? if there is such a thing. Can you ask the gentleman why (or whether) he thinks this method is riskier then the hand-edit disklabel method that he had documented? If he does think that it is riskier, why? If he does not, why would this method require an application shut-down vs. the hand-edit method. Application shutdown is unacceptable... that is the whole point of chasing the online resize method in the first place. How much testing did the hand-edit method get prior to dispersal of the document? Can this method go through the same process/path, so that the support folks know that it is an "approved" technique. "Approval" would benefit any enterprise that uses Tru64 unix and EVA storage. ~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: Garsha, Adam=20 Sent: Thursday, September 15, 2005 5:27 PM To: 'tru64-unix-managers@ornl.gov' Subject: Increasing filesystem size by enlarging Vdisk (trucluster 5.1b-3/eva5000) I have the following: a.) database domain "foo" with a single fileset "bar". b.) the filesystem is active c.) the domain has a single whole disk under the hood (e.g. dsk100c) c.) I want to increase the Domain size, but I want to only have one drive per domain d.) An EVA5000 disk array is presenting the LUN I'd like to confirm that I can do the following on a 5.1-3 trucluster, while keeping the filesystem active and available: 0.) backup the relevant domains (of course); e.g. mature snapclone 1.) Increase relevant presented Vdisk size within my EVA5000 using commandview 2.) disklabel -r dsk100c > dsk100c.backup 3.) disklabel -rw dsk100c HSV110 4.) mount -u -o extend /foo/bar I've recieved documentation from HP support that states instead of #3. I should manually edit a disklabel protofile and then activate the new disklabel. I am having a hard time getting anyone to commit to whether using the -rw option will work. The ITRC forums suggest that it will. Anyone able to say with confidence: a.) that will not work! you will loose all data on the domain! or b.) that will work and is less error prone then manually editing the disklabel Adam Garsha Systems Engineer Marquette University IT Services adam.garsha@marquette.edu