From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christian Wessely Newsgroups: gmane.os.tru64.managers Subject: Update SUMMARY: removing quota files / diskconfig Date: Tue, 17 Jan 2006 08:55:50 +0100 Organization: University Graz Message-ID: <43CCA306.2000609@uni-graz.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1137484580 22159 80.91.229.2 (17 Jan 2006 07:56:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2006 07:56:20 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Jan 17 08:56:15 2006 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1EylhJ-0002cU-D2 for gotm-tru64-unix-managers@gmane.org; Tue, 17 Jan 2006 08:56:09 +0100 Original-Received: (qmail 13907 invoked by uid 49509); 17 Jan 2006 07:55:50 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 13898 invoked from network); 17 Jan 2006 07:55:49 -0000 Original-Received: from emroute4.ornl.gov (160.91.86.27) by sws1.ornl.gov with SMTP; 17 Jan 2006 07:55:49 -0000 Original-Received: from emroute4.ornl.gov (localhost [127.0.0.1]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IT8004NU8P1G3@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 17 Jan 2006 02:55:49 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) id <0IT800F028OP84@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 17 Jan 2006 02:55:48 -0500 (EST) Original-Received: from herakles.kfunigraz.ac.at (HERAKLES.kfunigraz.ac.at [143.50.13.36]) by emroute4.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IT800DA58OJ4A@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 17 Jan 2006 02:55:37 -0500 (EST) Original-Received: from [143.50.105.12] ([143.50.105.12]) by herakles.kfunigraz.ac.at with Microsoft SMTPSVC(5.0.2195.5329); Tue, 17 Jan 2006 08:55:31 +0100 Original-To: tru64-unix-managers@ornl.gov X-Envelope-from: christian.wessely@uni-graz.at X-Accept-Language: de-DE, de, en-us, en User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on email.cind.ornl.gov X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.0 X-OriginalArrivalTime: 17 Jan 2006 07:55:31.0063 (UTC) FILETIME=[635BF870:01C61B3B] Xref: news.gmane.org gmane.os.tru64.managers:8726 Archived-At: Hello Admin wizwards, Michael James Bradford pointed out that in the example supplied by Bard Tesaker the partition /dev/rz0c was to be added, which would represent the whole disk. I would like to point out that of course everyone has to replace it with the letter representing the disk partition in question (in my case it was /dev/rz0h). Thank you, Michael! CW once again thanks for all the answers and a big hand for: Tom Blinn (!), Bl Venkatesh, Bard Tesaker, Peter Stern, Armin Olig Consensus was that: a) quota files MUST not be deleted cause they are used by the AdvFS; they are however only sparse files so that most of the pages are nopt really there (Tom) b) it is highly recommended NOT to resize the disk partition (eg /dev/rz0h) w/ diskconfig while the system is running. c) However the following way proved to be useful for the main clusternode (and failed on the failover node for obscure reasons): use disklabel to mark the partition h as used by advfs and use addvol to add it as a volume to the filedomain usr_domain. Bard Tesaker supplied this procedure: ####################################################################### Example under assumes the system disk /dev/rz0 (rawdevice /dev/rrz0) and "ed" as EDITOR. * First edit the disklabel so the h partition covers the unused blocks: #stamme:/> disklabel -re /dev/rrz0c 1068 / h: h: 0 0 unused 0 0 # (Cyl. 0 - -1) s/0/135143/ s/0/1817930/ -1 h: 135143 1817930 unused 0 0 # (Cyl. 0 - -1) w 1079 q write new label? [y]: y re-edit the label? [y]: n #stamme:/> * Then add the h partition to the usr_domain (require advfs licence) #stamme:/> addvol /dev/rz0c usr_domain #stamme:/> "df /usr" and "showfdmn usr_domain" should now reflect the change. /etc/usr_domain should contain rz0g and rz0h. This procedure should be "tamper-safe" since both disklabel and addvol verifies that your actions are safe, checking overlap with acive partitions etc. ########################################################## d) workaround on the failover cluster: I created the partition h as described and also created a new domain (var_domain) and a fset (var) on it. Then, i edited fstab to mount this new partition as /var and moved the complete content of /var (i.e. /usr/var) to it. thank you all!! CW