Well, I could just use the same script to create my daily snapshot to
remove a snapshot with the same prefix, just different date (say, keep
30 days only or something)

My hope was to just keep a running archive indefinitely. But I guess
snapshots are only as good as needed, and I doubt I will realize I
need a file I lost 6+ months ago...

On Mon, Mar 9, 2009 at 11:49 AM, Richard Morris - Sun Microsystems -
Burlington United States <richard.mor...@sun.com> wrote:
> On 03/08/09 23:16, Blake wrote:
>
> I think it's filesystems, not snapshots, that take a long time to
> enumerate.  (If I'm wrong, somebody correct me :)
>
> The time needed to iterate through the same number of snapshots and
> filesystems should be about the same.  However, whenever any of the
> ZFS filesystems or snapshots to be listed are not already cached in
> memory, then it does take time for zfs list to load them from disk.
> However, some prefetching has been added to help speed this up.
>
> No extra time is needed to boot a system with thousands of filesystems
> or snapshots.  However, ZFS mounts filesystems by default and it does
> take time for thousands of filesystems to be mounted.  Changes have
> been made to speed this up by reducing the number of mnttab lookups.
>
> And zfs list has been changed to no longer show snapshots by default.
> But it still might make sense to limit the number of snapshots saved:
> http://blogs.sun.com/timf/entry/zfs_automatic_snapshots_0_10
>
> -- Rich
>
> On Sun, Mar 8, 2009 at 10:10 PM, mike <mike...@gmail.com> wrote:
>
>
> I do a daily snapshot of two filesystems, and over the past few months
> it's obviously grown to a bunch.
>
> "zfs list" shows me all of those.
>
> I can change it to use the "-t" flag to not show them, so that's good.
> However, I'm worried about boot times and other things.
>
> Will it get to a point with 1000's of snapshots that it takes a long
> time to boot, or do any sort of sync or scrub activities?
>
> Thanks :)
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
>
>
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>
>
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to