Comment on TrueNAS Scale, hard disks, and pools
bigredgiraffe@lemmy.world 3 weeks agoOkay so the disks aren’t also on UPS? That might actually be even worse than the whole thing getting turned off, ZFS is definitely not meant to be run on removable disks like that.
Flamekebab@piefed.social 3 weeks ago
Haha, yeah. It does make me wonder whether I should bin the whole TrueNAS approach entirely. It seems like a tremendous faff when I could just have the files mirrored to another disk as a backup.
4am@lemm.ee 3 weeks ago
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.
Flamekebab@piefed.social 3 weeks ago
These are internal drives connected to a desktop PSU wired to a USB interface to connect to the laptop.
4am@lemm.ee 5 days ago
Therefore the laptop is the disk controller and if you gracefully shut down the OS it will take care of all the housekeeping tasks to prepare a disk for safe shutdown (flush cache to disk, park heads on spinning rust, etc) and then it will be safe to turn off the PSU.
Legume5534@lemm.ee 2 weeks ago
Wtf man just build a proper Nas at this point.