9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Devon H. O'Dell" <devon.odell@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Update on Fossil+Venti Stuff
Date: Fri, 23 Mar 2007 01:17:40 -0400	[thread overview]
Message-ID: <9ab217670703222217y2c70638cob8464bef493b4e9@mail.gmail.com> (raw)
In-Reply-To: <9af9f7ac925b7473a4a1759d743f31fd@hamnavoe.com>

2007/3/22, Richard Miller <9fans@hamnavoe.com>:
> Devon - don't panic ;)

Trying not to. I'm just really confused, and the sentiment seems to be
``WTF is wrong with you, it's plainly obvious how this works.'' But
from what everyone says, it's not working that way for me.

> The caveat is that blocks are archived to venti only when a snapshot
> is made (either periodically as scheduled by the snaptime command
> in fossilcons(8), or on request by the 'snap -a' command).  So if
> the fossil partition fills with dirty (new or modified) blocks in
> between snapshots, bad things happen.
>
> Say you have a 4GB fossil partition.  If you have snaptime set to
> take archival snapshots once a day, you can go on copying new mp3s
> to your fossil fs, without deleting anything, provided you never copy
> in more than 4GB per day.  If you're impatient, you can copy 4GB,
> do a 'snap -a', copy another 4GB and so on.  (The copying of snapshot
> blocks will go on in the background, so the 'snap' only freezes the
> fs very briefly.)

I'm confused then. When I type snap -a, and then run fsys main df in
fossilcons, I'm only noticing the usage going down by about 2GB/day.
If I run snap -a, wait a bit, and then run fsys main df, I notice no
change in disk usage.

> If your fossil is getting "fuller and fuller", are you sure you
> have set it up to take periodic snapshots?  You can check like this:
>
> % con -l /srv/fscons
> prompt: fsys main snaptime
>     snaptime -a 0000 -s 60 -t 1440

Yep:

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?

--dho

> -- Richard
>
>


  reply	other threads:[~2007-03-23  5:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-21 20:17 Devon H. O'Dell
2007-03-21 21:02 ` Martin Neubauer
2007-03-21 21:05 ` erik quanstrom
2007-03-21 21:24 ` Bakul Shah
2007-03-22 10:04 ` Richard Miller
2007-03-23  5:17   ` Devon H. O'Dell [this message]
2007-03-23  6:14     ` Martin Neubauer
2007-03-23  6:27       ` Devon H. O'Dell
2007-03-23  6:54         ` Martin Neubauer
2007-03-23 14:24           ` David Leimbach
2007-03-23 15:04             ` Devon H. O'Dell
2007-03-23 15:10               ` Richard Miller
2007-03-23 15:29                 ` Devon H. O'Dell
2007-03-23 15:39                   ` Richard Miller
2007-03-23 15:47                     ` Devon H. O'Dell
2007-03-23 19:23                     ` Steve Simon
2007-03-23 15:47                   ` Richard Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9ab217670703222217y2c70638cob8464bef493b4e9@mail.gmail.com \
    --to=devon.odell@gmail.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).