From owner-freebsd-stable@FreeBSD.ORG Thu Jun 10 17:14:17 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5161F106572D for ; Thu, 10 Jun 2010 17:14:17 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward7.mail.yandex.net (forward7.mail.yandex.net [77.88.61.37]) by mx1.freebsd.org (Postfix) with ESMTP id EFC6C8FC0C for ; Thu, 10 Jun 2010 17:14:16 +0000 (UTC) Received: from smtp8.mail.yandex.net (smtp8.mail.yandex.net [77.88.61.54]) by forward7.mail.yandex.net (Yandex) with ESMTP id 070B11B08651; Thu, 10 Jun 2010 21:14:15 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1276190055; bh=0CQ4abxg50J16BpYSgsC2pMUibwY/w156reFFdD4DlE=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=tNRemZxkOOtVhYnV05bcXI+zNjPab3N02eTJS/eXDQM8WLBd8yeUf8zL/PoPKG/Mj sxYr39zRMX+35JKeGOmyF7KkXs7LupPcpxydY/+lPjt10/n2J+CbxiE2rP9qZiWg5m rtuo/z255F8U1VysEWDu7QMCs2VZMjIJzLOeVlCE= Received: from btr.properlan.net (unknown [77.72.138.63]) by smtp8.mail.yandex.net (Yandex) with ESMTPSA id B9B6E2028095; Thu, 10 Jun 2010 21:14:14 +0400 (MSD) Message-ID: <4C111D5D.3030006@yandex.ru> Date: Thu, 10 Jun 2010 21:14:05 +0400 From: "Andrey V. Elsukov" User-Agent: Thunderbird 2.0.0.23 (X11/20100209) MIME-Version: 1.0 To: Stephane Dupille References: <4C0FD8A2.3070307@yandex.ru> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig173CF9AC1FA5EF8BC25CC233" X-Yandex-TimeMark: 1276190054 X-Yandex-Spam: 1 X-Yandex-Front: smtp8.mail.yandex.net Cc: stable@freebsd.org Subject: Re: Resizing GPT partitions X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2010 17:14:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig173CF9AC1FA5EF8BC25CC233 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Stephane Dupille wrote: > And dmesg does not say anymore that the secondary GPT table is corrupt > or invalid. I have plan to add `gpart recover` feature in near future. > Yep, seen it. I applied your patch to resize partition, but I didn't > manage to use it correctly. >=20 > # cd /usr/src > # patch < /root/patch > # cd sbin/geom/class/part/ > # make > # make install >=20 > Did I applied the patch correctly ? It seems not working : > # gpart resize -i 3 ad0 > gpart: param 'size': Invalid argument It needs in kernel support too. You can try to download snapshot of livefs CD of 9.0-CURRENT and use it. http://pub.allbsd.org/FreeBSD-snapshots/ --=20 WBR, Andrey V. Elsukov --------------enig173CF9AC1FA5EF8BC25CC233 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJMER1iAAoJEAHF6gQQyKF6EwkH/2O0mzQls3XILtu6MNAZmVvw tFQ2tonJ0SVMx4weBN6GeEijiE3VFhaigV0d93OlO7VXdqGRRdMfacXlJufbe2Of Repk1D/V7ktjEy3PsC3LTxtsnPQbWk/M2gOX5SMk+bSNCi/Q1qzgtSNrM2fTHISp OnaBnNwogM4Y9T+3yuf0hsH5v3EGsnOidPY3Q84MKLYPuTv/ULrdbb4f7kiRP6gx CMrpmDXLOdNE6c2vEpeYvbcK5OoW1ujyXhiSxrspgyv4TGqCDsLIu8Bpp9cb9URK 1j0WBBI4dxNNj2j4mCzBD0xYoBJ1x52xFmAKW4+h8iss53BCJLBeTRyWeNB4fzU= =ENly -----END PGP SIGNATURE----- --------------enig173CF9AC1FA5EF8BC25CC233--