Hi there,
William Bauer wrote:> Interesting that the weekly snapshots run on Monday. Shows the
> difference in thinking of when a week begins or ends. In the future,
> it would be nice to have more control over the slider''s settings,
The core auto-snapshot service will have this support in nv_107 with the
putback of:
changeset: 36:2e0ed0076cbb
user: Luca Morettoni <luca at morettoni.net>
date: Wed Dec 03 11:55:19 2008 +0100
description:
6777694 Need ability to control when auto-snapshots are taken
where setting the "zfs/offset" SMF property allows you to specify when
in the given time period the snapshot should be taken. I don''t know of
any plan to expose this in the GUI though (not thinking that it would be
a common requirement)
> such as what days the weekly runs, or setting it to use maybe only
> 30% instead of the current minimum of 70% for snapshots.
I think that 70% is the threshold at which the point the time slider
cleanup script starts warning about zpool free space, before starting to
destroy auto-snapshots in a relaxed or frantic manner (as opposed to
defining a percentage of disk space that auto-snapshots use)
> this is all in a config file somewhere, but I haven''t spend any
time
> looking for it, and the man pages don''t seem to exist yet.
Sorry, no man pages yet - the GUI is as simple as possible at the
moment, and doesn''t allow the user to tweak very much. Expert users can
change SMF property values in these services directly:
svc:/system/filesystem/zfs/auto-snapshot:frequent
svc:/system/filesystem/zfs/auto-snapshot:hourly
svc:/system/filesystem/zfs/auto-snapshot:monthly
svc:/application/time-slider:default
svc:/system/filesystem/zfs/auto-snapshot:daily
svc:/system/filesystem/zfs/auto-snapshot:weekly
There''s documentation on the SMF properties for the core service at
/var/svc/manifest/system/filesystem/auto-snapshot.xml
http://blogs.sun.com/timf/resource/README.zfs-auto-snapshot.txt
cheers,
tim