Comments (6)
What does which zfs
say? core.sh
tries to run /usr/sbin/zfs
, maybe your zfs
executable is somewhere else.
from zfsnap.
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.
@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.
@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.
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.
@wiegraffolles Fixed in the latest. Thanks for the bug report!
from zfsnap.
Related Issues (20)
- Argument list too long while deleting old snapshots
- Possibly relying on createtxg and guid properties HOT 4
- smb.conf for zfsnap HOT 1
- Request: Add support for a pre- and post-script HOT 4
- How do I use zfsnap to backup snapshots of one pool to another? HOT 2
- daily snapshots generated, which I never set up HOT 4
- How to use xPERIODICx scripts? HOT 1
- Wanted: new maintainer HOT 7
- zfSnap -d command is not working HOT 2
- zfsnap_delete periodic script needs filesystem arguments
- Make prefixes not need - at the end HOT 3
- Disable filtering when destroying HOT 1
- [feature] Add an option to store TTL as ZFS property - instead of being part of the snapshot name HOT 1
- FATAL: trying to delete zfs pool or filesystem? WTF?
- redirection to stderr prevents use in systemd-services HOT 6
- Recursive snapshot without parent directory
- Is this still an active project? HOT 3
- Delete any snapshots that have expired? HOT 3
- Free predefined amount of space by removing snapshots
- Possibility to use inotify to trigger snapshots HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zfsnap.