TrueNAS Scale, hard disks, and pools
TrueNAS Scale, hard disks, and pools
It seems to either be completely fine and a power cycle makes no difference - or it loses the whole structure. I don't know how I'm supposed to pull the disks back in. It doesn't seem to detect that they're already setup as part of a pool.
The pool I've created doesn't vanish but it seems my only option for it is "manage devices" which takes me to the "Add VDEVs to the Pool" menu where my three disks show up as unassigned. The only presented option seems to be to wipe them in order to add them back to the pool.
Trying to search for this stuff doesn't seem to give me anything useful. I don't know what the intended behaviour is and what it is that I'm doing wrong. I would expect what should happen is that the disks come back online and get automatically added back to the pool again but no, apparently not?
Since ZFS keeps the config info on disk, I’m with another commenter wondering about your disk health.
Check the SMART data for each drive.
Have been using TrueNAS for 13+ years since the FreeNAS 9.x days. Can attest to its bulletproof-ness in my case.
Would second asking in the iX forums. I’ve managed to get replication help directly from iX staff before when using the forum. You shouldn’t have this issue, and you will find answers.
I’ve moved my disks to a completely new machine with fresh install and then import my config, reboot and everything is as it was. I’ve also done the same without my config and imported the pool with no problems, just need to recreate shares, and any jails (a feature which I no longer use) would need to be reconfigured to be 100% functional.
Which logs specifically should I be checking?
zpool doesn't see any pools to import. The system does see the disks but I'm not sure why the disks aren't being checked for pools.
If you shut down the computer gracefully first before you power the disks off of should be ok more often than not, but you really should try to have everything on the same system so this can all be coordinated by the OS and the hardware.
As others have said, avoid powering the disks off before the OS has had a chance to shut down or your disks will NOT be in a recoverable state when everything comes back online.
I’m not even sure the setup you are describing would benefit at all from a different storage method, even “regular” writes could be in memory or controller buffers. External drives are not meant to have their power cut.