From owner-freebsd-fs@FreeBSD.ORG Mon Sep 7 14:19:51 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 D82781065672; Mon, 7 Sep 2009 14:19:51 +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 AF5D48FC0C; Mon, 7 Sep 2009 14:19:51 +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 n87EJplc005313; Mon, 7 Sep 2009 14:19:51 GMT (envelope-from pjd@freefall.freebsd.org) Received: (from pjd@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n87EJpUx005309; Mon, 7 Sep 2009 14:19:51 GMT (envelope-from pjd) Date: Mon, 7 Sep 2009 14:19:51 GMT Message-Id: <200909071419.n87EJpUx005309@freefall.freebsd.org> To: bsd@ask-us.at, pjd@FreeBSD.org, freebsd-fs@FreeBSD.org, pjd@FreeBSD.org From: pjd@FreeBSD.org Cc: Subject: Re: kern/136942: [zfs] zvol resize not reflected until reboot 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 14:19:51 -0000 Synopsis: [zfs] zvol resize not reflected until reboot State-Changed-From-To: open->patched State-Changed-By: pjd State-Changed-When: pon 7 wrz 2009 14:17:00 UTC State-Changed-Why: I committed a change that should allow to change ZVOL size. Note that GEOM doesn't really support changing provider's size, so if ZVOL is open we will wait for the last close and then change the size. BTW. There are two undocumented commands to initialize and remove ZVOLs: # zfs volinit # zfs volfini Responsible-Changed-From-To: freebsd-fs->pjd Responsible-Changed-By: pjd Responsible-Changed-When: pon 7 wrz 2009 14:17:00 UTC Responsible-Changed-Why: I'll take this one. http://www.freebsd.org/cgi/query-pr.cgi?pr=136942