u/Happy_Helicopter_429

ZFS boot disk question for new Proxmox 9.1 build

Hi all,

I am planning the build of a new Proxmox server and want to intelligently spread the members of my zfs "raid10" root disk array across multiple disk enclosures. Unfortunately, when using the installer GUI, I only get to choose the disks to use and the array type, but can't choose how the array is created with those disks.

My solution was to just choose 1 disk, then add the mirrors and stripes later as appropriate. But, since I only chose 1 disk, I only have 1 replica of partition 1 (BIOS boot) and partition 2 (EFI System). It also decided to ignore the size I entered and randomly chose 446G, but that's easy enough to fix.

# zpool status

pool: rpool

state: ONLINE

config:

NAME STATE READ WRITE CKSUM

rpool ONLINE 0 0 0

scsi-35000c500b7e0db03-part3 ONLINE 0 0 0

# ls -la /dev/disk/by-id | grep scsi-35000c500b7e0db03-part3

lrwxrwxrwx 1 root root 11 May 7 16:32 scsi-35000c500b7e0db03-part3 -> ../../sdaf3

# fdisk -l /dev/sdaf

<trim>

Device Start End Sectors Size Type

/dev/sdaf1 34 2047 2014 1007K BIOS boot

/dev/sdaf2 2048 2099199 2097152 1G EFI System

/dev/sdaf3 2099200 937426944 935327745 446G Solaris /usr & Apple ZFS

Obviously, I still want to be able to boot if that disk fails. I can copy the partition table to the other disks that will be in the array, but how do I get the BIOS boot and EFI System data replicated onto them such that they will stay updated (do they change?) and be bootable?

Thanks!

reddit.com
u/Happy_Helicopter_429 — 14 days ago