zfstools icon indicating copy to clipboard operation
zfstools copied to clipboard

Support written property for avoiding needless snapshots

Open bdrewery opened this issue 10 years ago • 1 comments

https://www.illumos.org/issues/1645

bdrewery avatar Sep 11 '15 22:09 bdrewery

This is tricky. Checking dataset:written would work as long as there's no manual snapshots. Any manual snapshots would make the assumption of trusting written > 0 wrong. It would need to check the written property on the last snapshot created by itself. This could result in a used == 0 case that ends up getting deleted though.

bdrewery avatar Sep 12 '15 04:09 bdrewery