keboose
Explorer
- Joined
- Mar 5, 2016
- Messages
- 92
Just follow the commands in the link I posted earlier.
I went and did so; I could not export the pool from FreeNAS, I kept getting errors about files in
/var/log/
being in use, so I assume there are some important log files stored on the pool. Instead, I made a FreeBSD installer memory stick and used the live environment on it to repair the disks (the
gpart recovery
and gpart resize
steps.) interestingly, the four disks connected to the motherboard were just fine, their ZFS partitions took up the entire disk, and were not "corrupted". The eight connected to the SAS controller, however, were "corrupted," and those I had to expand the partitions on (the recovery step left a single 3.5K block at the end of the disk free, which the 4 disks connected to the mobo do not have.)The layout of a SAS-connected disk looks like this:
Code:
=> 40 7814037095 da8 GPT (3.6T) 40 88 - free - (44K) 128 4194304 1 freebsd-swap (2.0G) 4194432 7809842696 2 freebsd-zfs (3.6T) 7814037128 7 - free - (3.5K)
While disks connected to the motherboard look like this:
Code:
=> 40 7814037088 da11 GPT (3.6T) 40 88 - free - (44K) 128 4194304 1 freebsd-swap (2.0G) 4194432 7809842696 2 freebsd-zfs (3.6T)
I booted FreeNAS back up afterwards, but the pool is still only showing 15TB. I verified that FreeNAS sees the partitions correctly (with
gpart show
,) but even after rebooting again, the pool size has not changed.