* RZ57 disk copy
@ 1994-06-09 15:26 Bill Heiser
1994-06-09 18:25 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 1 reply; 2+ messages in thread
From: Bill Heiser @ 1994-06-09 15:26 UTC (permalink / raw)
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.
When I do the dd, is there any special blocksize I should use for the
best performance?
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?
Thanks in advance.
Bill
--
Bill Heiser
work-> heiser@tdwr.ed.ray.com home-> bill@bhhome.ci.net
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: RZ57 disk copy
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.
0 siblings, 0 replies; 2+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1994-06-09 18:25 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-06-09 18:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox