Closed aspoon closed 9 years ago
I've run into this issue too. To fix it you need to pass the object { 'recursive' => true }
as the second argument to the Zfs::Snapshot.list()
call in zfstools.rb.
Thanks, will review soon.
This also affected the zfs-cleanup-snapshots
script.
Given the pool
mypool
and datasetmypool/myfs
, with auto-snapshot enabled formyfs
(implicitly disabled formypool
).The command line
zfs-auto-snapshot -P mypool daily 7
does not destroy snapshots older than 7 days.