From owner-freebsd-stable@FreeBSD.ORG Tue Feb 6 03:08:34 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 262D516A402 for ; Tue, 6 Feb 2007 03:08:34 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from sumo.dreamhost.com (sumo.dreamhost.com [66.33.216.29]) by mx1.freebsd.org (Postfix) with ESMTP id 0E43213C48E for ; Tue, 6 Feb 2007 03:08:34 +0000 (UTC) (envelope-from sean@cyberwang.net) Received: from spunkymail-a8.g.dreamhost.com (sd-green-bigip-66.dreamhost.com [208.97.132.66]) by sumo.dreamhost.com (Postfix) with ESMTP id 8859A179FF5 for ; Mon, 5 Feb 2007 18:48:39 -0800 (PST) Received: from [10.0.0.30] (71-14-6-202.static.gwnt.ga.charter.com [71.14.6.202]) by spunkymail-a8.g.dreamhost.com (Postfix) with ESMTP id D121B10A080; Mon, 5 Feb 2007 18:48:39 -0800 (PST) Message-ID: <45C7EC5F.2030108@cyberwang.net> Date: Mon, 05 Feb 2007 21:47:59 -0500 From: Sean Bryant User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Dominic Marks References: <45C52C3E.8040204@elgia.com> <20070205101806.b45f4118.dom@helenmarks.co.uk> In-Reply-To: <20070205101806.b45f4118.dom@helenmarks.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: dd as an imaging solution. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2007 03:08:34 -0000 Dominic Marks wrote: > On Sat, 03 Feb 2007 19:43:42 -0500 > Sean Bryant wrote: > >> Several months ago I was using Freesbie 1.x to dd a harddrive across the >> network as a drive duplication effort. This worked 7 computers got the >> image. I'm trying to do this again so I got the new Freesbie release 2.0 >> and fired it up across the computers and tried something simple such as: >> >> dd if=/dev/ad0 bs=1m | nc othercomputer 10000 on the image provider >> >> nc -l 10000 | dd of=/dev/ad0 bs=1m on the computer to receive the image. >> >> I received an operation not permitted. My first thought was they must be >> mounted. a quick check, and it seems they weren't. >> Next, am I really root? And sure enough I was. After a bit of discussion >> in #freesbie on freenode got me to set kern.geom.debugflags to 16 and I >> was able to write to ad0 like I had previously done. Yet when I tried to >> write to an individual slice I was presented with the same error. >> >> Anyone have any clue ? The eventual goal is to have a mass imaging all >> at once with dd, nc and tee > > Check out G4U (NetBSD based) > >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > Dominic > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" The only problem I can see here is that multiple parallel reads will have serious performance impacts, thus greatly increasing the cloning of the disk. The solution with dd, tee and netcat would just daisy chain the copy across the network which would be way faster.