From owner-freebsd-fs@FreeBSD.ORG Fri Apr 24 02:58:10 2015 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D34BD3E6 for ; Fri, 24 Apr 2015 02:58:10 +0000 (UTC) Received: from forward3l.mail.yandex.net (forward3l.mail.yandex.net [IPv6:2a02:6b8:0:1819::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 914811598 for ; Fri, 24 Apr 2015 02:58:10 +0000 (UTC) Received: from smtp3h.mail.yandex.net (smtp3h.mail.yandex.net [IPv6:2a02:6b8:0:f05::117]) by forward3l.mail.yandex.net (Yandex) with ESMTP id 1DBB915012E7; Fri, 24 Apr 2015 05:57:56 +0300 (MSK) Received: from smtp3h.mail.yandex.net (localhost [127.0.0.1]) by smtp3h.mail.yandex.net (Yandex) with ESMTP id 7F7281B47EF3; Fri, 24 Apr 2015 05:57:55 +0300 (MSK) Received: from unknown (unknown [2a02:6b8:0:6::a8]) by smtp3h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id REm70IMIXK-vshWSmhs; Fri, 24 Apr 2015 05:57:55 +0300 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1429844275; bh=Z7VEmTk7Be8TTs8T24aehiPdXU+cPRvIGRqUoKjJ8mY=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=eMFK4W9p+SXHU+GUm+ZweMTPAPCcDFYYzqKCGpNwE1usod9IjMWMciHfx+3evgZbJ sJHaLpMPZcWCVtQfXfbTDeGP+WaiHNG2MIPwHf1eUGgmFUqo/TT/mEm49sM2Hh38T5 hl7GjgYB6KwhaOjnPlJxEivwor8irSxMvNpC1kD4= Authentication-Results: smtp3h.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <5539B0C4.6070000@yandex.ru> Date: Fri, 24 Apr 2015 05:56:04 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Willem Jan Withagen , fs@freebsd.org Subject: Re: resampeling of a ZVOL that has been resized References: <55381127.4090603@digiware.nl> In-Reply-To: <55381127.4090603@digiware.nl> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2015 02:58:10 -0000 On 23.04.2015 00:22, Willem Jan Withagen wrote: > Now the question: > How can I get GEOM to resample the zvol, and have it really detect that > the disk has changed.... It sort of does, but not enough to actually > allow it to grow to the new size. You need to read dmesg, where you will find the message: GEOM_PART: zvol/zfsdata/vol was automatically resized. Use `gpart commit zvol/zfsdata/vol` to save changes or `gpart undo zvol/zfsdata/vol` to revert them. -- WBR, Andrey V. Elsukov