From owner-freebsd-hackers Fri Oct 20 16:17:47 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA24680 for hackers-outgoing; Fri, 20 Oct 1995 16:17:47 -0700 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA24675 for ; Fri, 20 Oct 1995 16:17:46 -0700 Received: (from julian@localhost) by ref.tfs.com (8.6.11/8.6.9) id QAA00924; Fri, 20 Oct 1995 16:17:24 -0700 From: Julian Elischer Message-Id: <199510202317.QAA00924@ref.tfs.com> Subject: Re: Duplicating whole disks To: freebsd@fgate.flevel.co.uk (freebsd) Date: Fri, 20 Oct 1995 16:17:24 -0700 (PDT) Cc: hackers@FreeBSD.org, graham@flevel.co.uk In-Reply-To: from "freebsd" at Oct 20, 95 10:10:19 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 885 Sender: owner-hackers@FreeBSD.org Precedence: bulk the FASTES way (if the TO drive is bigger than the FROM drive) would be to use the SCSI COPY command using the scsi(8) command (asks one scsi device to read another..) this would not even utilise the SCSI adapter, let alone the cpu transfer would be somewhere in the range of the highest speed of the slower device. a more standard method (also assuming sizeof(TO) > sizeof(From)) would be dd if=FROM of=TO bs=64k e.g. dd if=/dev/rsd0 of=/dev/rsd1 (or rst0 to send to tape) bs=64k to do it as a file based copy, I suggest cd FROM; find . -xdev -depth -print|cpio -pdmuv TO > > > > Hi > > >From time to time we need to make exact copies of a large number of hard > drives partitioned with freebsd. > > The drives are external SCSIs. > > Opinions please on the most efficient and fastest method. > > Would you please Cc: graham@flevel.co.uk > > Thanks v. much > > >