9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Akshat Kumar <akumar@mail.nanosouffle.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] fs(3) for pseudo partitions
Date: Sun, 10 Jul 2011 19:56:51 -0700	[thread overview]
Message-ID: <CABwSpPC9vsKJ4W0V8DzJ4r0WDmV_Yg8OzD+so6ah=rGQXev35g@mail.gmail.com> (raw)

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.


Thanks,
ak



             reply	other threads:[~2011-07-11  2:56 UTC|newest]

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

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='CABwSpPC9vsKJ4W0V8DzJ4r0WDmV_Yg8OzD+so6ah=rGQXev35g@mail.gmail.com' \
    --to=akumar@mail.nanosouffle.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).