9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@coraid.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] fossil+venti backup question
Date: Thu, 29 Mar 2007 08:25:27 -0400	[thread overview]
Message-ID: <b44777dd1b72361428eb2271c886c7a2@coraid.com> (raw)
In-Reply-To: <460BABCB.3000105@enerla.net>

On Thu Mar 29 08:07:40 EDT 2007, bituman@enerla.net wrote:
> The servers gonna be on 2 UPSes on different power circuits, but ISP 
> staff seems to have a weird sense of humor, one time they simply pushed 
> the power button on one of our servers.
> The place is supposed to be as safe as possible, and i'd like to have 
> the data on mirrored raid discs.
> I am mostly worried about users deleting files etc..
> I need previous versions of files, and if the user by mistake deletes 
> them, then i should be able to restore them.

you can get sort-of mirrored raid with fs(3).  it will
behave differently from a typical raid device.
intraspection of the device and no degraded state.  also
if you have a mirror of [m0m1] and [m0] fails, then reads 
will work but writes will fail.  typical raid mirrors would
report success in both cases but the raid would be put
into a degraded state.  also there's no support for rebuilding
the mirror if you replace a disk.  you need to do that by
hand.

while it's a bit different than you may expect, it might
be fine for you.

i think you could run without venti on a mirror of 
cat'ed disks (fossil wants a single partition.) by setting
your snap time properly and allowing snapshots to
live for a relatively long time (100 days).  you could even 
periodicly take an archive with vac onto a venti, without
depending on venti for day-to-day operations.

your best bet is probablly fossil+venti.

- erik


  reply	other threads:[~2007-03-29 12:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-29 11:03 bituman
2007-03-29 11:11 ` Uriel
2007-03-29 11:47   ` erik quanstrom
2007-03-29 12:05     ` Heiko Dudzus
2007-04-18 12:11       ` Christian Kellermann
2007-03-29 11:22 ` erik quanstrom
2007-03-29 11:42   ` bituman
2007-03-29 11:56     ` erik quanstrom
2007-03-29 12:06       ` bituman
2007-03-29 12:25         ` erik quanstrom [this message]
2007-03-30  6:23 YAMANASHI Takeshi
2007-03-30  8:34 ` bituman
2007-03-30  8:45   ` Charles Forsyth
2007-03-30  7:52     ` Federico G. Benavento

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=b44777dd1b72361428eb2271c886c7a2@coraid.com \
    --to=quanstro@coraid.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).