9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: John Floren <john@jfloren.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] HELP: recoving important header file rudely clobbered by mk
Date: Sat, 29 Jan 2011 20:07:56 -0800	[thread overview]
Message-ID: <AANLkTikGc8-ZLjxfGBqm4qZ=qfa71g3o4Ae=hW73TRsu@mail.gmail.com> (raw)
In-Reply-To: <86hbcrfawn.fsf@cmarib.ramside>

On Sat, Jan 29, 2011 at 5:16 PM,  <smiley@zenzebra.mv.com> wrote:
> "Steve Simon" <steve@quintile.net> writes:
>
>> is this native plan9, p9p, or 9vx?
>
> I'm running the stock 386 distribution, on a real hard drive on real
> hardware.  I figured learning a new OS would be simpler without having
> to think about what's virtual versus what's real, versus what's Linux.
>
>> do you definitely have fossil and venti running?
>
> I have no idea.  I just chose the default installation options,
> installing from the CD following the install instructions.  As far as I
> know, "Venti" is a volcano in Italy.
>

In that case, you'll only have Fossil installed.

>> a missing archive/main looks like you don't
>> have archival dumps enabled in fossil.conf?
>
> Oops, s|archive/main|main/archive|
>
>> perhaps you have snapshots enabled?
>
> I know I have "fossil".  I didn't know "dump" and "snapshots" were two
> different things.  Are there any docs that describe these file systems
> in language a newbie has a snowball's chance in Inferno of
> understanding?  The man pages for Plan 9 file systems all seem rather
> opaque... i.e., "cached-worm file system"?
>

Fossil is the "front-end" filesystem. You can run it alone. It can be
configured to take snapshots at regular intervals (I like every 15
minutes, check the fossilcons man page for how to set it up) which
eventually (typically after a few days) expire and are cleared. Venti
is the archival storage; if Venti is present, Fossil will try to make
an archival dump to Venti every morning. The dump is basically a
snapshot, except it's permanent. One side effect is that when a dump
happens, data on Fossil gets replaced with a pointer to a block in
Venti, clearing up your Fossil partition. For that reason, I typically
only allocate a few gigabytes to Fossil and all the rest of the disk
to Venti.

The cached-worm filesystem, cwfs, is related to the old filesystem.
The same goes for "fs" (in many cases, for example the man page
fs(4)), "cwfs", "worm", "kfs", or "kenfs". Erik Quanstrom still uses
kenfs, and based on his positive experiences with it some others have
been experimenting with it as well. However, kenfs requires its own
dedicated machine and is a bit tougher to set up.

I've continually meant to write some sort of beginners-level summary
of the system including things like Fossil and Venti, but the
magnitude of the task is daunting. I may try to do a more clear
description of how the filesystems work together in the near future.

>> what happens if you run 9fs snap?
>
> The mount succeeds, but /n/snap is empty.
>

I don't remember for sure, but it's possible that Fossil doesn't get
configured to take snapshots when Venti isn't installed, for space
reasons. If you can run "fossil/conf /dev/sdC0/fossil" and post the
results here, we'll be able to tell, or you can run the command and
examine the results for yourself based on the fossilcons man page.

If you haven't spent too much time configuring your system, or put too
much on it that cannot be backed up, and if you have a large enough
disk (20 GB should be plenty unless you're storing large files or
music/video), you might want to try re-installing and choosing the
fossil+venti option. This will give you the archival dump storage,
which can be really nice.

John



  reply	other threads:[~2011-01-30  4:07 UTC|newest]

Thread overview: 153+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-29 22:47 smiley
2011-01-29 22:54 ` erik quanstrom
2011-01-29 22:58 ` Steve Simon
2011-01-30  1:16   ` smiley
2011-01-30  4:07     ` John Floren [this message]
2011-01-30  4:49       ` erik quanstrom
2011-01-30  4:56         ` John Floren
2011-02-01  6:22       ` smiley
2011-02-01  6:47         ` Federico G. Benavento
2011-02-01  6:54           ` John Floren
2011-01-29 23:24 ` [9fans] RESOLVED: " smiley
2011-01-29 23:41   ` Steve Simon
2011-01-30 14:19     ` [9fans] RESOLVED: recoving important header file rudely Richard Miller
2011-01-30 14:28       ` erik quanstrom
2011-01-31 18:02       ` smiley
2011-01-31 22:12         ` Steve Simon
2011-02-01  6:02           ` smiley
2011-02-01  6:26             ` Lucio De Re
2011-02-01  7:07               ` smiley
2011-02-01  7:22                 ` Lucio De Re
2011-02-01 13:45                 ` erik quanstrom
2011-02-01 16:24                 ` Charles Forsyth
2011-02-01  6:45             ` ron minnich
2011-02-01 17:51               ` smiley
2011-02-01 18:33                 ` ron minnich
2011-02-01 19:16                   ` jimmy frasche
2011-02-02  0:28                   ` smiley
2011-02-02  0:42                     ` erik quanstrom
2011-02-02  0:47                     ` ron minnich
2011-02-02  5:14                       ` [9fans] Modern development language for Plan 9, WAS: " smiley
2011-02-02  5:37                         ` Scott Sullivan
2011-02-02  5:38                         ` EBo
2011-02-02 15:54                           ` Anthony Sorace
2011-02-02 12:54                         ` erik quanstrom
2011-02-02 13:48                           ` Devon H. O'Dell
2011-02-02 17:47                           ` David Leimbach
2011-02-02 17:53                             ` erik quanstrom
2011-02-02 18:07                             ` tlaronde
2011-02-02 18:26                               ` David Leimbach
2011-02-02 18:48                                 ` tlaronde
2011-02-02 19:26                                   ` Nick LaForge
2011-02-03  0:39                                 ` Charles Forsyth
2011-02-02 17:44                         ` David Leimbach
2011-02-02 17:50                           ` erik quanstrom
2011-02-02 18:15                             ` Jonathan Cast
2011-02-02 18:21                               ` erik quanstrom
2011-02-02 18:36                                 ` David Leimbach
2011-02-02 18:38                                   ` erik quanstrom
2011-02-02 18:46                                     ` David Leimbach
2011-02-02 19:15                                 ` Jonathan Cast
2011-02-02 19:31                                   ` erik quanstrom
2011-02-02 19:48                                     ` Jeff Sickel
2011-02-02 20:07                                     ` Jonathan Cast
2011-02-02 20:11                                       ` erik quanstrom
2011-02-02 20:22                                         ` Jonathan Cast
2011-02-02 18:21                             ` David Leimbach
2011-02-03 10:00                             ` [9fans] Modern development language for Plan 9, Greg Comeau
2011-02-02 18:03                           ` [9fans] Modern development language for Plan 9, WAS: Re: RESOLVED: recoving important header file rudely erik quanstrom
2011-02-02 18:30                             ` David Leimbach
2011-02-18  5:23                         ` ron minnich
2011-02-18  5:34                           ` Paul Lalonde
2011-02-18 13:29                             ` erik quanstrom
2011-02-18 13:45                               ` dexen deVries
2011-02-18 14:54                                 ` David Leimbach
2011-02-18 15:15                                 ` Devon H. O'Dell
2011-02-18 16:11                                   ` erik quanstrom
2011-02-18 16:28                                     ` Devon H. O'Dell
2011-02-18 16:49                                       ` erik quanstrom
2011-02-18 17:10                                         ` Devon H. O'Dell
2011-02-18 17:32                                           ` erik quanstrom
2011-02-18 17:44                                             ` ron minnich
2011-02-18 19:28                                               ` Devon H. O'Dell
2011-02-18 19:33                                                 ` erik quanstrom
2011-02-18 19:49                                                   ` Devon H. O'Dell
2011-02-18 18:43                                         ` Joseph Stewart
2011-02-18 17:05                                       ` andrey mirtchovski
2011-02-18 17:12                                         ` Devon H. O'Dell
2011-02-18 16:53                                   ` dexen deVries
2011-02-18 16:59                                     ` Devon H. O'Dell
2011-02-18 17:07                                       ` erik quanstrom
2011-02-18 17:11                                         ` Devon H. O'Dell
2011-02-18 17:21                                           ` erik quanstrom
2011-02-18 17:52                                             ` John Floren
2011-02-18 18:46                                               ` Rob Pike
2011-02-18 19:15                                                 ` Bakul Shah
2011-02-18 19:26                                                   ` erik quanstrom
2011-02-18 19:46                                                     ` Bakul Shah
2011-02-18 20:15                                                       ` erik quanstrom
2011-02-18 21:06                                                         ` John Floren
2011-02-18 22:21                                                           ` Bakul Shah
2011-02-18 23:39                                                             ` [9fans] Modern development language for Plan 9, Lyndon Nerenberg (VE6BBM/VE7TFX)
2011-02-19 10:26                                                             ` [9fans] Modern development language for Plan 9, WAS: Re: RESOLVED: recoving important header file rudely Steve Simon
2011-02-19 15:09                                                             ` erik quanstrom
2011-02-19 20:09                                                               ` Bakul Shah
2011-02-19 21:15                                                                 ` erik quanstrom
2011-02-20 23:49                                                                   ` Bakul Shah
2011-02-21 14:47                                                                     ` erik quanstrom
2011-02-19 16:57                                                             ` Skip Tavakkolian
2011-02-19 15:36                                                           ` erik quanstrom
2011-02-24 10:09                                                       ` [9fans] Modern development language for Plan 9, Greg Comeau
2011-02-18 19:35                                                   ` [9fans] Modern development language for Plan 9, WAS: Re: RESOLVED: recoving important header file rudely David Leimbach
2011-02-18 20:10                                                     ` Bakul Shah
2011-02-18 21:03                                                       ` ron minnich
2011-02-18 23:55                                                     ` Federico G. Benavento
2011-02-24 10:09                                                       ` [9fans] Modern development language for Plan 9, Greg Comeau
2011-02-18 19:15                                                 ` [9fans] Modern development language for Plan 9, WAS: Re: RESOLVED: recoving important header file rudely Devon H. O'Dell
2011-02-21  5:08                                                   ` smiley
2011-02-18 17:16                                         ` Russ Cox
2011-02-18 17:12                                       ` andrey mirtchovski
2011-02-19 10:34                                   ` Steve Simon
2011-02-19 17:25                                     ` dexen deVries
2011-02-02  4:19                 ` [9fans] " Federico G. Benavento
2011-02-02 19:15                   ` smiley
2011-02-02 21:47                     ` ron minnich
2011-02-03  3:35                       ` smiley
2011-02-03  4:32                         ` andrey mirtchovski
2011-02-03  6:15                         ` Lucio De Re
2011-02-03  7:54                         ` dexen deVries
2011-02-03  9:48                           ` Charles Forsyth
2011-02-03 13:01                             ` erik quanstrom
2011-02-03 13:40                               ` roger peppe
2011-02-03 13:59                                 ` erik quanstrom
2011-02-03 14:16                                   ` roger peppe
2011-02-03 14:17                                     ` erik quanstrom
2011-02-03 14:24                                       ` roger peppe
2011-02-03 14:38                                     ` Charles Forsyth
2011-02-03 18:45                         ` Skip Tavakkolian
2011-02-03 16:23                     ` Noah Evans
2011-02-01  8:25             ` Federico G. Benavento
2011-02-01  8:37             ` Akshat Kumar
2011-02-01  9:02               ` Federico G. Benavento
2011-02-01 14:11             ` erik quanstrom
     [not found]             ` <AANLkTimYW2wofCNn1WB09cTVrQ69QxjPMZqY=Qrri5Xi@mail.gmail.com>
     [not found]               ` <AANLkTikM+LcEzaHMjWoSGubNnzXx-5h_bprQcJsrGnnG@mail.gmail.com>
     [not found]                 ` <AANLkTim4mPBHv8R=2XwdWaBc_aPHyRjj_CbdkgC8KZbd@mail.gmail.com>
     [not found]                   ` <AANLkTi=9HkdLfNLFWxddDkHWC8w_uWKPEnWQ4r2gD7an@mail.gmail.com>
     [not found]                     ` <AANLkTikjYkyW75PLm8z65=1+gTLUZLxG-xcN9wkQVuPr@mail.gmail.com>
     [not found]                       ` <AANLkTimLMLsWWQtVPZwGb0qwFxjbpy05qVZHDv92LfYY@mail.gmail.com>
     [not found]                         ` <AANLkTimoXQLMpciQh_tLRfS5ht8ONFvqz2QXEC0td2G4@mail.gmail.com>
     [not found]                           ` <AANLkTimDXcriCuejuYZ2OixXVjoYckB-hcy9+FkMsjcS@mail.gmail.com>
     [not found]                             ` <AANLkTikmQuhyXh6qhgM4hgWK2N-EhebLkWtpf9OnUkx1@mail.gmail.com>
2011-02-01 17:20                               ` Jacob Todd
2011-02-01  6:54 ` [9fans] HELP: recoving important header file rudely clobbered by mk ron minnich
2011-02-01 14:49   ` erik quanstrom
2011-02-01 14:58     ` Eric Van Hensbergen
2011-02-01 15:18       ` erik quanstrom
2011-02-01 15:37         ` Eric Van Hensbergen
2011-02-01 15:45           ` erik quanstrom
2011-02-01 16:31             ` Eric Van Hensbergen
2011-02-01 16:45               ` erik quanstrom
2011-02-01 16:59                 ` ron minnich
2011-02-02  3:46                   ` Federico G. Benavento
2011-02-01 16:41     ` ron minnich
2011-02-01 16:25   ` Charles Forsyth
2011-02-01  7:01 ` Federico G. Benavento
2011-02-02 19:05   ` smiley
2011-02-03 10:16     ` [9fans] HELP: recoving important header file rudely clobbered Richard Miller
2011-02-03 10:24       ` dexen deVries
2011-02-03 10:27       ` dexen deVries
2011-02-03 10:23     ` Richard Miller
2011-02-03 10:37       ` roger peppe
2011-02-03 10:48         ` Lucio De Re

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='AANLkTikGc8-ZLjxfGBqm4qZ=qfa71g3o4Ae=hW73TRsu@mail.gmail.com' \
    --to=john@jfloren.net \
    --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).