Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* disk transfer anomalies
@ 2003-08-08 19:02 Eugene Chu
  0 siblings, 0 replies; only message in thread
From: Eugene Chu @ 2003-08-08 19:02 UTC (permalink / raw)
  To: axp-list

My question is off the original topic, but brought up by this suggestion
from Todd:

>From: "Todd Seeleman" <seeleman@gse.upenn.edu>
>To: <axp-list@redhat.com>
>Subject: Re: Distro
>Date: Fri, 8 Aug 2003 14:21:11 -0400
>
>I think you need to zero out the hard disk with
>
>        dd if=/dev/zero of=/rdsk bs=1024 count=1024
>
>You need to boot some kind of unix and then execute this command with
>of=<the target disk>
>
>Todd

Has anyone done something like this for a significant part of a disk,
as in trying to clone a disk to another disk of the same model?  I found
in the past that if I do something like:

dd if=/dev/input_disk of=/dev/output_disk bs=varying_sizes

after a short while, the kswapd process comes in at 99.9%, effectively
throttling the transfer down to serial port rates.  The copy does
eventually complete at this much reduced rate.

I did further tests like this:

dd if=/dev/zero of=/dev/output_disk bs=varying_sizes count=variable

and it would behave the same way.  This would happen regardless of
whether I tried to copy the entire root device (eg: /dev/hdc or /dev/sdb)
or one of the partitions (/dev/hdc4 or /dev/sdb2).

However, going the other way, copying from a disk device to /dev/null
showed no such symptom.

Is there a known bug about this or a patch for it?  Since this occurred
on both IDA and SCSI drives, I would tend to believe that it is not a
disk driver problem.

thanks for any info on this.
eyc



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-08 19:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-08 19:02 disk transfer anomalies Eugene Chu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox