You likely want two 12-wide[1] RAIDZ3 VDEVs: that will bring down your total usable space[2] to around 315 TB[3].
Suggested readings are Introduction to ZFS | TrueNAS Community, iX's ZFS Pool Layout White Paper and Assessing the Potential for Data Loss | TrueNAS Community.
The reccomended maximum width for a single VDEV. ↩︎
usable space = total space - 15% (usually it’s 20%, I personally use 15%). ↩︎
I used ZFS Capacity Calculator - WintelGuy.com for the calculations. ↩︎