From owner-freebsd-geom@FreeBSD.ORG Thu Oct 17 16:30:00 2013 Return-Path: Delivered-To: geom@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [8.8.178.116]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BD80CF50; Thu, 17 Oct 2013 16:30:00 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from butcher-nb.yandex.net (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) by mx2.freebsd.org (Postfix) with ESMTP id 67E99459A; Thu, 17 Oct 2013 16:29:59 +0000 (UTC) Message-ID: <52600F85.70009@FreeBSD.org> Date: Thu, 17 Oct 2013 20:25:41 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Don Lewis , geom@FreeBSD.org Subject: Re: funkiness when resizing a BSD slice References: <201306260731.r5Q7VMBY002283@gw.catspoiler.org> In-Reply-To: <201306260731.r5Q7VMBY002283@gw.catspoiler.org> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2013 16:30:00 -0000 On 26.06.2013 11:31, Don Lewis wrote: > I've got a machine that used to dual boot FreeBSD and a Fedora. It had > one disk slice for FreeBSD, another slice for Fedora, and a third slice > that was marked as Linux swap that both FreeBSD and Linux used as swap. > The FreeBSD slice had only an "a" ufs partition that covered the entire > slice (in addition to the "c" partition). > > FreeBSD outgrew its available space. Since I wasn't using the Fedora > slice anymore, I wanted to delete the Fedora slice, grow the FreeBSD > slice, grow the "a" partition, and the run growfs to expand the ufs > filesystem. Things started off smoothly, but I ran into problems after > I grew the FreeBSD slice. I eventually stumbled around until I expanded > the "a" partition, but then bsdlabel whined about the size of the "c" > partition until I manually edited its size, contrary to the > instructions. Hi, FYI, I just commited the fix for this issue (r256690). -- WBR, Andrey V. Elsukov