ZFS Replication from FreeNAS to OS X

All your general support questions for OpenZFS on OS X.

ZFS Replication from FreeNAS to OS X

Postby henningkessler » Wed May 25, 2016 2:57 am

Hello,

I am trying to set up a replication task from a FreeNAS server to an OS X server. Everything is working except the lz4 compression.

This is the error messages from the FreeNAS host:
Code: Select all
May 25 12:04:01 SNDHOST autorepl.py: [tools.autorepl:138] Sending zfs snapshot: /sbin/zfs send -V tank01/shares@auto-20160518.1300-1w | /usr/local/bin/lz4c | /usr/local/bin/throttle -K 20000 | /bin/dd obs=1m 2> /dev/null | /bin/dd obs=1m 2> /dev/null | /usr/bin/ssh -i /data/ssh/replication -o BatchMode=yes -o StrictHostKeyChecking=yes -o ConnectTimeout=7 -l sadmin -p 22 RCVHOST "/usr/local/bin/lz4c -d | /sbin/zfs receive -F -d 'backup' && echo Succeeded"
May 25 12:04:02 SNDHOST autorepl.py: [tools.autorepl:157] Replication result: bash: /usr/local/bin/lz4c: No such file or directory


Is there a lz4c binary in OS X so i could create a symbolic link to /usr/local/bin/lz4c?

Regards

Henning
henningkessler
 
Posts: 3
Joined: Sun May 03, 2015 1:28 am

Re: ZFS Replication from FreeNAS to OS X

Postby Brendon » Wed May 25, 2016 3:29 am

Brendon
 
Posts: 286
Joined: Thu Mar 06, 2014 12:51 pm

Re: ZFS Replication from FreeNAS to OS X

Postby henningkessler » Wed May 25, 2016 1:17 pm

Hi Brendon,

thanks for your answer, but as O3X utilizes the lz4 compression as a flag for pools lz4 must be already baked into the system or installed by O3X..

or am I wrong with that?

Henning
henningkessler
 
Posts: 3
Joined: Sun May 03, 2015 1:28 am

Re: ZFS Replication from FreeNAS to OS X

Postby Brendon » Wed May 25, 2016 1:35 pm

Its in the kernel. You are asking for a userspace utility which we don't have. I think you are getting that utility from your OS, rather than your ZFS implementation.

Cheers
Brendon
Brendon
 
Posts: 286
Joined: Thu Mar 06, 2014 12:51 pm

Re: ZFS Replication from FreeNAS to OS X

Postby henningkessler » Thu May 26, 2016 2:05 pm

Hi Brendon,

now i got it :-), Thanks for your help.

Henning
henningkessler
 
Posts: 3
Joined: Sun May 03, 2015 1:28 am


Return to General Help

Who is online

Users browsing this forum: No registered users and 34 guests

cron