From owner-freebsd-questions@FreeBSD.ORG Fri Jul 1 08:41:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 066D216A41C for ; Fri, 1 Jul 2005 08:41:58 +0000 (GMT) (envelope-from rebehn@ant.uni-bremen.de) Received: from antsrv1.ant.uni-bremen.de (antsrv1.ant.uni-bremen.de [134.102.176.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A997043D1F for ; Fri, 1 Jul 2005 08:41:57 +0000 (GMT) (envelope-from rebehn@ant.uni-bremen.de) Received: from bremerhaven.ant.uni-bremen.de ([134.102.176.10]) by antsrv1.ant.uni-bremen.de with esmtp (Exim 4.51 (FreeBSD)) id 1DoH5s-000GzY-TV; Fri, 01 Jul 2005 10:41:55 +0200 Message-ID: <42C501F2.4060103@ant.uni-bremen.de> Date: Fri, 01 Jul 2005 10:42:26 +0200 From: Heinrich Rebehn User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 X-Accept-Language: en MIME-Version: 1.0 To: dave References: <000801c57e09$5255b040$0200a8c0@satellite> In-Reply-To: <000801c57e09$5255b040$0200a8c0@satellite> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "antsrv1.ant.uni-bremen.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: dave wrote: > Hello, > I've got a 5.4-RELEASE box with a usb2 connected hard disk. On this disk > which is formatted ext2fs is about 8 gigs of data i want to copy over. I > mount the disk readonly and issue > cp -R > well around the 1.2g mark i start getting > cmd_errors cp -R > in /var/log/messages and i have to kill the process. The specific command > is: > cd /mnt > cp -R * /backup/data > I then try it with tar > tar -cf - | (cd /backup/data; tar -xf -) > This gets up to about 5.4g then the errors start again. I thought about dump > but am not sure if that can read ext2 filesystems. > Thanks. > Dave. > [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- Cc: freebsd-questions@freebsd.org Subject: Re: copying data from external disk freezes with errors and halts system 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, 01 Jul 2005 08:41:58 -0000 dave wrote: > Hello, > I've got a 5.4-RELEASE box with a usb2 connected hard disk. On this disk > which is formatted ext2fs is about 8 gigs of data i want to copy over. I > mount the disk readonly and issue > cp -R > well around the 1.2g mark i start getting > cmd_errors cp -R > in /var/log/messages and i have to kill the process. The specific command > is: > cd /mnt > cp -R * /backup/data > I then try it with tar > tar -cf - | (cd /backup/data; tar -xf -) > This gets up to about 5.4g then the errors start again. I thought about dump > but am not sure if that can read ext2 filesystems. > Thanks. > Dave. > Hi Dave, are you using the ehci driver in order to get USB2 support? According to the manpage the driver is still unfinished and buggy. When i tried it about a year ago, it repeatedly hung or crashed my machine. You could try USB1, it's slow, but it works. Or use firewire, if your disks supports it. Regards, Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax : -3341