From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d2c67628e8942a6a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-04-22 13:43:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: dfreybur@yahoo.com (Doug Freyubrger) Newsgroups: comp.unix.tru64 Subject: Re: Duplicate system disk under Digital Tru64 Unix Date: 22 Apr 2002 13:43:20 -0700 Organization: http://groups.google.com/ Message-ID: <7960d3ee.0204221243.591a7da6@posting.google.com> References: <4ce72ad5.0204200451.7d85a852@posting.google.com> NNTP-Posting-Host: 205.163.138.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1019508200 27137 127.0.0.1 (22 Apr 2002 20:43:20 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 22 Apr 2002 20:43:20 GMT Xref: archiver1.google.com comp.unix.tru64:7352 xgr wrote: > > Does anybody know how to duplicate the system disk under Digital > True64 Unix? AdvFS supplies utilities to do this. I don't recall the name off the top of my head and I don't have a Tru64 machine to log into to find it, but start with man -k advfs. Folks on a Tru64 specialist newsgroup will know of the top of their heads how to clone a filesystem using AdvFS native utilities. > I try to use dd to duplicate system disk to another disk > as following: > 1, boot from CD-ROM > 2, clear label of target disk: disklabel -z /dev/rdisk/dsk2c > 3, duplicate with dd: dd if=/dev/disk/dsk0c of=/dev/disk/dsk2c > bs=10240k Here's where you went wrong. You can't copy an AdvFS domain with dd. Each AdvFS domain contains a serial number that has the serial number of the drives it is on hashed into it. Strange but true. It is intended to preserve the integrity of the data in the domain. This protection against being copied with dd is either a bug/side-effect or a feature depending on how security oriented you are. You can copy mountable filesystems this way on Solaris UFS and VxFS, HP-UX HFS and VXFS, and several other systems, but you can NOT do it on Tru64 AdvFS or IRIX XFS.