Skip to content

ZXFER Failed to retrieve datasets from the destination #60

@xflou

Description

@xflou

Hello,

Looking for some suggestions or ideas on a problem I've encountered using zxfer.

I have an existing system with an existing zfs pool that I'm trying to copy over to another system.

For some reason, I am able to run the zxfer command interactively with no issues; however, when I attempt to run the same command from a bash script, it fails.

Below is the actual output and messages:

when running the following command from within a shell script, it returns the following error messages:

/usr/local/sbin/zxfer -F -k -P -R remotepool -O root@remotesystem localpool
/usr/local/sbin/zxfer: 681: list: not found
Failed to retrieve datasets from the destination

when starting the same command interactively a shell terminal window at the command line, it seems to work:

In fact, the command starts, it pulls the snapshots across from the remotesystem ; which I can see on the local system using "zfs list -t snap" command.

/usr/local/sbin/zxfer -F -k -P -R remotepool -O root@remotesystem localpool

Has anyone seen or experienced this issue before that can share how they fixed it and or anyone have any suggestions.

I would appreciate it.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions