Adam McDougall
2013-Dec-10 17:53 UTC
bsdinstall, zfs booting, gpt partition order suitable for volume expansion
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 be easier to expand the size of the raw device (VM, iscsi, etc) and expand the zpool if it is the last partition. I am not in a hurry to get this solved, but if a change to the default order is worthwhile, it seems like before 10.0 would be a good time to set precedent. I'm trying to think ahead where people will be installing 10 to VMs or expandable volumes so they can take advantage of expansion with less hassle. I pinged Allen Jude on this briefly, I think he said it used to be that way but it was changed to accomodate MBR partitioning (I think, apologies for not remembering details).
Teske, Devin
2013-Dec-10 19:00 UTC
bsdinstall, zfs booting, gpt partition order suitable for volume expansion
On Dec 10, 2013, at 9:53 AM, 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 > be easier to expand the size of the raw device (VM, iscsi, etc) and expand > the zpool if it is the last partition. I am not in a hurry to get this > solved, but if a change to the default order is worthwhile, it seems like > before 10.0 would be a good time to set precedent. I'm trying to think ahead > where people will be installing 10 to VMs or expandable volumes so they can > take advantage of expansion with less hassle. I pinged Allen Jude on this > briefly, I think he said it used to be that way but it was changed to > accomodate MBR partitioning (I think, apologies for not remembering details).Excellent idea. Let me put that into a patch. I'll let you know when I have something that tests clean. -- 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.
Andrey V. Elsukov
2013-Dec-17 14:54 UTC
bsdinstall, zfs booting, gpt partition order suitable for volume expansion
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 wouldHi, 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. -- WBR, Andrey V. Elsukov