From owner-freebsd-stable@FreeBSD.ORG Sun Feb 4 01:06:22 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 3C7A616A400 for ; Sun, 4 Feb 2007 01:06:22 +0000 (UTC) (envelope-from sbryant@elgia.com) Received: from www.itsmedia.com (elgia.com [207.97.221.95]) by mx1.freebsd.org (Postfix) with ESMTP id 1E10213C4A5 for ; Sun, 4 Feb 2007 01:06:22 +0000 (UTC) (envelope-from sbryant@elgia.com) Received: from [172.16.0.101] (unknown [74.254.36.2]) by www.itsmedia.com (Postfix) with ESMTP id C80502F1909 for ; Sat, 3 Feb 2007 19:43:42 -0500 (EST) Message-ID: <45C52C3E.8040204@elgia.com> Date: Sat, 03 Feb 2007 19:43:42 -0500 From: Sean Bryant User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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: Sun, 04 Feb 2007 01:06:22 -0000 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