Stephane Dupille wrote:
> I dumped this disk image to a real machine, which has a 160 Go disk.
> The system works fine, but I can only use 10 Go of disk space. How can
> I gain more space ?
> 
> How can I enlarge the last partition of the disk to use the whole disk ?
> 
> I tried to create a new partition on the disk, and planned to add it
> in the zfs pool, but that didn't work :
> # gpart add -t freebsd-zfs -l disk0f ad0
> gpart: autofill: No space left on device
> 
> That's odd, because it seems that gpart is aware of the new geometry.

Currently there is no easy way to do it. GPT holds information about
first and last usable sectors. You can see them in your output:

> last: 20971486
> first: 34

You can look at freebsd-geom's mail list archive. There was a topic
"OCE and GPT" with similar problem.

-- 
WBR, Andrey V. Elsukov

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to