From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Galt Newsgroups: gmane.os.tru64.managers Subject: Summary: Restoring root fileset on 4.0d Date: Tue, 24 Jun 2008 14:59:44 -0400 Message-ID: <0K2Z00L5SE3NLX@emroute4.ornl.gov> References: <20080523122801.GK4571@sws5.ORNL.GOV> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: ger.gmane.org 1214334025 3611 80.91.229.12 (24 Jun 2008 19:00:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2008 19:00:25 +0000 (UTC) To: tru64-unix-managers@ornl.gov Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Jun 24 21:01:09 2008 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by lo.gmane.org with smtp (Exim 4.50) id 1KBDlJ-0000Y8-Oj for gotm-tru64-unix-managers@gmane.org; Tue, 24 Jun 2008 21:01:06 +0200 Original-Received: (qmail 23256 invoked by uid 49509); 24 Jun 2008 19:00:00 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 23247 invoked from network); 24 Jun 2008 18:59:59 -0000 Original-Received: from emroute4.ornl.gov (160.91.86.27) by sws1.ornl.gov with SMTP; 24 Jun 2008 18:59:59 -0000 Original-Received: from emroute4.ornl.gov ([127.0.0.1]) by emroute4.ornl.gov (PMDF V6.3-x14 #31501) with ESMTP id <0K2Z00L8BE3Z1I@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 24 Jun 2008 14:59:59 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.3-x14 #31501) id <0K2Z00M01E3ZAG@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 24 Jun 2008 14:59:59 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.3-x14 #31501) id <0K2Z00M02E3N6V@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 24 Jun 2008 14:59:59 -0400 (EDT) Original-Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by emroute4.ornl.gov (PMDF V6.3-x14 #31501) with ESMTP id <0K2Z00L5RE3MLX@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 24 Jun 2008 14:59:47 -0400 (EDT) Original-Received: from OMTA05.westchester.pa.mail.comcast.net ([76.96.62.43]) by QMTA05.westchester.pa.mail.comcast.net with comcast id hnQt1Z0080vyq2s550bC00; Tue, 24 Jun 2008 18:59:46 +0000 Original-Received: from JackDell.comcast.net ([76.98.189.78]) by OMTA05.westchester.pa.mail.comcast.net with comcast id huzl1Z00N1hvtyc3Ruzm6h; Tue, 24 Jun 2008 18:59:46 +0000 In-reply-to: <20080523122801.GK4571@sws5.ORNL.GOV> X-Envelope-from: jgalt163@comcast.net X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spam2.ornl.gov X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00, BOTNET_SERVERWORDS,FREEMAIL_FROM,SPF_PASS autolearn=no version=3.2.5 X-Authority-Analysis: v=1.0 c=1 a=wYgqttsJNu8A:10 a=XRqxqHZ9WykA:10 a=ugxvX12Bdm5nsWJEq5gA:9 a=SZr9AhtZpIWnugyBouMA:7 a=2jKSJbbfZptneKXHVLo8qvcRhTMA:4 a=XF7b4UCPwd8A:10 Original-References: <20080523122801.GK4571@sws5.ORNL.GOV> Xref: news.gmane.org gmane.os.tru64.managers:9322 Archived-At: Thanks to all who replied and sorry for taking so long to post the summary. I still do not know why I was unable to re-create the domain (see original post below). There is a renamefset command that was suggested, but since the system was running (only the clone backups were failing because the root fileset was mistakenly named "roottmp") I did not want to risk renaming the root filesystem in multiuser mode ( I was working remotely). I was concerned that it may not work on the root file system and that I may just corrupt something. I used the vdump/vrestore process ( which I had used many times before to expand root partition space and worked well) to copy the original data for root, usr, and var to another disk (creating the root fileset correctly this time...) and then I had a tech onsite move the new disk into the scsi position of the original disk. All is working properly now. Regards. John At 08:28 AM 5/23/2008, you wrote: >Hello Managers, >This is something I have done successfully before but for some reason >it is failing today. > >I want to restore the root advfs filesystem on a 4.0d system. I did >this successfully on the same system last month, however, when I did >it last month, I mistakenly named the root advfs fileset "roottmp" >with advfs domain "root_domain" (don't ask how I did such a thing. >Just accept that I did it...). Surprisingly it works even with that >fileset name. However, the backups fail because the routine tries to >create a clone of "root_domain#root" which doesn't exist. Also, I >know that the wrong fileset name will cause me further headaches >ahead. So even though the system is functional, I wanted to make it right. > >I tried today to restore from another tape vdump and I am getting the >problem I will show below. Unfortunately, I am not at the site where >the restore was taking place and was working with someone who was >only my hands-on, so I don't have all the exact error messages. > >Here is the procedure I was following: > >1) Booting from the 4.0g CD ( the version we are running is 4.0d but >this is the only CD they have on the site. It worked last month) >2) Upon starting X, a message is displayed warning that this version >of the operating system has different disk partition size >requirements. We click OKAY. >3) It opens the Installation Window displaying things like SETUP >DONE, VIEW SOFTWARE, etc. We are selecting UNIX SHELL. >4) At the UNIX shell, we cd to /dev and MAKEDEV rz8 (the current >system disk and the one we want to restore to) and MAKEDEV tz21 (the >tape device). Both commands successfully create the device files. >5) I can read the disklabel of rz8 and have even successfully >re-written the disk label with the -R option. So I feel comfortable >that the disk is accessible and the device files were created. >6) We try to create the root domain on /dev/rz8a with >"mkfdmn /dev/rz8a root_domain". This fails with the following message: > >/dev/rrz8a is an invalid device or cannot be opened >The disklabel for /dev/rrz8a cannot be updated >Quitting >Mkfdmn: can't create new domain 'root_domain' > >7) We have tried cd'ing in and out of /dev and /var and /. >8) We have tried various switches in mkdfmn like -o and -r. We have >tried using the raw device /dev/rrz8a. >9) We have tried reading the current disklabel and re-writing with >disklabel -Rrt advfs rz8 not solve the mkdfmn problem. > > >Does anyone have any ideas? >This is really bizarre since I did the same procedure last month >successfully. The only difference was that last month, the disk we >were restoring to was a replacement disk with no operating system on it. > >It looks like something has opened the rz8a partition (since it is >obviously a valid device) but I don't know how to determine what >process has it opened. > >Any help would be appreciated. I am at a lost here. > >Thanks in advance. >John