From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Doggy \(tru64\)" Newsgroups: gmane.os.tru64.managers Subject: summary restoring Date: Thu, 18 Jul 2002 17:14:43 -0700 (PDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20020719001443.86526.qmail@web21108.mail.yahoo.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1027038892 17058 127.0.0.1 (19 Jul 2002 00:34:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Jul 2002 00:34:52 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17VLjO-0004Qz-00 for ; Fri, 19 Jul 2002 02:34:50 +0200 Original-Received: (qmail 2470 invoked by uid 5); 19 Jul 2002 00:14:53 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 2462 invoked from network); 19 Jul 2002 00:14:52 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 19 Jul 2002 00:14:52 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZG00MBKZCO39@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 18 Jul 2002 20:14:52 -0400 (EDT) Original-Received: from web21108.mail.yahoo.com (web21108.mail.yahoo.com [216.136.227.110]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with SMTP id <0GZG00JLPZCK4Y@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 18 Jul 2002 20:14:45 -0400 (EDT) Original-Received: from [172.145.201.158] by web21108.mail.yahoo.com via HTTP; Thu, 18 Jul 2002 17:14:43 -0700 (PDT) Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:1018 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1018 Original Question: Does anybody have a document on how to restore / /usr from booting from the cdrom. This is for a advfs file system that is not mirrored. Thanks in advance. ============================================= I would like to take all the following and I posted the responses below: alan@ nabeth.cxo.cpqcorp.net Wilson, Paul L Schoepflin, Keith David Stacks Gabor.Zelenak@ hungarocontrol.hu Hill, NM (Nick) Wilson, Paul L ============================================== RESTORE Tru64 Version 5: Boot the system using a Tru64 Operating System install CD. Exit out of the install to a Unix shell. View current devices - hwmgr -view devices Create device file - dn_setup -install_tape Set date - date -u mmddhhmmyy Change to domain directory - cd /etc/fdmns Make directories for domains - mkdir root usr root-mnt usr-mnt var-mnt Link domains - cd root ln -s /dev/disk/dskna (where n is the disk number) cd ../usr ln -s /dev/disk/dskng (where n is the disk number) Mount the root filesystem - mount root#root /etc/fdmns/root-mnt Restore root filesystem - vrestore -x -f /dev/ntape/tape0_d1 -D /etc/fdmns/root-mnt Mount /usr,/var filesystems - mount usr#usr /etc/fdmns/usr-mnt mount usr#var /etc/fdmns/var-mnt Restore /usr,/var filesystems - vrestore -x -f /dev/ntape/tape0_d1 -D /etc/fdmns/usr-mnt vrestore -x -f /dev/ntape/tape0_d1 -D /etc/fdmns/var-mnt Halt the system - fasthalt the simplest version is: 0. boot from CD 0a. check and/or set device files 0b. make disklabel (eg.: disklabel -rR -t AdvFs /dev/rrz${SCSI_ID} # if exists) 0c. make domains (eg.: mkfdmn /dev/rz${SCSI_ID} root_domain and quite the same for usr_domain...) 0d. mount one of the new domain to /mnt 1. restore file sets 1a. issue the following command vrestore -x -f [/dev/] || # the last one is quite often used in RIS environment... 1b. umount previous domain and mount the next one, finally do the same as you did with the previous one (jump to 0d.), if no more file sets avaible, turn next step (#2).. 2. umount all domains, restart the system. Have you check the system management documentation to see if it has recommendations? If you don't have printed documentation, PDF and HTML copies are on the Documentation CDROM. Generally, for your simple case, I think it goes something like: 1. Boot the installation CDROM to the standalone system. Assuming the V5 system I booted yesterday is represent- ative of modern versions, boot to the menu that allows you chose the type of installation and select "exit". 2. Label the disk that will be the target of the root file system. Use the option "-t advfs" to write the AdvFS boot blocks. Season the partition table to taste... 3. Create a domain for the root file system, create a file set, mount it and restore from backup. Through this point, I believe the installation has created all the special files needed. 4. Create a domain and fileset for /usr. Mount and restore. 5. Unmount both and reboot __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com