9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jerome Ibanes <jibanes@eskimo.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] venti...err 2: decompression gave partial block
Date: Mon, 26 Mar 2007 13:55:30 -0700	[thread overview]
Message-ID: <Pine.SUN.4.58.0703261341160.23921@eskimo.com> (raw)
In-Reply-To: <5104a1b5ff1326f6e22adaf210dad5da@coraid.com>

Folks,

I may have found the root cause, when I use a loopback "block device" both
Dom0 and DomU cache the metadata, and this affects Venti's initialization
somehow even if I increase the vfs_cache_pressure kernel tunnable. The
answer here is to use some real block devices (no loop0) to avoid this
caching issue and eventually, from time to time:

echo 3 > /proc/sys/vm/drop_caches

to wipe the metadata cache if you are using a loopback device for the
plan9 cdrom.

Since I've moved to real block devices, I can not repro this issue, which
is a satisfactory workaround.

Thank you for looking into this, if one has the same problem with Xen, I
strongly recommend to use gparted and create some block devices for plan 9
until linux is mature enough to disable metadata caching on loopback
devices, which doesn't appear to be the case as of today.

Jerome Ibanes

On Mon, 26 Mar 2007, erik quanstrom wrote:

> i've had this problem.  it came from not shutting
> down venti properly before reboot.  venti is very
> sensitive about this.  i haven't used venti in quite
> some time (kenfs is less sensitive) so i don't quite
> remember the solution. but there are some venti
> maintence commands that'll fix the problem.
>
> - erik
>
> On Mon Mar 26 09:02:25 EDT 2007, 9fans@hamnavoe.com wrote:
> > >  Task to do [fmtventi]:[enter]
> > >  Venti arena partitions to use [/dev/sd00/arenas]:[enter]
> > >  Venti index partitions to use [/dev/sd00/isect]:[enter]
> >
> > Did this step appear to work properly - no warnings or strange
> > messages?
> >
>

Jerome Ibanes <jibanes@eskimo.com>
Infrastructure Architect & Systems Network Security Administrator
PGP key fingerprint: 3FD68890 6D660FBE F92539EF 6F7BAC03 68151C51


      reply	other threads:[~2007-03-26 20:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-25 20:12 Jerome Ibanes
2007-03-26 12:57 ` Richard Miller
2007-03-26 13:24   ` erik quanstrom
2007-03-26 20:55     ` Jerome Ibanes [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=Pine.SUN.4.58.0703261341160.23921@eskimo.com \
    --to=jibanes@eskimo.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).