9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] fs(3) for pseudo partitions
Date: Sun, 10 Jul 2011 23:05:22 -0400	[thread overview]
Message-ID: <aa932a2f326dde12bfb3f120e239ba27@ladd.quanstro.net> (raw)
In-Reply-To: <CABwSpPC9vsKJ4W0V8DzJ4r0WDmV_Yg8OzD+so6ah=rGQXev35g@mail.gmail.c>

On Sun Jul 10 22:58:01 EDT 2011, akumar@mail.nanosouffle.net wrote:
> For AoE reasons, I need to combine
> a mirror (of a partition of a disk and
> a whole disk) with another partition
> of a disk, in a way that the combination
> looks like a disk in itself.
>
> Has anyone tried such a thing with fs(3)?
> I have a mirror:
>
> mirror m0 /dev/sdD1/data /dev/sdC0/worm
>
> at /dev/fs/m0, and what I would like is
> a new pseudo device in fs(3) that joins
> /dev/fs/m0 and /dev/sdC0/kcache. But
> not simply as a `cat' of these two files,
> rather so that the resulting data file
> has the two as partitions.
>
> This way I don't need a ton of NICs and
> `vblade' instances for each drive/partition
> that I want to serve to my ken fs server.

there are several simple options
- write a little sd driver.  see sdloop(3) for
a prototype.

- modify vblade to serve multiple luns.

- erik



       reply	other threads:[~2011-07-11  3:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CABwSpPC9vsKJ4W0V8DzJ4r0WDmV_Yg8OzD+so6ah=rGQXev35g@mail.gmail.c>
2011-07-11  3:05 ` erik quanstrom [this message]
2011-07-11  5:30   ` Akshat Kumar
     [not found]   ` <CABwSpPC0Et4BWUYaa4Sb-iV00TSNFYXGkfJBN=CgPXvopPSWRQ@mail.gmail.c>
2011-07-11 15:09     ` erik quanstrom
2011-07-11  2:56 Akshat Kumar

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=aa932a2f326dde12bfb3f120e239ba27@ladd.quanstro.net \
    --to=quanstro@quanstro.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).