Elliott
Dabbler
- Joined
- Sep 13, 2019
- Messages
- 40
I have noticed that when FreeNAS creates a storage pool, it goes through these steps on each disk, wiping the partition table then adding two partitions and bootcode. This adds a significant amount of time if you have many disks, and there is no indication in the GUI of what is happening. Is there some performance benefit to doing this preparation, as opposed to simply running
zpool create
?Code:
gpart create -s gpt /dev/da3 gpart add -a 4k -b 128 -t freebsd-swap -s 4194304 da3 gpart add -a 4k -t freebsd-zfs da3 gpart bootcode -b /boot/pmbr-datadisk /dev/da3