-
Hi https://github.com/Sithuk/ubuntu-server-zfsbootmenu and I can't find anywhere to set or limit the size of the rpool/ it's setting itself on part 3 of my disk and taking up a whole 499GB. the efi is taking only 537 and and the swap 534. I would like to give rpool 100GB and use the rest for datapool. How do i do this? Also I have 2 500GB disks and when I set mirror instead of single it results with separate efi partitions, mirrored swap and separate rpools. so of course not surprisingly, the whole thing refuses to boot. Am I choosing the wrong thing or should I use single and then partition and add the 2nd disk after installation completes with zpool add or zpool attach? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
Hi bossey, "I can't find anywhere to set or limit the size of the rpool" The script is setup to create the root pool and data pool on different physical disks. The rpool partition takes up the remainder of the capacity of the disk after the swap and EFI partitions are created. If you wanted to have two pools on a single disk then you would need to create a partition for the other pool and then create the other pool in that partition. The script isn't configured to do that automatically, so you would need to amend the script to achieve the configuration you want. "Am I choosing the wrong thing or should I use single and then partition and add the 2nd disk after installation completes with zpool add or zpool attach?" Setting the topology_root variable to mirror and the disks_root variable to 2 should achieve an rpool with a two disk mirror topology. You shouldn't need any manual steps. The separate EFI partitions shouldn't be an issue. rEFInd will auto-select one to boot from, or you can intervene and select which to boot from at the rEFInd menu screen. The contents of both EFI partitions should be identical so it doesn't matter which EFI partition the system boots zfsbootmenu from. There have been other threads about boot issues with particular hardware configurations so the issue may not be the script. |
Beta Was this translation helpful? Give feedback.
-
What happens when you comment out "clear_partition_table "data"" on line 2074? So change: |
Beta Was this translation helpful? Give feedback.
Hi bossey,
"I can't find anywhere to set or limit the size of the rpool"
The script is setup to create the root pool and data pool on different physical disks. The rpool partition takes up the remainder of the capacity of the disk after the swap and EFI partitions are created. If you wanted to have two pools on a single disk then you would need to create a partition for the other pool and then create the other pool in that partition. The script isn't configured to do that automatically, so you would need to amend the script to achieve the configuration you want.
"Am I choosing the wrong thing or should I use single and then partition and add the 2nd disk after installation completes with …