Comments (9)
If --keep
was required for this feature then I would withdraw my concerns.
from zfs-auto-snapshot.
This is a great idea. I would like to have this feature. How would free space be defined? Ie, space in the parent filesystem, headroom in the quota, ... ?
from zfs-auto-snapshot.
I think that easier way will be check free space for current filesystem, that becomes to be snapshoted. If this free space is shared with other filesystems, this will not the problem.
from zfs-auto-snapshot.
I would also like to see this feature added. It would be a great enhancement.
from zfs-auto-snapshot.
Explain more on how this would work. If --free=5GB
it won't run if the pool doesn't have at least 5GB available?
from zfs-auto-snapshot.
I read the feature request as:
Given $ zfs-auto-snapshot ... --free=5GB
- Is free space less than 5GB?
- If yes:
- there is not enough space
- remove oldest snapshot
- go to beginning to check again
- If no:
- there is enough space
- do snapshot
- If yes:
from zfs-auto-snapshot.
I think that might be a little … 'dangerous'. If we're so close to running out of space, starting to automatically delete (possibly big/huge) snapshots without the admin specifically deleting stuff he/she know is of no use might end up with all snapshots for ONE dataset/zvolume being destroyed, leaving all the other…
That doesn't sound like a solution I would want being done automatically...
from zfs-auto-snapshot.
The issue that I see with this feature is that you should also have a minimum number of snapshots to keep. Because, if you have 10 snapshots of a filesystem and you require --free=100GB but each snapshot is only taking up 5MB, then you will remove all of the snapshots and still not be able to take a new snapshot. That seems like a dangerous situation to me.
from zfs-auto-snapshot.
That's exactly why I don't think this should be done automatically...
from zfs-auto-snapshot.
Related Issues (20)
- Option "--recursive" does not seem to cover datasets with legacy mountpoints
- Windows Shadow Copy with path = /.../%U HOT 1
- Build: Add Fedora 29 to Copr repo
- Is this project dead? HOT 8
- Allow overriding the default options HOT 2
- syntax error on Ubuntu HOT 1
- docker build - "object is remote error" HOT 1
- dry-run erroneously creates snapshots on all datasets HOT 4
- --min-size parameter reveals error.
- can't get Samba integration to work HOT 1
- Seeking new volunteers to continue this project HOT 13
- zfs-auto-snap_daily - dataset already exists HOT 6
- Rotation isn't working HOT 1
- --destroy-only keeps one snapshot less than specified HOT 3
- Unsolicited frequent snapshotting HOT 2
- Isn't opt_default_exclude backwards? HOT 1
- Uninstall not working HOT 3
- zfs-auto-snapshot is not in $PATH for cron
- add uninstall capability to Makefile
- log with --verbose never logs the info class log entries
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 zfs-auto-snapshot.