From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 23 Mar 2007 07:54:18 +0100 From: Martin Neubauer To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Update on Fossil+Venti Stuff Message-ID: <20070323065418.GC19118@shodan.homeunix.net> References: <9ab217670703211317o1958d9b3u647f6ac4fac758cd@mail.gmail.com> <9af9f7ac925b7473a4a1759d743f31fd@hamnavoe.com> <9ab217670703222217y2c70638cob8464bef493b4e9@mail.gmail.com> <20070323061407.GB19118@shodan.homeunix.net> <9ab217670703222327r7fa24d9bydd174bb7b2e5af55@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9ab217670703222327r7fa24d9bydd174bb7b2e5af55@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Topicbox-Message-UUID: 2e8dc968-ead2-11e9-9d60-3106f5b1d025 * Devon H. O'Dell (devon.odell@gmail.com) wrote: > 2007/3/23, Martin Neubauer : > >* Devon H. O'Dell (devon.odell@gmail.com) wrote: > >> 10.0.0.10# con -l /srv/fscons > >> prompt: fsys main snaptime > >> snaptime -a 0500 -s 60 -t 2880 > >> > >> I should note that I've manually modified this to happen a few times a > >> day. Each time, my usage goes down a couple gigs. Why doesn't it just > >> go ahead and sync everything? > > > >It does sync everything active. There are probably still some intermediate > >snapshots there that are not written to venti. Those stay there until they > >expire after 2 days (2880 minutes). You can always do an explicit snapclean > >or try lowering the time snapshots are kept. > > I'm not disagreeing that this is supposed to happen, and I hate saying > it's wrong, but it's not what I'm seeing, and I don't see anything > invalid in my configuration. I can snap -a, and it won't go to venti. > I ran snapclean and nothing went down. After that, I changed the > snaptime so that it would run a Venti dump in 5 minutes. 10 minutes > later, I see no difference. For snaptime, -a means ``time when to take archival dump.'' So you probably just made fossil dump 5 minutes after midnight. -s sets the interval (in minutes) between intermediate snapshots, -t the time (in minutes) after which old snapshots are discarded. If a snapshot of a file is referenced as the current version but isn't yet written to venti it is kept until the next dump. > > So I'm either missing something fundamental here, something's really > broken, or I'm just dumb. I'm willing to concede the latter of the 3, > but it would be really nice to be enlightened. Is there anything I can > show you guys to help diagnose the issue further? If it helps, it took some time for me to get a grasp of the workings, too. (And I'm sure there are still plenty of pitfalls for me to run into...) Martin