From: chu@tes-mail.jpl.nasa.gov (Eugene Chu)
To: axp-list@redhat.com
Subject: disk transfer anomalies
Date: Fri, 8 Aug 2003 12:02:31 -0700 (PDT) [thread overview]
Message-ID: <20030808190231.67EEEB8BFC@tes-mail.jpl.nasa.gov> (raw)
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
reply other threads:[~2003-08-08 19:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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