Giter VIP home page Giter VIP logo

Comments (6)

neuhalje avatar neuhalje commented on July 4, 2024

What does which zfs say? core.sh tries to run /usr/sbin/zfs, maybe your zfs executable is somewhere else.

from zfsnap.

wiegraffolles avatar wiegraffolles commented on July 4, 2024

which zfs reports that the executable is at /usr/local/bin/zfs. I installed OpenZFS on OSX from the official .dmg file, so I can say that this is the default install location on Mac. Do you have any suggestions on how to fix the script?

from zfsnap.

aqw avatar aqw commented on July 4, 2024

@wiegraffolles You need to edit zfsnap/share/zfsnap/core.sh, scroll to the very end where it says "Darwin" and change the two lines to the correct locations on your system.

ZFS_CMD='/usr/sbin/zfs'
ZPOOL_CMD='/usr/sbin/zpool'

However, you said you installed this from the official dmg? If /usr/local/bin/ is the typical location of zfs commands on OSX, then this default needs to be changed.

If there are any other OS X users out there, please chime in. Otherwise, I will most likely change the default location on OS X.

---Alex

from zfsnap.

wiegraffolles avatar wiegraffolles commented on July 4, 2024

@Alexqw Yes I downloaded the 1.4.5 release from this page and used it to install OpenZFS:

https://openzfsonosx.org/wiki/Downloads

I will try editing core.sh now and see what results I get.

from zfsnap.

wiegraffolles avatar wiegraffolles commented on July 4, 2024

Changing core.sh as follows got the script working for me:

ZFS_CMD='/usr/local/bin/zfs'
ZPOOL_CMD='/usr/local/bin/zpool'

Thanks so much for your help!

from zfsnap.

aqw avatar aqw commented on July 4, 2024

@wiegraffolles Fixed in the latest. Thanks for the bug report!

from zfsnap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.