clicks
Dabbler
- Joined
- Jan 29, 2015
- Messages
- 11
Ok, ok, it might be a niche topic but perhaps it might save someone some time. I was in the situation where I had to replicate an (old) Freenas 11.2 installation to a TrueNas 12 installation. Before anyone asks, an update of the old box was out of question as it suffers from hardware failures which make every reboot a gambling game.
Unfortunately replication always fails as the replication command specified the zfs command on the remote machine, which stores the binary at a different path:
Replication result: zsh:1: no such file or directory: /sbin/zfs
The easiest way to solve the problem was to create a symbolic link for the zfs binary so that it can be found at both locations:
	
		
			
		
		
	
			
			Unfortunately replication always fails as the replication command specified the zfs command on the remote machine, which stores the binary at a different path:
Replication result: zsh:1: no such file or directory: /sbin/zfs
The easiest way to solve the problem was to create a symbolic link for the zfs binary so that it can be found at both locations:
Code:
ln -s /usr/local/sbin/zfs /sbin/zfs
 
				 
 
		 
 
		 
 
		