From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eiler, James A." Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Using dd to copy a system disk in version 5.x Date: Thu, 03 Oct 2002 15:37:02 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1033673831 26297 127.0.0.1 (3 Oct 2002 19:37:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 3 Oct 2002 19:37:11 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17xBmY-0006q0-00 for ; Thu, 03 Oct 2002 21:37:10 +0200 Original-Received: (qmail 29071 invoked by uid 5); 3 Oct 2002 19:37:20 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 29062 invoked by uid 49493); 3 Oct 2002 19:37:19 -0000 Original-Received: from James.Eiler@alcoa.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.406004 secs); 03 Oct 2002 19:37:19 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 3 Oct 2002 19:37:19 -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 <0H3F00J7C7U6XK@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 03 Oct 2002 15:37:19 -0400 (EDT) Original-Received: from NOAADC-MSW03.NOA.Alcoa.com (noaadc-msw03.alcoa.com [147.154.9.220]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H3F00CID7TYCQ@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 03 Oct 2002 15:37:10 -0400 (EDT) Original-Received: from noaadc-mxi03.NOA.Alcoa.com (unverified) by NOAADC-MSW03.NOA.Alcoa.com (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Thu, 03 Oct 2002 15:37:09 -0400 Original-Received: by noaadc-mxi03.NOA.Alcoa.com with Internet Mail Service (5.5.2653.19) id <413QP69S>; Thu, 03 Oct 2002 15:37:09 -0400 Content-return: allowed Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:1947 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1947 ORIGINAL QUESTION: I used a simple procedure in V4.0x to "clone" a UFS disk with the O/S on it: 1) Shut down 2) Insert a spare disk into the "Blue Shelf" 3) Boot to single user 4) Use dd to copy the "system disk" to the "spare" disk 5) Shut down 6) Remove the "original" disk and replace it with the "spare" disk 7) Put the "original" in a safe place in case we have a disk failure 8) Boot the new disk We've upgraded to 5.1A and this process doesn't work.... I suspect it has something to do with the Hardware Manager. Any suggestions on what I need to do before step 8 to enable the newly created disk to boot? ANSWER: Note that according to Tru64 System Administration documentation, "dd" is NOT the recommended way to do this! However, I did the dd copy and used dfsmgr -e dskX dskY to "exchange" the device special files... and it worked. The correct procedure to do this is documented in Section 5.7.6 of the V5 System Administration manual: http://www.tru64unix.compaq.com/docs/base_doc/DOCUMENTATION/V51_HTML/ARH9FCT E/TITLE.HTM Thanks to: Martin Barrett Stephen Dowdy Raul Sossa S. Cory Erickson Ram Rao Premjit Nair