Resizing GPT partitions

Andrey V. Elsukov bu7cher at yandex.ru
Thu Jun 10 17:14:17 UTC 2010


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100610/7ae47bd5/signature.pgp


More information about the freebsd-stable mailing list