PBS multiple bootable disks

d1nuc0m

New Member
Dec 6, 2024
7
3
3
Hi, I got a PBS server with 2x 3.8TB SSD with PBS installed as a RAIDZ1 and 12x 4TB HDD RAIDZ3 where the backups are saved.
I noticed that only one of the SSDs has boot and biosboot partitions, so I guess that if it breaks the other disk can't be booted. Is there a way to reinstall PBS so that both SSDs are bootable? Thanks in advance
 
You could remove the second disk from the mirror, use sgdisk to copy the boot config from the other drive, and then re-add it. It will then resilver.

# sgdisk <healthy bootable device> -R <new device>
# sgdisk -G <new device>


Or if you are more familiar with parted tools, install parted, remove the drive from zfs and do this ...

sfdisk -d /dev/sda | sfdisk /dev/sdb
 
Last edited:
  • Like
Reactions: d1nuc0m
You could remove the second disk from the mirror, use sgdisk to copy the boot config from the other drive, and then re-add it. It will then resilver.

# sgdisk <healthy bootable device> -R <new device>
# sgdisk -G <new device>


Or if you are more familiar with parted tools, install parted, remove the drive from zfs and do this ...

sfdisk -d /dev/sda | sfdisk /dev/sdb

Thanks, as I'm also installing a new machine is there a way to do something like this straight from the installer? If necessary I can drop RAIDZ1 and use a "regular" RAID, as the pool for the backups is on the other disks set