I have finally finished setting up my primary Truenas-1 which is Baremetal, and setting up Virtualized Truenas-2 in Proxmox.
Truenas 1 has 2 onboards 1gig ports, and a 2 port 10gig X550-t2 card.
Truenas 2 has hardware pass through and all the drives and 2nd X550-t2 installed.
The two machines are connected directly to each other through 1 10gig port with a separate static I.P not part of the primary network of the 1gig cards, and see each other.
I want to migrate the data from Truenas 2 to Truenas 1 through the 10gig connection.
I have watched various vids and read several Truenas Forums on the process but it escapes me and still does work.
I know some do replication, some do rsync etc.
Basically, I am wanting to achieve an exact 1 to 1 copy from one to the other.
I have tried to setup rysnc according to Truenas, but some where along the line is gives me errors and wont start the transfer.
Unless I am wrong, you have to setup the task on both machines, and the parameters I guess are what’s mucking is up for me.
Let me know what you have done and the steps. I have not seen any updated videos on a Truenas-to-Truenas data migration/transfer.
Yeah, I watched his video when I started researching moving the data. Basic thing is that its only snapshots. I want to moved everything over for a 1:1 copy. So far peer to peer over static i.p. address on separate network cards is not working.
It is a 1 to 1 copy and it uses snapshots to accomplish this. This is a block level transfer and if you use rysnc that is a file level transfer. ZFS replication is the answer. But you are free to move your data however you want.
Thanks for all the replies. So revisited Tom’s video and Craft, and was able to create and test a replication with no major problems other than adjusting dataset settings. My only major issue at this point is the 10 gig peer to peer networking. The reason I’m really bent on this, is cause at 1gig the transfers takes about 30hours, where as using 10gig takes about 4hrs.
This is the status on the primary bare metal Truenas:
Hello, apologies for being a dimmo but have you started with the basics?
Can machine A ping machine B? Can you ping the IP and hostnames? Is this a ‘reliable’ connection, i.e no dropped packets or weird routing? Are both machines on the same VLAN? (I’l assume they are, as that’s jjust another order of headache).
Assuming they can’t ping, the first steps would be to work out why not, and simplify your setup as much as possible until they can.
I apologise if this is sort of baby steps for a more complex issue.
This is strictly a peer to peer network/direct connection between 2 Truenas Machines. Both cards link up. This is got to be an internal setting with Truenas for it not to connect. They are both 10gig cards, but different manufactures. The primary 1gig to my network works fine, shares and remote, all works. Its got to be an auto negotiate setting in Truenas.
TrueNAS doesn’t provide very good networking information and forces you to the command line for ethtool - which no doubt it then overwrites.
You mentioned one is a virtual machine. Solely for test purposes, could you use a virtio adaptor rather than the passed through NIC or simply connect the (passed through) card to your switch?
The speed can be considered once the devices are communicating.
If I were being honest, if you’re looking for close to 10GB throughput you do probably want a switch to enable flow control and duplex, let alone negotiation.