From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Gormley Newsgroups: gmane.os.tru64.managers Subject: Summary Addvol on ADVFS root Date: Tue, 11 Feb 2003 09:43:43 +1100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <80FB80A41911D411A9D500508BC286207B69C0@python.lis.scu.edu.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1044916690 32012 80.91.224.249 (10 Feb 2003 22:38:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2003 22:38:10 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18iMYy-0008K7-00 for ; Mon, 10 Feb 2003 23:38:08 +0100 Original-Received: (qmail 8720 invoked by uid 5); 10 Feb 2003 22:40:07 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 8711 invoked by uid 49493); 10 Feb 2003 22:40:07 -0000 Original-Received: from jgormley@scu.edu.au by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.518478 secs); 10 Feb 2003 22:40:07 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 10 Feb 2003 22:40:06 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HA4008AT6YT4Z@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 10 Feb 2003 17:40:06 -0500 (EST) Original-Received: from axis.scu.edu.au (axis.scu.edu.au [203.2.32.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0HA400H316YOJC@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 10 Feb 2003 17:40:02 -0500 (EST) Original-Received: from alsvid.scu.edu.au (alsvid.scu.edu.au [203.2.32.4]) by axis.scu.edu.au (8.11.2/8.11.2) with ESMTP id h1AMdnn15641 for ; Tue, 11 Feb 2003 09:39:49 +1100 (EST) Original-Received: from python.lis.scu.edu.au (python.lis.scu.edu.au [10.138.8.22]) by alsvid.scu.edu.au (8.11.2/8.11.2) with ESMTP id h1AMdn315500 for ; Tue, 11 Feb 2003 09:39:49 +1100 (EST) Original-Received: by python.lis.scu.edu.au with Internet Mail Service (5.5.2650.21) id ; Tue, 11 Feb 2003 09:43:45 +1100 Content-return: allowed Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2650.21) Xref: main.gmane.org gmane.os.tru64.managers:3280 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3280 Thankyou all for the quick replies from: Robert Mulley Ronny Eliahu Nicola Miutinovic Kjell Andresen Udo Grabowski Johan Brusche Thomas Blinn Ram Rao Bryan Lavelle Joe Carrico Chris Adams The answers were mostly adamant that this could not/should not be done in a standalone system, the exceptions were to a V5 cluster system or via NFS. Chris Adams has made it work as a temporary measure, but warns of the risks involved. Seems the version 5 man pages, although slightly different, have the same message as the version 4.0g man pages, my apologies for not including the version I was looking at. Answers in full follow the original question. Original Question: Can anyone out there tell me definitavely whether addvol can or can not be used on the root domain? I have a 1996 course text which says it cannot be used, the man pages say "AdvFS does not support a multivolume root file system. You cannot use the addvol utility to expand root_domain". This would normally be enough to go on, but, HP says it can or cannot be done depending on who you talk to and the Tru64 archives seem to have a lot of examples of people who have used it. So, is it that it is possible but not supported? Relpies in Full: Robert Mulley I would advise against doing such an action. In fact man addvol brings up the message: AdvFS does not support a multivolume root file system. You cannot use the addvol utility to expand root_domain. This does not apply to cluster root domains. I would trust the man page. You may however be able to expand the root_domain by addvoling a disk then removing the old disk. Not sure about that though. BTW Having 2 volumes in the root_domain doubles your chances of a hard disk failure bringing down the machine. ************************************************************************ Ronny Eliahu No, NOT on root_domain ************************************************************************ Nicola Milutinovic root_domain can have ONLY ONE VOLUME. Look at man pages for "mkfdmn" and you'll see that there is special switch "-r" for creating root domains, which prevents it from having more than one volume and one file-set. *********************************************************************** Kjell Andresen My v5.1B "man addvol" states: RESTRICTIONS You must be the root user to use this utility. AdvFS does not support a multivolume root file system. You cannot use the addvol utility to expand root_domain. This does not apply to cluster root domains. *********************************************************************** Udo Grabowski As far as aI know, it's only possible for a Cluster File System (officially). *********************************************************************** Johan Brusche One can definitely NOT expand the root partition with addvol. the root_domain is created during istallation with the -r switch. At on time there was a error in the Factory installed software procedure that created the root_domain without the -r switch. This made it possible to addvol onto root_domain, but such root_domain is unaccessible when booted from CD since the AdvFS license is not active in that environment. In a V5 cluster the cluster_root can be expanded with addvol , but NOT the root bootpartition. *********************************************************************** Thomas Blinn You can't do it with a root domain from which you boot -- there is no support in the console firmware or the secondary bootstrap program for dealing with a multivolume boot disk. In a TruCluster system (V5.x) the member systems each have a boot disk that has an AdvFS root file system that is used SOLELY for booting and to hold some member-specific configuration files that are used to find the cluster-wide root file system and mount it (in a standalone system the boot disk MUST contain the root file system). As it happens, the code that mounts the cluster-wide root file system can deal with having it be a multi-volume file system; in fact, once the first member boots and forms the cluster, it "serves" the file system to the other members who don't actually do direct I/O to the volumes. In a network booted system, the root file system is served via NFS and it could be on a multi-volume AdvFS domain on the NFS server, but that isn't visible to the booted kernel which mounts an NFS served root. So there are cases where you can do it, but NOT in the standalone system case where you are booting off the disk that contains the root, nor in the TruCluster case where the member boot disk's member-specific root has to be single volume domain. ********************************************************************* Ram Rao Addvol on root_domain will not work! I would like to know the source of misinformation claming that it does work. The only exception is that in a V5 cluster, it will work because the cluster root domain is different from the member boot disk. ********************************************************************* Bryan Lavelle It can *not* be used on the root volume, with the only exception being cluster_root in V5 clustering, which obviously is a different animal. ********************************************************************* Joe Carrico You can't add a volume to root_domain, however if you are running TruCluser Server you can add a volume to the cluster_root domain. You may have to do this when performing a rolling upgrade (installupdate or dupatch). ********************************************************************* Chris Adams It is possible - I've done it temporarily (while moving from one drive to another). However, there are risks involved: if anything happens like a crash or required shutdown while there are mulitple volumes, the system will not boot, as AFAIK the boot loader doesn't understand multivolume roots. Regards, John John Gormley Senior Unix Systems Administrator Information Technology and Telecommunications Services Southern Cross University LISMORE NSW AUSTRALIA (02) 6620 3365