Oscar del Rio <del...@mie.utoronto.ca> writes:

> On 4/1/2010 5:35 PM, Harry Putnam wrote:
>> I'm seeing something in the */.zfs/snapshot  directories I hadn't
>> noticed before.  For example in /.zfs/snapshot
>>
>> There are only files with names like:
>>     zfs-auto-snap:frequent[...]
>>     zfs-auto-snap:weekly[...]
>>     zfs-auto-snap:monthly[...]
>>
>> No hourly or daily snapshots
>
> check "svcs -a | grep snap" to see if any of the snapshot services has
> failed and is in maintenance mode.  Sometimes a simple "svcadm clear
> <service-name>" brings them back online.

They're all online:
 online         Mar_12   svc:/system/filesystem/zfssnap-roleadd:default
 online         Mar_12   svc:/system/filesystem/zfs/auto-snapshot:monthly
 online         Mar_12   svc:/system/filesystem/zfs/auto-snapshot:frequent
 online         Mar_12   svc:/system/filesystem/zfs/auto-snapshot:weekly
 online         Mar_12   svc:/system/filesystem/zfs/auto-snapshot:daily
 online         Mar_12   svc:/system/filesystem/zfs/auto-snapshot:hourly


Edward Ned Harvey <solar...@nedharvey.com>
writes:

[...]

> Depending on how you installed autosnapshot, you might check root's crontab.

It was installed however a default install does it.
My last update was from b128 to b133... I didn't do anything special
regarding auto snapshot setup.

> Also, do this:
>       zfs get com.sun:auto-snapshot:hourly rpool
>       zfs get com.sun:auto-snapshot:daily rpool
>       zfs get com.sun:auto-snapshot:frequent rpool

Those show much of nothing:

  example:
 root # zfs get com.sun:auto-snapshot:hourly rpool
 NAME   PROPERTY                      VALUE              SOURCE
 rpool  com.sun:auto-snapshot:hourly  -                  -

However, I see the same output from zpools z2 and z3 but those pools
have recent hourly and daily snapshots on disk.

Far as I new, this is all that needed setting to have the defaults in
play:

   zfs get com.sun:auto-snapshot rpool
  NAME   PROPERTY               VALUE                  SOURCE
  rpool  com.sun:auto-snapshot  true                   local

And that is set the same for all zpools, still rpool is getting
different treatment than my 2 other zpools.

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to