From owner-freebsd-questions Thu Mar 6 19: 3:55 2003 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 69B0C37B401 for ; Thu, 6 Mar 2003 19:03:52 -0800 (PST) Received: from hotmail.com (f73.law14.hotmail.com [64.4.21.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED5E743F75 for ; Thu, 6 Mar 2003 19:03:51 -0800 (PST) (envelope-from lordboink@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 6 Mar 2003 19:03:51 -0800 Received: from 62.220.129.65 by lw14fd.law14.hotmail.msn.com with HTTP; Fri, 07 Mar 2003 03:03:51 GMT X-Originating-IP: [62.220.129.65] From: "S W" To: freebsd-questions@freebsd.org Subject: dd *very* slow (0.5KB/s) from IDE to SCSI - longish Date: Fri, 07 Mar 2003 03:03:51 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 07 Mar 2003 03:03:51.0791 (UTC) FILETIME=[2E7AB7F0:01C2E456] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG SUMMARY: I'm trying to transfer a working 4.7-RELEASE from an IDE disk to a SCSI disk using dd, but transfer of <3GB will take ~16 hours :o( uname -a: FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct 9 15:08:34 GMT 2002 root@builder.freebsdmall.com:/usr/obj/usr/src/sys/GENERIC i386 (PII 300MHz Digital 3500 workstation, 384MB RAM.) Some device details: IDE: ad2 Western Digital 3GB (couldn't route cable to primary IDE) ata1-master UDMA33 acd0 Toshiba CD-ROM ata0-master PIO4 SCSI: ahc0 Adaptec 2940 Host Adapter (ID7) sa0 Sony SDT-5000 3.31 (DDS2 DAT drive) 5.000MB/s transfers (5.000MHz, offset 8) (ID6) da0 Western Digital 4360 4GB hard disk 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled (ID0) The original install was done on ad2, then I came by the SCSI drive and wanted to do a Ghost-style replication and just use the SCSI disk. After performing a full scan and low-level format of the SCSI disk from the adapter BIOS, I started a CD install (to quickly auto-setup the partitions/slices), and then aborted (system reset) once the partitions were defined and the disk was bootable (I think), and transfer of the OS from the CD had begun. Now I'm booting to my IDE drive again (no probs). I had hoped to mount the slices (partitions?) one by one on ad0 to /mnt, delete any contents the install had written before the abort, and copy the files over from ad2, but I couldn't mount them (errors either 'incorrect super block' or 'Operation not permitted'). I dropped that idea, but I'd read a post somewhere about dd, I tried... dd if=/dev/ad2 of=/dev/da0 ...now the IDE activity LED has been on solid for about 4hours The dd command was run straight after boot, top says: uptime 4hrs; dd TIME 3m40s (and slowly rising); dd STATE ~95% in PHYSST, 5% RUN; dd CPU steady around 0.9% (only other running process is top) iostat -w 1 da0 ad2 says: 0.50KB/transfer at 120 tps for da0 and ad2 (Steady, exact same figures for both so the data *is* moving). Impractical, so ctrl-c dd: 1825499+0 records in 1825498+0 records out 934654976 bytes transferred in 15275 secs (61185 bytes/sec) ...about 900MB has transferred Can you tell me... 1) Why the transfer is so slow? 2) What the process state 'physst' is (some kind of wait state)? 3) A better way to 'Ghost' the drive? (Couldn't get g4u diskette to boot; and even if dd works I'll have 1GB unused on da0, I think?) Any suggestions gratefully received. TIA Boinkster PS First posting - my apologies if Hotmail formats in HTML. _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message