SUMMARY: Using dd to copy a system disk in version 5.x

From: Eiler, James A. (James.Eiler@alcoa.com)
Date: Thu Oct 03 2002 - 15:37:02 EDT


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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:55 EDT