From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,1d4c732386e69e54 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-07-02 23:20:01 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!dispose.news.demon.net!news.demon.co.uk!demon!pappnase.demon.co.uk!not-for-mail From: "Adam Price" Newsgroups: comp.unix.tru64 Subject: Re: restoring system disk on tru64 alpha disklabel command is not working Date: Tue, 3 Jul 2001 07:18:30 +0100 Message-ID: <994141196.14240.0.nnrp-02.c2deb51d@news.demon.co.uk> References: <3B3EB3EF.6223FFDE@y.z.com> <993977933.8127.0.nnrp-14.c2deb51d@news.demon.co.uk> <3B410967.46220240@y.z.com> NNTP-Posting-Host: pappnase.demon.co.uk X-NNTP-Posting-Host: pappnase.demon.co.uk:194.222.181.29 X-Trace: news.demon.co.uk 994141196 nnrp-02:14240 NO-IDENT pappnase.demon.co.uk:194.222.181.29 X-Complaints-To: abuse@demon.net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.unix.tru64:2999 "!!Tonnere de Brest" wrote in message news:3B410967.46220240@y.z.com... > Adam Price wrote: > > > > "!!Tonnere de Brest" wrote in message news:3B3EB3EF.6223FFDE@y.z.com... > > > as part of installing the same operating system, patches and software on 16 > > > workstations, I did all the work on one workstation and was hoping to duplicate > > > the disk contents on to the other workstations. I dumped / and /usr partitions > > > on to an external disk. I then restored those partitions on to the internal > > > disk of another workstation, but it would not boot after that. It would not recognize the devices that represent the disk > > partitions. Is there a > > > command to set the boot sector? > > > > Yes, look at the disklabel command From the man pages for 4.0F > > ------- > > -t ufs|advfs| cdfs > > Specifies which type of the local file system the boot blocks > > describe, UFS, AdvFS, or CDFS. > > ------- > > BTW on version 5 systems you may have some problems with this approach since the > > WWID's of the disks will have changed. > > I haven't come up with a consistent way of solving this problem and it is hampering > > my DR procedure somewhat so if anyone has any ideas about cloning a V5 system > > onto new hardware I'd love to hear it. > > Adam > > the disklabel command is not working for me: > > 69 Rot@congo /#hwmgr -view devices > HWID: Device Name Mfg Model Location > ------------------------------------------------------------------------------ > 4: /dev/kevm > 30: /dev/disk/dsk0c DEC RZ28D (C) DEC bus-0-targ-0-lun-0 > 31: /dev/disk/cdrom0c DEC RRD46 (C) DEC bus-0-targ-4-lun-0 > 32: /dev/disk/dsk1c SEAGATE ST39173N bus-0-targ-5-lun-0 > 33: /dev/disk/dsk2c SEAGATE ST318417N bus-0-targ-3-lun-0 > 70 Rot@congo /#disklabel -r RZ28DB > disklabel: RZ28DB: No such file or directory > 71 Rot@congo /#disklabel -r rz28db > disklabel: rz28db: No such file or directory > 72 Rot@congo /#uname -a > OSF1 congo.EECS.Berkeley.EDU V5.1 732 alpha alpha OK The first problem you have is that the CDrom Drive and the first disk in the system (The rz28D) are both set to scsi id 4. This is a hardware problem, shut the machine down and change some jumpers. Next... The commands you tried were wrong. You need to reference the disk as /dev/disk/dsk0c (The device special file) not RZ28D (The type of disk). Also as I said using dd to copy version 5 system disks will cause you problems. Your best bet for duplicating installs on a V5 system is to use the 'clone' install feature (Look at the advanced installation guide on the doc's CD). Hope this helps Adam PS Disklabel can destroy data if you don't know what you are doing or don't have a good backup of the disk then don't play with it.