9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Update on Fossil+Venti Stuff
Date: Thu, 22 Mar 2007 10:04:20 +0000	[thread overview]
Message-ID: <9af9f7ac925b7473a4a1759d743f31fd@hamnavoe.com> (raw)
In-Reply-To: <9ab217670703211317o1958d9b3u647f6ac4fac758cd@mail.gmail.com>

Devon - don't panic ;)

> that files have to be deleted from Fossil before they'll end up in
> Venti.

No, it's the other way round.  A file's blocks can be deleted from
fossil (automatically) after they have been archived to Venti,
provided they haven't been modified since.  The file's metadata
will remain on fossil.

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.)

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

-- Richard



  parent reply	other threads:[~2007-03-22 10:04 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 [this message]
2007-03-23  5:17   ` Devon H. O'Dell
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=9af9f7ac925b7473a4a1759d743f31fd@hamnavoe.com \
    --to=9fans@hamnavoe.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).