Hello community,
I am trying to migrate data from my old NAS to my new TrueNAS Scale.
My old NAS is a Zyxel model NSA325 v2, more than 10 years old. Its OS is based on BusyBox v1.17.2. It provides very basic commands and rsync is not in the list. SMB version on this NAS is v1.0. I have been using local mounts on my PC (Ubuntu) to interact with it for years and years. I mean that I usually mount the SMB share on my PC, then I use rsync to push/pull data to/from my NAS. I do everything from CLI and it has worked fine so far.
Now, I am trying to pull data from it to my TrueNAS Scale (25.04.1), as described in this reply. The pull process starts as usual, I can see some progress with transfer rates around 90MB/s, but TrueNAS is systematically hanging after a while and then reboots.
I also tried with the following command:
sudo rsync -auvv --progress --stats -h admin@192.168.x.y:/path/to/share /mnt/streaming-pool/Media
but I receive the following error message:
opening connection using: ssh -o Compression=no -l admin 192.168.x.y rsync --server --sender -vvulogDtpre.iLsfxCIvu . /path/to/share (12 args)
admin@192.168.x.y’s password:
sh: rsync: not found
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(231) [Receiver=3.2.7]
I suppose it is caused by the fact that rsync tries to estabilish an ssh connection, then tries to execute rsync on the other side.
I was able to pull data with scp:
sudo scp -o Compression=no -r admin@192.168.x.y:/path/to/share /mnt/streaming-pool/Media
But transfer rate is low (10MB/s) and I need to pull some TB. So, I still prefer the old way (mount & rsync) which is not working on TrueNAS for unknown reason.
Do anybody knows why my TrueNAS hangs and reboots? What’s wrong with mount&rsync from CLI?
Can anybody suggest me a working and fast strategy for data migration from a quite old NAS supporting only SMB v1.0 and NFS (never used) to my new TrueNAS Scale?
Many thanks
…
… As it was solved, I added a step by step guide for anybody else needing to migrate data from a Zyxel NSA325 v2 to TrueNAS Scale in the reply to @rockstream . It may save days of googling.
Regards