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: Restoring root fileset on 4.0d Date: Fri, 23 May 2008 08:28:01 -0400 Message-ID: <20080523122801.GK4571@sws5.ORNL.GOV> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211545704 11560 80.91.229.12 (23 May 2008 12:28:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 May 2008 12:28:24 +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 Fri May 23 14:29:04 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 1JzWOM-0008J0-6f for gotm-tru64-unix-managers@gmane.org; Fri, 23 May 2008 14:29:02 +0200 Original-Received: (qmail 7855 invoked by uid 49509); 23 May 2008 12:28:04 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 7809 invoked from network); 23 May 2008 12:28:04 -0000 Original-Received: from emroute4.ornl.gov (160.91.86.27) by sws1.ornl.gov with SMTP; 23 May 2008 12:28:04 -0000 Original-Received: from emroute4.ornl.gov ([127.0.0.1]) by emroute4.ornl.gov (PMDF V6.3-x14 #31501) with ESMTP id <0K1B005K5MMS1T@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 23 May 2008 08:28:04 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.emroute4.ornl.gov by emroute4.ornl.gov (PMDF V6.3-x14 #31501) id <0K1B00701MMSW6@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 23 May 2008 08:28:04 -0400 (EDT) Original-Received: from sws5.ornl.gov (sws5.ornl.gov [160.91.16.74]) by emroute4.ornl.gov (PMDF V6.3-x14 #31501) with SMTP id <0K1B006J1MMRVO@emroute4.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 23 May 2008 08:28:04 -0400 (EDT) Original-Received: (qmail 15074 invoked by uid 3995); Fri, 23 May 2008 12:28:01 +0000 Original-Received: by sws5.ornl.gov (tmda-sendmail, from uid 3995); Fri, 23 May 2008 08:28:01 -0400 (EDT) Content-disposition: inline User-Agent: Mutt/1.4.2.2i X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) X-TMDA-Fingerprint: E8J7J/kYtYoA5mSAkXifOUTwDMk Xref: news.gmane.org gmane.os.tru64.managers:9318 Archived-At: 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