From owner-freebsd-questions@FreeBSD.ORG Tue Oct 20 10:17:35 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 D8F3A1065692 for ; Tue, 20 Oct 2009 10:17:35 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 6779F8FC16 for ; Tue, 20 Oct 2009 10:17:34 +0000 (UTC) Received: by fxm6 with SMTP id 6so5907429fxm.43 for ; Tue, 20 Oct 2009 03:17:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:cc:content-type; bh=pO+QMA5TmlzEpOPU4ZuxCpcVaHw6zHLtOYkokUGR0mo=; b=hyA6IXWGxUrbNQ3XwM4ELSNU5HRRyqnaqMteBO5hudl+dTjFxl+JaT+h+gWEVK2+58 74IpCbAMwBbQQWzDADcyZZwZvfn2YrHD2+owqfKSSMzgX9Aysw7B+nfcauQVlW69UgNy i3nA/EkqQMF5c1HxRlyC1Hdiaw3+KwG2/KFik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; b=to3XQPcannOmCyYISLV9Pk3cCrOBY7Hp9jxVd4FhxSXMf3M9Gvzr1KXSyHK1/z5VXv wEv+hW6NR7VAM//91ukXhsDx10UKWdW6EAhtlEBUCcl7/tBRdkVtE9HMZUxtt4tTWypM S7boDslJXaRXCW8cRIRJc2uKkbWVzJBOuruvE= MIME-Version: 1.0 Received: by 10.239.141.131 with SMTP id c3mr519908hba.44.1256033854135; Tue, 20 Oct 2009 03:17:34 -0700 (PDT) In-Reply-To: References: Date: Tue, 20 Oct 2009 11:17:34 +0100 Message-ID: From: krad Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: 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: Tue, 20 Oct 2009 10:17:35 -0000 2009/10/19 Carl Chave > 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? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > I dont see these issues $ echo i > o bash: o: Read-only file system $ pwd /usr/local/.zfs/snapshot/20090816 $ echo i >> o bash: o: Read-only file system $ uname -a FreeBSD X 8.0-RC1 FreeBSD 8.0-RC1 #71: Sun Oct 18 07:05:25 BST 2009 root@X:/usr/obj/usr/src/sys/me amd64