9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Steven Stallion <sstallion@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] A potentially useful venti client
Date: Tue, 12 Dec 2017 15:02:46 -0600	[thread overview]
Message-ID: <CAGGHmKGPoRcTw3WtT1aSHa+R9snXGUJSYj4Bwid5sBnoKUiTaQ@mail.gmail.com> (raw)
In-Reply-To: <d6f4e5fcc45533c85194838839947b53@quintile.net>

I have a similar setup. On my file server I have a mirrored pair of
high-endurance SSDs tied together via devfs with two fossil file
systems: main and other. main is a 32GB write cache which is dumped
each night at midnight (this is similar to the labs configuration for
sources). other is the remaining 96GB for data that doesn't need to
survive if both SSDs happen to fail at the same time.

My venti store is run on a large Linux machine (~6TB of RAID6 storage)
and is served via plan9port. Another highly recommended setup is if
you happen to have a Coraid EtherDrive (I'm biased towards the SRX
line) this make fantastic stores via the magic of AoE. Unfortunately I
don't have the rack space, otherwise I'd be using one of those
instead.

If you're curious about the venti-on-linux setup, I have some scripts
and a README posted on sources:
https://9p.io/magic/webls?dir=/sources/contrib/stallion/venti

Somewhat more recently, I wrote a collectd client for plan9 and I also
monitor my file server using nagios. If there's any interest, I'd be
happy to post those sources as well.

Cheers,
Steve

On Tue, Dec 12, 2017 at 2:15 PM, Steve Simon <steve@quintile.net> wrote:
> Re: fossil
>
> Fossil must not fill up, however I would say that the dropoff was the lack of clear
> documentation stating this.
>
> Fossil has two modes of operation.
>
> As a stand alone filesystem, not really intented (I believe) as a production
> system, more as a replacement for kfs - for laptops or installation systems.
>
> A full fossil system is when it is combined with a local venti (venti on the same
> machine or on a fast, low latency network connection). Here most files are pulled
> from venti (in the limit fossil only contains a single score which redirects the root
> of the filesystem to a venti score. However as you change files the new version
> is stored on fossil.
>
> Every night aty 4 or 5 am (by convention) fossil does a snap, bumps it epoch which
> marks all the changed files as readonly and further changes creates a new file.
> The readonly files are then written to venti in the background and their space in fossil
> reclaimed.
>
> This means the fossil only needs to be big enough to contain all the changes you
> are likely to make in a day - in reality 10Gb or fossil will never fill up unless
> you decide to archive your entire dvd collection on the same day.
> I have been running fossil and venti since 2004. Fossil did have problems doing
> ephemerial dumps (short lived dumps every 15 mins which live for a few days).
> This bug used to cause occasional fossil crashes but venti never lost a byte.
>
> The bug was fixed before the labs froze and fossil has been solid since.
>
> I used an ssd for venti which helps its performance, though even with this it will
> never match liniux filesystem performance (cwfs may well do better), but I know it
> and its fast enough for me for now.
>
> -Steve
>



  parent reply	other threads:[~2017-12-12 21:02 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-12  9:33 Ole-Hjalmar Kristensen
2017-12-12 14:07 ` Steve Simon
2017-12-12 15:45   ` Steven Stallion
2017-12-12 16:11     ` Steve Simon
2017-12-12 16:23       ` Steven Stallion
2017-12-12 18:42     ` Ole-Hjalmar Kristensen
2017-12-12 19:16       ` Steven Stallion
2017-12-12 20:31         ` hiro
2017-12-12 23:36         ` Skip Tavakkolian
2017-12-13 10:17           ` Bakul Shah
2017-12-12 18:33   ` Ole-Hjalmar Kristensen
2017-12-12 19:53     ` Steve Simon
2017-12-12 20:03       ` Steve Simon
2017-12-12 20:07       ` Ole-Hjalmar Kristensen
2017-12-12 20:15     ` Steve Simon
2017-12-12 20:31       ` Ole-Hjalmar Kristensen
2017-12-12 20:38         ` Steve Simon
2017-12-12 21:40           ` Ole-Hjalmar Kristensen
2017-12-13  0:03             ` Steve Simon
2017-12-13  7:29               ` Ole-Hjalmar Kristensen
2017-12-13  9:44                 ` hiro
2017-12-13 11:00                 ` Steve Simon
2017-12-13 12:22                   ` Richard Miller
2017-12-13 14:13                     ` Ole-Hjalmar Kristensen
2017-12-13 13:37                   ` Ole-Hjalmar Kristensen
2017-12-12 21:02       ` Steven Stallion [this message]
2017-12-12 21:55         ` Ole-Hjalmar Kristensen

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=CAGGHmKGPoRcTw3WtT1aSHa+R9snXGUJSYj4Bwid5sBnoKUiTaQ@mail.gmail.com \
    --to=sstallion@gmail.com \
    --cc=9fans@9fans.net \
    /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).