From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1302df4cfc08633d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-06-09 11:33:34 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!usc!nic-nac.CSU.net!charnel.ecst.csuchico.edu!olivea!decwrl!pa.dec.com!nntpd.lkg.dec.com!nabeth.cxo.dec.com!alan From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.sys.dec Subject: Re: RZ57 disk copy Date: 9 Jun 1994 18:25:27 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <2t7mqn$gtu@nntpd.lkg.dec.com> References: <2t7cbh$fva@FERRARI.NMC.ED.RAY.COM> Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Host: nabeth.cxo.dec.com In article <2t7cbh$fva@FERRARI.NMC.ED.RAY.COM>, heiser@TDWR.ED.RAY.COM (Bill Heiser) writes: >I have a DS5000 with a flakey RZ-57 disk. The disk is such that I >can still run, but it's reporting errors and I want to replace it >before it gets worse. > >I plan to attach a second RZ-57 to the SCSI bus and use "dd" to copy >the entire disk (using the partition that represents the whole disk). >Then I will remove the flakey disk. > Depending on how full the file systems are dump/restore across a pipe may be faster. dd(1) will want to copy every block whether interesting or not. You've probably got 32-64 MB of page/swap that doesn't need to be copied. For the file systems, dump will only backup the blocks being used. >When I do the dd, is there any special blocksize I should use for the >best performance? For copying the whole disk, the track size is probably simplest. You need a size that is a factor of the disk size, otherwise you might miss some data. You might also consider using dd(1) on each interesting partition. In this case the size would need to be factor of the number of block in the file system. > >MOST Importantly ... this is a Boot disk ... do I have to do anything >after the disk copy (like on Suns - "installboot") to set up the boot >block on the replacement disk so that it will be bootable? Using dd(1) the block block will be copied with all the others. If you dump/restore, then you have to run newfs on each partition first and it will take care of the boot block for the A partition. > >Thanks in advance. >Bill > >-- >Bill Heiser > work-> heiser@tdwr.ed.ray.com home-> bill@bhhome.ci.net > -- Alan Rollow alan@nabeth.cxo.dec.com