In the TrueNAS UI go to Credentials > Users and set a password for the “root” user. Also check the “ssh access” box for that user. It must be the root user, you cannot use another one for what we are trying to do.
Then in WinSCP use “root” as the username and the password you just set.
OK, today I got an update for my drives and they will be here today, roughly 8 hours. I ordered 3 WD Red Plus 10TB drives (WD100EFGX).
I originally had SRM drives that need replacing. But the pool is degraded (I was able to do a full backup). Is there anything special I should do to fix the degraded pool?
I was wondering how I should swap out the drives without losing the current pool. or should I just start a fresh install?
Try smartctl -a /dev/sdx (replace ‘x’ as needed) in the shell, should run until completion (I’m assuming you’re running it on TrueNAS but accessing it from your gaming pc & not that you have the drive plugged into your gaming PC & that it is being put to sleep by the OS)
-a or -x read results. To initiate a long test: sudo smartctl -t long /dev/sdb
…and then leave the computer/NAS powered on for the duration of the test (sleep doesn’t matter) and come back to it (-a) some time after expected completion.
Remember the wrong command I gave earlier? smartctl -a /dev/sdx - that actually outputs the test results. Nothing gives any kind of indication that the test is done. Edit: it’ll give a note somewhere in the output if the test is still ongoing.
The test silently runs on the drive itself, so the GUI is never going to report anything.
You note down the expected time of completion (assuming that drive is inactive), and purposefully come back some time after that (to account for pool activity which might have slowed down the test).
This is also why it doesn’t matter if your TrueNAS GUI logs you or your client computer sleeps. The drive running the SMART test will do so on it’s own as long as the TrueNAS server remains powered up.
Ah that makes sense, it just reports when something is wrong.
On a side note, I was having so much trouble configuring Truenas, then I was watching another video, and he has pretty much the exact same setup as me.
I wiped my truenas server completely with using a win11 install USB, then cleaned each drive with diskpart, and wiped each drive as empty and reinstalled truenas and followed the guide and everything is running smooth, so far.