From owner-freebsd-usb@FreeBSD.ORG Wed Nov 17 13:39:18 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2065D1065673 for ; Wed, 17 Nov 2010 13:39:18 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id D0B7D8FC0A for ; Wed, 17 Nov 2010 13:39:17 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1PIiEF-00007u-K2; Wed, 17 Nov 2010 14:39:16 +0100 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id oAHDdEY1002920; Wed, 17 Nov 2010 14:39:14 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id oAHDdEra002919; Wed, 17 Nov 2010 14:39:14 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 17 Nov 2010 14:39:14 +0100 From: Matthias Apitz To: Hans Petter Selasky Message-ID: <20101117133914.GA2895@current.Sisis.de> References: <20101117120852.GA2458@current.Sisis.de> <201011171314.19524.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201011171314.19524.hselasky@c2i.net> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Cc: freebsd-usb@freebsd.org Subject: Re: restore(8) to USB key: terrible slow X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2010 13:39:18 -0000 El día Wednesday, November 17, 2010 a las 01:14:19PM +0100, Hans Petter Selasky escribió: > > after around 90 minutes of restore the taget file system says 19 MByte > > used (i.e restored): > > > > $ df -kh /mnt > > Filesystem Size Used Avail Capacity Mounted on > > /dev/da0s1a 3.6G 19M 3.3G 1% /mnt > > > > What is wrong with this? If this does matter: 8-CURRENT. > > > > Thanks > > > > matthias > > Hi, > > Maybe you get some answers from: > > sysctl hw.usb.umass.debug=-1 > > Kernel needs to be compiled with: > > options USB_DEBUG Thanks; I have to build a kernel for this ... When I write the key just with dd(1) it performs normal with big blocks: # dd if=/home/guru/usb9root.dmp of=/dev/da0 bs=1m count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 16.650550 secs (6297546 bytes/sec) and slow with 512 byte blocks: # dd if=/home/guru/usb9root.dmp of=/dev/da0 count=100 100+0 records in 100+0 records out 51200 bytes transferred in 1.997130 secs (25637 bytes/sec) any idea or do we need the debug output? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/