From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Howard Arnold Newsgroups: gmane.os.tru64.managers Subject: Summary: Extend file system Date: Fri, 21 Jan 2005 12:48:32 -0500 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 1106329651 20840 80.91.229.6 (21 Jan 2005 17:47:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Jan 2005 17:47:31 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Jan 21 18:47:18 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1Cs2sP-00015Y-00 for ; Fri, 21 Jan 2005 18:47:17 +0100 Original-Received: (qmail 2066 invoked by uid 5); 21 Jan 2005 17:47:09 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 2051 invoked by uid 49501); 21 Jan 2005 17:47:09 -0000 Original-Received: from arnoldh@celerent.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(-2.6/5.0):. Processed in 0.69619 secs); 21 Jan 2005 17:47:09 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 21 Jan 2005 17:47:08 -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 <0IAO0080OHEIY0@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 21 Jan 2005 12:47:07 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0IAO00102HE1QN@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 21 Jan 2005 12:46:58 -0500 (EST) Original-Received: from mr02.conversent.net (mr02.conversent.net [204.17.65.6]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IAO00EI6HD134@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 21 Jan 2005 12:46:49 -0500 (EST) Original-Received: from celhowardpc2 (gw.budgix.com [209.113.184.67]) by mr02.conversent.net (8.13.0/8.13.0) with SMTP id j0LHjuWT005473 for ; Fri, 21 Jan 2005 12:46:07 -0500 (EST) Original-To: Tru64-Unix-Managers X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Envelope-From: Xref: main.gmane.org gmane.os.tru64.managers:7952 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7952 Thanks for all the reply's. Most of the replies mentioned doing a addvol to grow the file system which I know how to do and have done many times. My main goal was to test the EVA's capability of extending a file system using the new capabilities of 5.1b. The way it is documented in the manual didn't work for me. I created another test case this morning and I did a hwmgr -scan scsi before reading and writing the new label and it didn't work. I still got the message, disklabel: partition c: partition extends past end of unit disklabel: Replacement label is invalid. when I tried to write the new label back to the disk. I forgot to mention that I was using the c partition. Anyhow using the disklabel -rw dsk100 and then doing the mount -u -o extend test_domain#test /test works. I can't guarantee that this is the best or only way to do it, but it was a way I found to get it to work. Thanks, Howard Original question: I have a quick question on extending a file system. I have an HSV110 and I have extend my virtual disk by 100gig. I want to extend the file system without umounted it. This is what I did 1) Extended virtual disk by 100gig 2) disklabel -rw dsk100 3) mount -u -o test_domain#test /test The file system showed the increase in size and I was able to read and write the file system. The reason I'm asking the question is the system admin guide has you reading the disklabel to a file and then modifying the label and reading it back onto the disk (section 6.3). This didn't work for me because is said that the open partition extend pass the end of the disk.