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 2: Extend file system Date: Sat, 22 Jan 2005 23:40:51 -0500 Message-ID: <00ae01c50105$b8000340$3601a8c0@howard> 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 1106455308 20432 80.91.229.6 (23 Jan 2005 04:41:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Jan 2005 04:41:48 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sun Jan 23 05:41:42 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 1CsZZF-0008PJ-00 for ; Sun, 23 Jan 2005 05:41:41 +0100 Original-Received: (qmail 15949 invoked by uid 5); 23 Jan 2005 04:41:31 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15933 invoked by uid 49501); 23 Jan 2005 04:41:31 -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.4.119):SA:0(-2.5/5.0):. Processed in 0.588086 secs); 23 Jan 2005 04:41:31 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 23 Jan 2005 04:41:30 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IAR009846D553@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 22 Jan 2005 23:41:29 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0IAR00C026C5ZO@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 22 Jan 2005 23:40:59 -0500 (EST) Original-Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IAR00C7X6C41J@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 22 Jan 2005 23:40:53 -0500 (EST) Original-Received: from howard ([68.234.92.253]) by mta10.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20050123044051.HSUK25543.mta10.adelphia.net@howard> for ; Sat, 22 Jan 2005 23:40:51 -0500 Original-To: Tru64-Unix-Managers X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-Priority: 3 X-MSMail-priority: Normal X-Envelope-From: Xref: main.gmane.org gmane.os.tru64.managers:7956 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7956 I want to thank Bill Kirk who told me that if I increased the size of the c partition the way I was doing I also needed to change the sectors/unit: 40135120 of the disk to match. I did another test and this worked. This step is missing in the manual. I then did a test by putting in a larger value, larger than the actual disk size, but had the sectors/unit match the c partition and the disk label took. I than did a mount -u -o extend and it failed by stating that it would extend past the end of the disk. I was glad of this because I wanted to see if there a check to make sure that you couldn't just type any size in. 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. Howard Arnold Technical Consultant Phone:(603) 685-6060 ext:206 Fax: (603) 685-6060 Email: arnoldh@celerent.com www.celerent.com