Bugzilla – Bug 9595
Would like com.sun:auto-snapshot:event service
Last modified: 2009-06-24 03:53:54 UTC
You need to log in before you can comment on or make changes to this bug.
In version 0.11 of SUNWzfs-auto-snapshot, we added the 'zfs/interval' value of 'none', allowing users to manually fire the method script. This service instance wouldn't get added to the crontab, rather it would exist to collect related filesystems under a given property and take snapshots of those at the same time. None of the canned SMF instances actually used that zfs/interval value though, so we propose to start delivering one by default in 0.12. We also propose to add a freeform com.sun:auto-snapshot-desc user property, which could be used to describe the event. For the existing snapshot service, we will describe missed snapshots with the value 'Missed snapshot' eg. # zfs set com.sun:auto-snapshot:event=true rpool/timf # svc:/system/filesystem/zfs/auto-snapshot:event # /lib/svc/method/zfs-auto-snapshot svc:/system/filesystem/zfs/auto-snapshot:event "Tim's homedir backup" # zfs set com.sun:auto-snapshot:event=true rpool/smbshares # /lib/svc/method/zfs-auto-snapshot svc:/system/filesystem/zfs/auto-snapshot:event "Samba connect"
Fixed in changeset: 40:583090881a61 tag: tip user: Tim Foster <tim.foster@sun.com> date: Tue Jun 23 13:51:59 2009 +0100 description: 9595 Would like com.sun:auto-snapshot:event service