I have and old 2u HP Proliant DL385p gen8 server. I used to run ESX. However, I got the idea to use it to learn ZFS as it has 10 - 900 GB SAS drives.
There's always a catch...
It seems that there's a built in hardware RAID controller that all of the drives attach to.
The gui based config utility for said RAID controller provides no options other than RAID 0, 1, 5, 6, 50, or 60.
There is no JBOD option to allow individual disk access.
I was able to find a linux based cli tool (hpssacli) which allowed me to put the controller in HBA mode.
Viola, individual disk access.
I installed freebsd to a ZFS RAIDZ2 pool and rebooted. No joy!
Apparently, the only way to boot from the disks is when configured in a RAID controlled by the previously mentioned RAID controller. <sigh>
If one creates a bootable USB stick which indicates that ROOT is on the ZFS pool, things work well.
This can be done with either MBR or GPT formatting of the USB stick (teachable moment).
The trick is that the boot isn't ZFS based, it's UFS. Only when it gets to the mounting of ROOT (/) does it start using ZFS. (gptzfsboot did not work... YMMV)
This requires a copy of the /boot directory and the directories under it on the USB stick. (CAVEAT: this copy MUST be done every time you apply patches unless you use a symbolic link)
I used several instructive posts to arrive at a final solution.
Regards
There's always a catch...
It seems that there's a built in hardware RAID controller that all of the drives attach to.
The gui based config utility for said RAID controller provides no options other than RAID 0, 1, 5, 6, 50, or 60.
There is no JBOD option to allow individual disk access.
I was able to find a linux based cli tool (hpssacli) which allowed me to put the controller in HBA mode.
Viola, individual disk access.
I installed freebsd to a ZFS RAIDZ2 pool and rebooted. No joy!
Apparently, the only way to boot from the disks is when configured in a RAID controlled by the previously mentioned RAID controller. <sigh>
If one creates a bootable USB stick which indicates that ROOT is on the ZFS pool, things work well.
This can be done with either MBR or GPT formatting of the USB stick (teachable moment).
The trick is that the boot isn't ZFS based, it's UFS. Only when it gets to the mounting of ROOT (/) does it start using ZFS. (gptzfsboot did not work... YMMV)
This requires a copy of the /boot directory and the directories under it on the USB stick. (CAVEAT: this copy MUST be done every time you apply patches unless you use a symbolic link)
I used several instructive posts to arrive at a final solution.
Regards