From owner-freebsd-geom@FreeBSD.ORG Thu Nov 28 18:06:45 2013 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8EB25905 for ; Thu, 28 Nov 2013 18:06:45 +0000 (UTC) Received: from cargobay.net (cargobay.net [174.136.100.98]) by mx1.freebsd.org (Postfix) with ESMTP id 7C6451C70 for ; Thu, 28 Nov 2013 18:06:45 +0000 (UTC) Received: from [192.168.1.74] (70-138-180-58.lightspeed.hstntx.sbcglobal.net [70.138.180.58]) by cargobay.net (Postfix) with ESMTPSA id 96BB61770 for ; Thu, 28 Nov 2013 18:02:45 +0000 (UTC) Message-ID: <52978633.3030106@ccsys.com> Date: Thu, 28 Nov 2013 13:06:43 -0500 From: "Chad J. Milios" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: freebsd-geom@freebsd.org Subject: Couple ?s about GELI resize (can it possibly be done online?) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Nov 2013 18:06:45 -0000 Is it intentional/necessary that geli resize does not work while attached? Or does it, and i'm just doing it wrong? I tried geli suspend, resize, resume too to no avail. I'm using FreeBSD 9.2 and AES-256-XTS. Is there a different block-chaining mode that would make it possible? How hard would it be to implement online geli resize? I'm naively imagining it'd be not-too-hard, though I figured I'd ask first if there's any reason this won't work, or if it's already working in 10.0 (which i haven't taken the plunge to yet) or CURRENT, or if someone with more familiarity and talent than i would heroically save me the trouble. i'm using zvol->geli->zpool and i'd like to be able to upsize the zvol, then the geli, then the zpool. zvol and zpool support this while busy, and i'd like to avoid inserting a superfluous gvirstor layer if at all possible. Thanks, -Chad