9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ole.hjalmar.kristensen@gmail.com (Ole-Hjalmar Kristensen)
Subject: [9fans] Do you use fossil or venti under Linux?
Date: Wed,  7 Jun 2017 09:55:24 +0200	[thread overview]
Message-ID: <CAHqDL_-ZPpHBLuw3uhXYS2sudZLjOS=G7+5qk02UeXH9wuVk6Q@mail.gmail.com> (raw)
In-Reply-To: <CAPd04b58sYnemZL86TwDBA0M5sC_2rMo3O=Cqz9vk4RByu-CMw@mail.gmail.com>

Yes, I have been running a venti at home for some years, and a much smaller
one at work. The venti at home has about 2Tb of data and runs on the linux
machine which I uses as a SMB file server, and the file server uses the
venti for backup. In addition, various laptops also use the same venti for
backup. At work, I back up my home directory every night, simply because it
is much less hassle than going through the sysadmins if I need to restore
somthing. Saved my ass many times. I originally ran the venti at work on my
Solaris desktop machine, but had to move it to another (linux) machine
after the constant update of the venti index threatened to destroy my SSD
disk... It sure was fast, though.

I have only played around with fossil a bit, both on linux and on a 9front
machine. My intention was to eventually replace the SMB server with a
fossil server, but I do not like the fact that fossil crashes if you fill
up its write buffer on disk. So I would have to fix that first by making it
block and start a dump to venti if it get close to the capacity.

Another thing with fossil that irks me is that the file formats for fossil
and vac (which I use for backup) seem to have diverged. This is
unfortunate, otherwise I could easily experiment with switching from my SMB
server to a fossil server by initializing the fossil file system from a vac
score. (Yes, I know that I would be missing  /archive, but I could always
make a new fossil command to initialize a directory from a given score
after having initialized a fossil file system)

Snipped from vac/file.c

* Fossil generates slightly different vac files, due to a now
 * impossible-to-change bug, which contain a VtEntry
 * for just one venti file, that itself contains the expected
 * three directory entries.  Sigh.

I cannot see why the bug is impossible to change if I do not need backwards
compatibility, though.

Ole-Hj.

On Tue, Jun 6, 2017 at 11:39 PM, James A. Robinson <jim.robinson at gmail.com>
wrote:

> While I was playing around getting v9fs mounts to work, I see that
> plan9port has added fossil and venti at some point.  I was curious whether
> or not anyone was actually running these under Linux?
>
> Jim
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.9fans.net/private/9fans/attachments/20170607/cf563c66/attachment.html>


      parent reply	other threads:[~2017-06-07  7:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-06 21:39 James A. Robinson
2017-06-06 21:48 ` Steven Stallion
2017-06-06 22:51 ` Juan Céspedes
2017-06-07  7:55 ` Ole-Hjalmar Kristensen [this message]

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='CAHqDL_-ZPpHBLuw3uhXYS2sudZLjOS=G7+5qk02UeXH9wuVk6Q@mail.gmail.com' \
    --to=ole.hjalmar.kristensen@gmail.com \
    /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).