From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Liang, Warren" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Run into "login" loop Date: Wed, 09 Jul 2003 10:42:25 -0700 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1057772666 16065 80.91.224.249 (9 Jul 2003 17:44:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2003 17:44:26 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jul 09 19:44:20 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19aIy1-00042N-00 for ; Wed, 09 Jul 2003 19:42:57 +0200 Original-Received: (qmail 11877 invoked by uid 5); 9 Jul 2003 17:43:33 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 11868 invoked by uid 49493); 9 Jul 2003 17:43:33 -0000 Original-Received: from Warren.Liang@sms-ito.com by sws1 by uid 49491 with qmail-scanner-1.16 (clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-0.5/5.0):. Processed in 0.535894 secs); 09 Jul 2003 17:43:33 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 9 Jul 2003 17:43:32 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHR0011SQKIHK@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 09 Jul 2003 13:43:31 -0400 (EDT) Original-Received: from gate1.smsnet.com (gate1.smsnet.com [198.4.193.130]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HHR0002DQKBRH@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 09 Jul 2003 13:43:24 -0400 (EDT) Original-Received: from sbreims0.lax.ais.marconi.com (sbreims0.smsnet.com [198.4.195.12]) by gate1.smsnet.com (8.12.9/8.12.9) with ESMTP id h69HhNDK019921 for ; Wed, 09 Jul 2003 10:43:23 -0700 Original-Received: by sbreims0.smsnet.com with Internet Mail Service (5.5.2653.19) id <3HC1YQ1P>; Wed, 09 Jul 2003 10:27:57 -0700 Content-return: allowed Original-To: "Majordomo Q&A Tur64 \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:4801 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4801 Morning: Thanks to Alan Rollow's recommendations, I am able to rebuild the O/S. The commends to created the backup tape were: vdump -0 -N -u -v -f /dev/rmt0h / vdump -0 -N -u -v -f /dev/rmt0h /usr ... vdump -0 -u -v -f /dev/rmt0h /usr/users123 Media type: DLT Type III + Compress Tape device: TZ88 I changed the commend to: vdump -0 -u -v -f /dev/nrmt0h / vdump -0 -u -v -f /dev/nrmt0h /usr ... vdump -0 -u -v -f /dev/rmt0h /usr/users123 The rebuilding process works fine with regardless of tape type III or IV. Here is Alan Rollow's reply: There shouldn't be any difference due to the tape, assuming the relevant drives are working correctly. I don't recall enough of the details on how you made the original backups, but I'll offer some general comments: 1. If the original file system is UFS, make the backup with dump instead of vdump. For the cleanest backup you'll want to shutdown to single user and unmount whatever file systems you can. 2. Keep the backup simple. Rather than using an option to say, "use the norewind tape device", use the -f option and specify the norewind tape device. If the tape hardware supports compression, don't have the software also try to compress the data. 3. It is easy to make mistakes trying to put multiple backups on a single tape. When in doubt, use one tape for each file system. 4. Given the differences in the two systems, consider whether it would be easier to install a fresh Tru64 UNIX on the DECpc and then restore the application once that is stable. 5. If you have doubts that the data is getting to the target system intact, have doubts and check it. Create a large file of known content (or use an existing file). Back it up to each tape and drive type at issue, then restore it elsewhere. Use cksum on the original and restored backup copy to verify that they seem the same. If on the same system, compare them (cmp -s). My original post: I am perform a Tru64 V4.0E rebuild/restore. The media is DLT III tape; tape drive is TZ88. Target disk is rz0. Commands used to backup / (root) and /usr file systems are: vdump -0 -N -u -v -f /dev/rmt0h / vdump -0 -N -u -v -f /dev/rmt0h /usr ... While performing the O/S rebuild (which includes root and /usr file systems only), problem occurs. Following are my procedures: 1. Boot from Digital UNIX V4.0E Operating System CDROM # boot mka400 2. # cd /dev and # MAKEDEV rz0 tz6 3. # disklabel -z rz0; disklabel -rw rz0; # newfs /dev/rz0a and # newfs /dev/rz0g 4. # mount /dev/rz0a /mnt 5. # cd /mnt and # vrestore xvf /dev/nrmt0h 6. # cd /mnt/dev and # MAKEDEV rz0 7. Modify /mnt/etc/fstab to change root and /usr's mount points to rz0a and rz0g respectively. 8. Unmount /dev/rz0a, mount /dev/rz0g, and complete restore /usr from tape. 9. Shutdown 10. >>> boot dka0 -fi "genvmunix" ... Mounting local filesystems /dev/rz0a on / type ufs (rw) /dev/rz0g on /usr type ufs (rw) initsh: /sbin/init.d/autosysconfig: not found Apr 13 14:57:00 update: started The system is coming up. Please wait... The system is ready Digital UNIX Version P4.0 (Amnesiac) console Login: root Digital UNIX Version P4.0 (Amnesiac) console Login: The "password:" never shows up. My first reaction was "a bad tape". I have tried 4 different DLT III tapes, all failed. However, I used a DLT Type IV tape to backup root and /usr file systems, by using the same vdump commands, following the same rebuild/restore procedures, system starts up successfully. Is there any restriction or compatibility issue between DLT III and IV tapes? > Warren Liang > Systems Administrator > Systems Management Specialists > (714) 986-8342 > ************************************************************************** > ****** > NOTICE: This Email (including any attachments) may contain confidential > and privileged material for the sole use of the intended recipient(s). Any > review, use, copying, distribution or disclosure by others is strictly > prohibited. If you are not the intended recipient (or authorized to > receive for the recipient), please contact the sender by reply email and > delete all copies of this message including any attachments. Thank you. >