Technically TrueNAS Core is FreeBSD and not Linux but this section contains notes for both TrueNAS as well as accessing it from Linux based machines.
Notes on replacing a disk in a ZFS Pool