From owner-freebsd-usb@FreeBSD.ORG Wed Nov 17 12:23:27 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 767DA1065672 for ; Wed, 17 Nov 2010 12:23:27 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id 090E48FC1D for ; Wed, 17 Nov 2010 12:23:26 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=omSrwDgyMf70S47Fr5SNr0rQzcmIOo0IafWlB/wSLLo= c=1 sm=1 a=M4YSOkT-fgUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=6lDhL-oblQDxyqEFUDcA:9 a=quF37YEVUNnIMfXjXHkA:7 a=rNrhNBuI2h1Su9BZN-AZpBw5ZIIA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 50912387; Wed, 17 Nov 2010 13:13:23 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Matthias Apitz Date: Wed, 17 Nov 2010 13:14:19 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <20101117120852.GA2458@current.Sisis.de> In-Reply-To: <20101117120852.GA2458@current.Sisis.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011171314.19524.hselasky@c2i.net> Cc: Subject: Re: restore(8) to USB key: terrible slow X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2010 12:23:27 -0000 On Wednesday 17 November 2010 13:08:52 Matthias Apitz wrote: > Hello, > > I've a dump(8) created from another USB key of ~3 GByte size and I'm > restoring it into a new created file system on a key which says on > attach: > > ugen7.2: at usbus7 > umass0: 2.00/1.00, addr 2> on usbus7 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:3:0:-1: Attached to scbus3 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-2 device > da0: 40.000MB/s transfers > da0: 3853MB (7892087 512 byte sectors: 255H 63S/T 491C) > > 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 --HPS