Re: [osol-discuss] about snapshot schedule

2010-04-02 Thread Harry Putnam
Oscar del Rio  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
> " 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 
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


Re: [osol-discuss] about snapshot schedule

2010-04-02 Thread Edward Ned Harvey
> 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
> " brings them back online.

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

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

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


Re: [osol-discuss] about snapshot schedule

2010-04-01 Thread Oscar del Rio

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 
" brings them back online.


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


[osol-discuss] about snapshot schedule

2010-04-01 Thread Harry Putnam
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

In fact this seems to be true in all the zfs file systems under
rpool. 

Far as I know my auto snapshot settings are what ever is the default.

But in the 2 other zpools I have; I see hourly and daily snapshots.

Am I just belatedly noticing what is the normal default or does this
indicate some kind of problem with snapshot settings on rpool?  

Seems like you would want hourly and daily snapshots on rpool for sure.

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