From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 15:17:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7CA41065670; Fri, 31 Oct 2008 15:17:55 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb7:ef56]) by mx1.freebsd.org (Postfix) with ESMTP id 5186C8FC17; Fri, 31 Oct 2008 15:17:55 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m9VFAWB0010973; Fri, 31 Oct 2008 16:10:32 +0100 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Fri, 31 Oct 2008 16:10:31 +0100 User-Agent: KMail/1.9.10 References: <490AC650.3000904@kukulies.org> <490B17D2.6010000@kukulies.org> In-Reply-To: <490B17D2.6010000@kukulies.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810311610.31851.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Christoph Kukulies , Ivan Voras Subject: Re: fastest raw device copy? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2008 15:17:55 -0000 On Friday 31 October 2008, Christoph Kukulies wrote: > Ivan Voras schrieb: > > Jeremy Chadwick wrote: > >> On Fri, Oct 31, 2008 at 09:48:16AM +0100, Christoph Kukulies wrote: > >>> What would be the fastest way to do that sector by sector copy? I'm > >>> using dd right now, > >>> > >>> dd if=/dev/ad0 of=/dev/da0 bs=10000000 > >> > >> On the flip side, your blocksize (bs) there is quite high for no good > >> reason. I'd pick something more like bs=64k or bs=128k. The default > >> (512) is too small for what you want, but 10MBytes is silly. > > > > Not only that, but "10000000" isn't even correct - it needs to be a > > multiple of sector size. Generally, using suffixes will do the right > > thing: > > > > dd if=/dev/ad0 of=/dev/da0 bs=1m > > OK, I understand that 10000000 isn't good, I just thought it wouldn't > harm. But if it is a transfer rate killer then I'd better think of > typing ^C now. The command is running for 6 hours now. > > An idea how I can check the current amount of transfered byed alongside > the running dd command? Or watch the current i/o rate? Press ^T. It will show you progress and I/O speed. -- Pieter de Goeje