Re: increasing dd disk to disk transfer rate

2006-01-14 Thread Christoph P. Kukulies
On Fri, Jan 13, 2006 at 02:29:15PM +0100, Christoph P. Kukulies wrote: On Thu, Jan 12, 2006 at 02:23:37PM -0700, Kenneth D. Merry wrote: Then I tried to read back dd if=/dev/ad2 of=/dev/zero bs=2m Yes, just for the fun I said 2m blocksiye. And now we come back to FreeBSD contents:

Re: increasing dd disk to disk transfer rate

2006-01-13 Thread Christoph P. Kukulies
Thanks, folks, for the interesting contributions. I really should have marked the subject OT but there spring up a lot of interesting ideas. On Fri, Jan 13, 2006 at 08:13:00AM +1100, Peter Jeremy wrote: On Thu, 2006-Jan-12 10:48:38 +0100, Christoph Kukulies wrote: dd if=/dev/ad2 of=/dev/ad3

Re: increasing dd disk to disk transfer rate

2006-01-13 Thread Dmitry Morozovsky
On Fri, 13 Jan 2006, Peter Jeremy wrote: PJ The process is running now since yesterday evening and it is at 53 MB PJ at a transfer rate of about 1.1 MB/s. PJ PJ In case the the result being unusable I would like to find a way to make this PJ copying faster. PJ PJ Note that whilst increasing

Re: increasing dd disk to disk transfer rate

2006-01-13 Thread Christoph P. Kukulies
On Thu, Jan 12, 2006 at 02:23:37PM -0700, Kenneth D. Merry wrote: written by phk) that is designed to do disk-to-disk recovery - it copys data in big slabs until it gets an error and then works around the faulty area block by block. It's called 'recoverdisk', and is in

Re: increasing dd disk to disk transfer rate

2006-01-13 Thread Stefan Bethke
Am 13.01.2006 um 14:29 schrieb Christoph P. Kukulies: Just for the record: Before I wanted to give back in my faulty disk to my computer supplier as a case for warranty, I zeroed out the faulty disk. dd if=/dev/zero of=/dev/ad2 bs=1m It took half an hour to zero out the 80GB. Transferrate

Re: increasing dd disk to disk transfer rate

2006-01-13 Thread John Nielsen
On Friday 13 January 2006 08:29 am, Christoph P. Kukulies wrote: On Thu, Jan 12, 2006 at 02:23:37PM -0700, Kenneth D. Merry wrote: written by phk) that is designed to do disk-to-disk recovery - it copys data in big slabs until it gets an error and then works around the faulty area block

increasing dd disk to disk transfer rate

2006-01-12 Thread Christoph Kukulies
My notebooks' hard disk, a Hitachi Travelstar 80 GB starts to develop read errors. I have FreeBSD and Win XP on that disk. Although FreeBSD ist still working , the errors in the Windows partition are causing Windows do ask for a filesystem check nearly everytime I reboot the computer. One time

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Matthew D. Fuller
On Thu, Jan 12, 2006 at 10:48:38AM +0100 I heard the voice of Christoph Kukulies, and lo! it spake thus: dd if=/dev/ad2 of=/dev/ad3 conv=noerror Give it a bigger blocksize (say, bs=1m or so) and it'll go a **LOT** faster. My motherboard is an ASUS P4S8X with an on board promise controller

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Eric Anderson
Christoph Kukulies wrote: My notebooks' hard disk, a Hitachi Travelstar 80 GB starts to develop read errors. I have FreeBSD and Win XP on that disk. Although FreeBSD ist still working , the errors in the Windows partition are causing Windows do ask for a filesystem check nearly everytime I

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Ivan Voras
Christoph Kukulies wrote: Anyway, I decided to buy a second identical hard disk and tried to block by block copy the old disk to the new one using dd if=/dev/ad2 of=/dev/ad3 conv=noerror The process is running now since yesterday evening and it is at 53 MB at a transfer rate of about 1.1

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Gilbert Fernandes
My notebooks' hard disk, a Hitachi Travelstar 80 GB starts to develop read errors. Since you are using a modern disk, you should check your smart counters. I know how to do it on NetBSD, and I believe the command is also available on FreeBSD. First, you have to turn on the smart (S.M.A.R.T.)

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Dan Nelson
In the last episode (Jan 12), Christoph Kukulies said: My notebooks' hard disk, a Hitachi Travelstar 80 GB starts to develop read errors. I have FreeBSD and Win XP on that disk. Although FreeBSD ist still working , the errors in the Windows partition are causing Windows do ask for a filesystem

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Bakul Shah
In the last episode (Jan 12), Christoph Kukulies said: My notebooks' hard disk, a Hitachi Travelstar 80 GB starts to develop read errors. I have FreeBSD and Win XP on that disk. Although FreeBSD ist still working , the errors in the Windows partition are causing Windows do ask for a

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Ivan Voras
Bakul Shah wrote: In the last episode (Jan 12), Christoph Kukulies said: dd if=/dev/ad2 conv=noerror,sync bs=64k | dd of=/dev/ad3 bs=64k So now on the new disk he has files with random blocks of zeroes and *no* error indication of which files are so trashed. This is asking for trouble.

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Bakul Shah
Bakul Shah wrote: In the last episode (Jan 12), Christoph Kukulies said: dd if=/dev/ad2 conv=noerror,sync bs=64k | dd of=/dev/ad3 bs=64k So now on the new disk he has files with random blocks of zeroes and *no* error indication of which files are so trashed. This is asking for

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Eric Anderson
Bakul Shah wrote: Bakul Shah wrote: In the last episode (Jan 12), Christoph Kukulies said: dd if=/dev/ad2 conv=noerror,sync bs=64k | dd of=/dev/ad3 bs=64k So now on the new disk he has files with random blocks of zeroes and *no* error indication of which files are so

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Bakul Shah
I think after the dd is done, fsck should be run against the affected filesystems, which should take care of most of the issues. For metadata yes, but not for normal file data. He wouldn't even know what got trashed. The OP's question was how to make dd faster, not really how to get the

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Peter Jeremy
On Thu, 2006-Jan-12 10:48:38 +0100, Christoph Kukulies wrote: dd if=/dev/ad2 of=/dev/ad3 conv=noerror The process is running now since yesterday evening and it is at 53 MB at a transfer rate of about 1.1 MB/s. In case the the result being unusable I would like to find a way to make this copying

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Martin Cracauer
Moin moin, wie geht's :-) Christoph Kukulies wrote on Thu, Jan 12, 2006 at 10:48:38AM +0100: My notebooks' hard disk, a Hitachi Travelstar 80 GB starts to develop read errors. I have FreeBSD and Win XP on that disk. Although FreeBSD ist still working , the errors in the Windows partition

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Kenneth D. Merry
On Fri, Jan 13, 2006 at 08:13:00 +1100, Peter Jeremy wrote: On Thu, 2006-Jan-12 10:48:38 +0100, Christoph Kukulies wrote: dd if=/dev/ad2 of=/dev/ad3 conv=noerror The process is running now since yesterday evening and it is at 53 MB at a transfer rate of about 1.1 MB/s. In case the the

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread John-Mark Gurney
Ivan Voras wrote this message on Thu, Jan 12, 2006 at 18:48 +0100: Bakul Shah wrote: In the last episode (Jan 12), Christoph Kukulies said: dd if=/dev/ad2 conv=noerror,sync bs=64k | dd of=/dev/ad3 bs=64k So now on the new disk he has files with random blocks of zeroes and *no* error

Re: increasing dd disk to disk transfer rate

2006-01-12 Thread Nicolas Rachinsky
* Peter Jeremy [EMAIL PROTECTED] [2006-01-13 08:13 +1100]: Note that whilst increasing the DD blocksize will speed up the transfer, it will also increase the amount of collateral damage when a hard error occurs. If you rummage around the ports or tools tree, you'll find a utility (its name