bsdinstall, zfs booting, gpt partition order suitable for volume expansion

Teske, Devin Devin.Teske at fisglobal.com
Tue Dec 17 15:29:18 UTC 2013


On Dec 17, 2013, at 6:54 AM, Andrey V. Elsukov wrote:

> On 10.12.2013 21:53, Adam McDougall wrote:
>> I was wondering if either the default gpt partition order could become
>> p1=boot, p2=swap, p3=zpool, or if the installer could be enhanced at
>> some point to allow the user to select the order.  It seems like it would
> 
> Hi,
> 
> I think the following scheme is more expansible:
> p1=boot, p2=zpool, p3=swap
> 
> You always can remove swap partition and change the size of zpool, then
> add swap partition. Also, you can expand swap partition when the amount
> of memory will be increased.
> 

I happen to agree with Adam McDougall and prefer:

	p1=boot, p2=swap, p3=zpool

The reason is simple... we're progressing to a point where we support live
resizing. If you put the swap after the zpool, you have to (as you accurately
stated) remove the swap and then re-add it. Problem is for a live resize, you
don't necessarily want to remove all your swap simply to grow your filesystem.

Having the zroot pool always built upon devices residing at the EOD will
mean that we can better support live-resizing without shuffling.
-- 
Devin

_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.


More information about the freebsd-stable mailing list