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: SUMMARY: removing quota files / diskconfig Date: Mon, 16 Jan 2006 15:33:10 +0100 Organization: University Graz Message-ID: <43CBAEA6.4000403@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 1137422014 28459 80.91.229.2 (16 Jan 2006 14:33:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Jan 2006 14:33:34 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Jan 16 15:33:32 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 1EyVQC-0003e4-HA for gotm-tru64-unix-managers@gmane.org; Mon, 16 Jan 2006 15:33:24 +0100 Original-Received: (qmail 29133 invoked by uid 49509); 16 Jan 2006 14:33:09 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 29123 invoked by uid 49501); 16 Jan 2006 14:33:09 -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.651496 secs); 16 Jan 2006 14:33:09 -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; 16 Jan 2006 14:33:07 -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 <0IT6009L8WF7MY@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 16 Jan 2006 09:33:07 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-1x9 #31038) id <0IT600G02WEWP5@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 16 Jan 2006 09:33:07 -0500 (EST) Original-Received: from herakles.kfunigraz.ac.at (HERAKLES.kfunigraz.ac.at [143.50.13.36]) by emroute2.cind.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IT600D8HWERSJ@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 16 Jan 2006 09:32:56 -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); Mon, 16 Jan 2006 15:32:50 +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-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.0 X-OriginalArrivalTime: 16 Jan 2006 14:32:50.0725 (UTC) FILETIME=[BA7DF550:01C61AA9] Xref: news.gmane.org gmane.os.tru64.managers:8725 Archived-At: Hello Admin wizwards, 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