From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: RZ57 disk copy
Date: 9 Jun 1994 18:25:27 GMT [thread overview]
Message-ID: <2t7mqn$gtu@nntpd.lkg.dec.com> (raw)
In-Reply-To: 2t7cbh$fva@FERRARI.NMC.ED.RAY.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
prev parent reply other threads:[~1994-06-09 18:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-06-09 15:26 RZ57 disk copy Bill Heiser
1994-06-09 18:25 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox