From owner-freebsd-fs@FreeBSD.ORG Mon Sep 7 11:53:27 2009 Return-Path: Delivered-To: freebsd-fs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E141E1065692; Mon, 7 Sep 2009 11:53:27 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D1B6B8FC1F; Mon, 7 Sep 2009 11:53:27 +0000 (UTC) Received: from freefall.freebsd.org (pjd@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n87BrRYM066074; Mon, 7 Sep 2009 11:53:27 GMT (envelope-from pjd@freefall.freebsd.org) Received: (from pjd@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n87BrRPc066070; Mon, 7 Sep 2009 11:53:27 GMT (envelope-from pjd) Date: Mon, 7 Sep 2009 11:53:27 GMT Message-Id: <200909071153.n87BrRPc066070@freefall.freebsd.org> To: weldon@excelsusphoto.com, pjd@FreeBSD.org, freebsd-fs@FreeBSD.org, pjd@FreeBSD.org From: pjd@FreeBSD.org Cc: Subject: Re: kern/138244: [zfs] dd(1) attempts bitwise transfer onto ZFS pool X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2009 11:53:28 -0000 Synopsis: [zfs] dd(1) attempts bitwise transfer onto ZFS pool State-Changed-From-To: open->feedback State-Changed-By: pjd State-Changed-When: pon 7 wrz 2009 11:46:04 UTC State-Changed-Why: I'm sorry, but I don't really understand what you described. What do you mean by 'bitwise transfer'? Writing to raw block device like /dev/da0? What do you mean by zvolume? I think you mean raw device used as pool component, but in ZFS terminology zvolume (ZVOL) is something different. What do you mean by 'bit level copying onto a zpool'? zpool is not a block device. Do you mean copying to /pool/ directory or block device which is pool component? Could you show example commands you were trying to use, your pool configuration, etc.? If you ment to do something like 'dd if=/dev/zero of=/dev/da0' where da0 is pool component (a vdev in ZFS terminology) then it should be denied by GEOM, as da0 should be already opened for writing by ZFS and dd(1) shouldn't be able to open it for writing at all. Responsible-Changed-From-To: freebsd-fs->pjd Responsible-Changed-By: pjd Responsible-Changed-When: pon 7 wrz 2009 11:46:04 UTC Responsible-Changed-Why: I'll take this one. http://www.freebsd.org/cgi/query-pr.cgi?pr=138244