Hi everyone.
I’m new to TrueNAS and today I just installed TrueNAS ElectricEel R2.
For testing purposes, I plugged my USB disk into TrueNAS but couldn’t access or see my data. Besides I have 10TB of data in another HDD and I’m thinking of transferring it all using HDD Enclosure. Now, don’t know how to copy all removable disk data and paste it to TrueNAS. Please help.
TrueNAS doesn’t include any mechanism to do this, unless you want to do it manually at the shell. The recommended and supported way to get data onto your NAS is by sending it over the network using a file-sharing protocol.
In TN core, there Is a function in Storage → Import disk to do what you are tryng… but don’t know if Is available in Scale too (and if Is somehow reliable/manteined in core too, i used It just once and quite lot of time ago).
Btw, as already suggested, transfer over network will do the job
That feature was removed around a year or so ago because there were problems with maintaining file attributes during transfers and iX decided to remove that feature in a previous version of scale.
This is a pretty bad issue for me. New to truenas and would have thought this was something so fundamental I wouldn’t need to worry about it being there or not. Copying by network isn’t a solution, it takes 17 hours to copy a few TB’s by 1 gig network via windows 11 to the NAS. When I tried to copy via shell (rsync from /mnt/extdrive to /mnt/ByteBay/destination), what happened was the memory quickly filled up “Services” and nothing was actually written to disk. So… only network copy? really?
So now I’m trying to copy the files from inside a linux mint vm running on truenas scale, I can access the usb drive but I can’t access the smb shares. I’m guessing something to do with ACL’s or guest to host networking rules? Any hints? The vm has internet, the vm can reach my lan router (opnsense) but the vm can’t reach the lan ip of truenas which it’s running on.
edit: I’m literally fussing with networking, and creating a vm, just to copy files from usb to my pool? This is 2025, right? Pretty please can we get an easy copy from usb option added back
If you really want to do this then can’t you just set up a VM with the older version of Truenas that does support copying files via USB? Then copy your files, save config, upgrade Truenas to Scale with 2-3 steps, and import config file at each stage. However, good luck with preserving the file attributes.
But you’re right; it’s a lot of fathing about. My experience has been that copying over a 1GBe connection to a properly-configured bare-metal Truenas with 32GB RAM is significantly faster than USB3, given the bandwidth limitations of HDDs. HDD via USB → Win11 box I got around 65 - 70 MB/s with Windows File Explorer, but over network 1GBe from Win11 box → Truenas Core 12.x it was regularly 110 MB/s. This was with ~2GB video files as an example, but obviously any transfer time will be longer with lots of small files: for both methods.
Why not transfer by 1GBe with guaranteed file integrity, and do some more RTFM about Truenas in the meantime. It is an excellent system but to avoid frustration requires a lot of forethought into how to get the best out of it.