From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,6be24512eca4fd6 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-03-28 09:47:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!nabeth.cxo.cpqcorp.net!alan Newsgroups: comp.unix.tru64 From: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Distribution: world References: Reply-To: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: how to clone system disk on tru64 5.1 Message-ID: Date: Thu, 28 Mar 2002 17:47:50 GMT NNTP-Posting-Host: 16.112.5.128 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1017337670 16.112.5.128 (Thu, 28 Mar 2002 09:47:50 PST) NNTP-Posting-Date: Thu, 28 Mar 2002 09:47:50 PST Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.unix.tru64:7138 In article , "Marre des Spameurs qui prennent les add dans les news [SauroN]" writes: > >with dd This is less than ideal advice since it doesn't address the fact that the new copy of the operating system remebers that its root file system was on the source disk used for the copy. This is likely to be a common problem for any of the techniques that were used under V4 and earlier to make copies of a system disk. There is apparently a way to change the hardware database so that this detail of the previous configuration is forgotten, allowing the new disk to become the system disk. The technique may have been written up as a "Best Practices" document. If so it will be on the corporate web site somewhere. The question frequently comes up in the tru64-unix-managers mailing list, so the archives of the mailing list may have something. I don't have the URL for the archives though. > >"Barry Wu" wrote in message >news:a3fe0fc8.0203280711.66b692d6@posting.google.com... >| Hi, all, >| >| I have several tru64 5.1 hard disk to replace. >| In tru64 4.0F, I can use dump and restore to finish >| several system disks. But in 5.1 I could not use >| dump and restore commands. Besides, I use tar to >| backup my / and /usr partition, but when I restore >| it using tar. The disklabel is dsk1, not dsk0. >| But I want it to be dsk0, I do not know how to do. The content of the disklabel isn't likely to be the problem. But if you want to change it some part of the label, use the disklabel command to edit the label as you need. What you're most likely running up against is that in V5, devices names are not directly associated with the physical address of the device as they were in V4 and earlier. There, the SCSI bus address determine the name. You moved a device and its name changed. This had serious problems when you started adding new SCSI bus adapters that appeared "between" two existing ones. In V5, names are assigned as disks are discovered. The first disk found will be dsk0, the 2nd dsk1 and so on. Left to itself, parallel SCSI disks are uniquely identified by their serial number (expected to be in one of the Inquiry pages). Fibre Channel disks just use their world-wide name. This allows a given disk to retain the same name no matter what its "address" is. So, you have two potential problems: o The new disk is named dsk1 instead of dsk0 (unrelated to the label). o The kernel remembers that its system disk was dsk0. As I said above, I believe there are solutions to these problems, probably around changing the hardware database on the new system disk. They may be documented somewhere, but I haven't kept track of where that document is, or how to make the change. >| If someone knows, please help me. >| TIA. >| >| Best Regards, >| >| Barry > > > -- Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com)