Date: Thu, 17 Dec 2009 16:43:06 GMT From: Ben Schumacher <me@benschumacher.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/141718: kernel panic when 'zfs rename' is used on mounted snapshot Message-ID: <200912171643.nBHGh6JM047915@www.freebsd.org> Resent-Message-ID: <200912171650.nBHGo2h9060843@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141718 >Category: kern >Synopsis: kernel panic when 'zfs rename' is used on mounted snapshot >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 17 16:50:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ben Schumacher >Release: FreeBSD 8.0-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD filer.sats.internal 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #0: Tue Dec 15 01:05:20 MST 2009 ben@filer.sats.internal:/usr/obj/data/FreeBSD/RELENG_8_0/src/sys/FILER i386 >Description: While using RSE's 'snapshot' tool with a ZFS-based system I observed that calling 'snapshot make' on a drive that has a mounted snapshot causes a panic. It would appear that the 'zfs rename' call inside the utility being executed to rename a snapshot that is mounted causes the panic. Unfortunately I don't have a dump because the system appeared to hang during the panic (no automatic reboot), so I had to manually power cycle it to get it back up. >How-To-Repeat: 1. Create zfs snapshot of drive. 2. Mount zfs snapshot somewhere on system. 3. Use 'zfs rename' to chnage the name of the mounted snapshot. 4. Observe kernel panic. >Fix: Workaround: Don't 'zfs rename' a mounted snapshot. It'd be nice, however, if the OS blocked the operations and didn't panic. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912171643.nBHGh6JM047915>