From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,66e961cb46d2baa0 X-Google-Attributes: gid1020c6,public X-Google-Thread: fa528,d2c67628e8942a6a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-04-21 06:41:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!pc3-redc3-0-cust1.bre.cable.ntl.COM!not-for-mail From: "Adam Price" Newsgroups: comp.unix.tru64,comp.unix.admin Subject: Re: Duplicate system disk under Digital Tru64 Unix Date: Sun, 21 Apr 2002 14:41:49 +0100 Message-ID: References: <4ce72ad5.0204200451.7d85a852@posting.google.com> <4ce72ad5.0204210529.be7c5fa@posting.google.com> NNTP-Posting-Host: pc3-redc3-0-cust1.bre.cable.ntl.com (80.3.250.1) X-Trace: fu-berlin.de 1019396506 6627098 80.3.250.1 (16 [138239]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.unix.tru64:7338 comp.unix.admin:22480 "xgr" wrote in message news:4ce72ad5.0204210529.be7c5fa@posting.google.com... > "Adam Price" wrote in message news:... > > "xgr" wrote in message news:4ce72ad5.0204200451.7d85a852@posting.google.com... > > > All, > > > > > > Does anybody know how to duplicate the system disk under Digital > > > True64 Unix? 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 > > > > > > After exchanging slots of these 2 disks, I was able to boot with the > > > duplicated disk to single user mode, but when I issue following > > > command: > > > #mount -a > > OK so you managed to boot to single user mode. This means you have > > succeeded in copying the disk. However the new disk is more than > > likeley called /dev/disk/dsk2c not /dev/disk/dsk0c. > > > > Since I've removed the original disk and installed the new disk to the > slot where the original disk used to be, the new disk is recognized by > system as /dev/disk/dsk0c, I'm not clear what does you mean that it's > likely called /dev/disk/dsk2c. The disk names have no relationship to the SCSI ID's under version 5 When you started you had a disk called dsk0 which had the original system on. To this you added a disk which became identified as dsk2. This disk had a unique wwid. The wwid is causing the device to register itself as dsk2 no matter where you put it on the scsi bus. Because of this even if you remove the original dsk0 the new one won't be dsk0. HTH Adam PS If you want to boot to single usermode on the new disk and then use hwmgr to swap dsk2 and dsk0 then that should also fix the problem. I don't have a scratch system to test the exact syntax so I won't report it here.