From owner-freebsd-questions@FreeBSD.ORG Mon Oct 19 03:18:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4DA21065676 for ; Mon, 19 Oct 2009 03:18:21 +0000 (UTC) (envelope-from carl@chave.us) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 80EC28FC16 for ; Mon, 19 Oct 2009 03:18:21 +0000 (UTC) Received: by yxe1 with SMTP id 1so3471332yxe.3 for ; Sun, 18 Oct 2009 20:18:20 -0700 (PDT) MIME-Version: 1.0 Sender: carl@chave.us Received: by 10.101.176.38 with SMTP id d38mr3147715anp.12.1255922300699; Sun, 18 Oct 2009 20:18:20 -0700 (PDT) Date: Sun, 18 Oct 2009 23:18:20 -0400 X-Google-Sender-Auth: 9adf9de7cfbb57ce Message-ID: From: Carl Chave To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Write attempt to file in ZFS snapshot dir causes panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2009 03:18:21 -0000 I'm new to FreeBSD. Been experimenting with 8.0-RC1 and zfs in a VM. Really haven't even installed it yet, just getting familiar with zfs usage from the fixit environment. I experienced some strange behavior and was wondering if this would warrant a bug report: 1. load zfs from bootloader prompt and then boot. 2. enter fixit environment. 3. import zpool (in this case a 2 disk vmware mirror named sodpool) 4. cd to previously created snapshot at sodpool/test/myfs/.zfs/snapshot/one 5. attempting to create a new file here results in: Fixit# echo hello > hello.txt cannot create hello.txt: Read-only file system 6. That seems like the desired response. Next, attempt to modify a file that already exists in the snapshot: Fixit# echo hello >> test.txt panic: dirtying snapshot! I know I'm not supposed to be modifying a snapshot file, but a panic doesn't seem like the best response to this situation. I'm using DVD iso named 8.0-RC1-amd64-dvd1.iso This bug report has the same panic but the scenario is different: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/138764 Is there someplace else I should check for existing issues?