Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2010 21:14:05 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Stephane Dupille <stephane@dupille.org>
Cc:        stable@freebsd.org
Subject:   Re: Resizing GPT partitions
Message-ID:  <4C111D5D.3030006@yandex.ru>
In-Reply-To: <ygewru7jkp2.fsf@nospam.fr.eu.org>
References:  <yge39wxmpf9.fsf@nospam.fr.eu.org> <4C0FD8A2.3070307@yandex.ru> <ygewru7jkp2.fsf@nospam.fr.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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.
> 
> # cd /usr/src
> # patch < /root/patch
> # cd sbin/geom/class/part/
> # make
> # make install
> 
> 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/

-- 
WBR, Andrey V. Elsukov


[-- Attachment #2 --]
-----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-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C111D5D.3030006>