Replication fails, zfs command missing from sbin, mitigated

Description

We have four *NAS systems in our infrascruture: TrueNAS HA 9.10, FreeNAS Certificed 9.10, then a pair of FreeNAS Certified with recent upgrades from 9.10 to 12.0-BETA (by way of 9.10 latest -> 11.1 -> 11.3).

Now, both legacy FreeNAS 9.10 and TrueNAS 9.10 systems could no longer push replication shapshots.

~# python /usr/local/www/freenasUI/tools/autorepl.py
warning: cannot send 'tank/cifs/tree@auto-20200806.0800-2w': signal received
cannot send 'tank/cifs/tree': I/O error

Checked /var/log/debug.log and found the following:

freenas autorepl.py: [tools.autorepl:157] Replication result: /sbin/zfs: Command not found.

It seems that *NAS 9.10 calls for "/sbin/zfs" on the far-side but this no longer exists in TrueNAS-12-0-BETA. Instead it is at /usr/local/sbin/zfs.

Mitigated with symlink from /usr/local/sbin/zfs to /sbin/zfs

ln -s /usr/local/sbin/zfs /sbin/zfs

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Sebastien BLANCHET September 18, 2020 at 1:15 PM

For you information,  it breaks also

  • v11.1 -> v12 replication

  • v11.2 -> v12 replication

The issue is solved by creating the symbolic link suggested in the ticket.

https://www.ixsystems.com/community/threads/replication-from-11-2-to-12-fails.87402/

On the other hand v11.3 -> v12 replication works well.

 

Lyle Dodge August 11, 2020 at 2:31 PM

You're welcome.

I'm curious why it won't be fixed vs. adding a simple symlink?  Especially since this will break any v9 -> v12 replication, maybe that's ok given the age of v9 but disappointing all the same.  I didn't have opportunity to test v11 -> v12 replication but maybe it was resolved in v11 so it doesn't call for the zfs binary in the legacy location.

It just seems a bummer to break something people might be using to save a symlink. Less effort in a symlink than a line in the release notes so it makes good economic sense too.

I've said my peace so I'll leave it at that and thank-you all for your efforts at improving the FreeNAS/TrueNAS ecosystem.

Joe Maloney August 11, 2020 at 12:25 PM

Thank you for the report .  We are going to add something to our release notes today for 12.0-BETA2.

Not to be Fixed

Details

Assignee

Reporter

Labels

Impact

Medium

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created August 8, 2020 at 5:36 AM
Updated July 1, 2022 at 4:56 PM
Resolved August 11, 2020 at 12:25 PM