9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Francisco J Ballesteros" <nemo@lsub.org>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] fs(3), venti, raid, and more
Date: Wed, 21 Mar 2007 08:10:51 +0100	[thread overview]
Message-ID: <8ccc8ba40703210010x6a3d7e68xecb2b60db63bc02c@mail.gmail.com> (raw)
In-Reply-To: <9ab217670703201912x66b526a0v261848b98c3e0304@mail.gmail.com>

for 1, yes, but dont forget the ctl. It´s outside of the mirror interface.
I always made partitions by hand, then set up mirror.

devfs does not update one disk from another AFAIK, only that writes go to
both disks. Thus, to add another disk, partition, copy by hand (while the
original is idle) and reconfigure as a mirror for four.

regarding export you can do it by, for example, starting a venti. In principle,
you can export the raw fs device using import from another machine, but I don´t
know how slow that would be.

hth

On 3/21/07, Devon H. O'Dell <devon.odell@gmail.com> wrote:
> Hey.
>
> I'm setting up a fileserver. Right now I have 2 250GB disks in it,
> that I would like to mirror. I don't particularly care to mirror
> single partitions. I want the whole damn thing to be mirrored, and
> when anything happens to it, on any partition, it should be synced
> between the two.
>
> I'm lead to believe that this is possible by using fs(3). I've put:
>
> mirror rootmirror /dev/sdC0/data /dev/sdD0/data
>
> into /dev/fs/ctl, and put this into a partition accessible through
> /dev/sdC0/fscfg
>
> #1) Is fs supposed to sync data from sdC0 to sdD0? If so, shouldn't
> sdD0 have all the partitions of sdC0 at some point?
>
> #2) Later, when I add another 2 drives, I'll want to mirror them and
> add them to available storage. What's the easiest way to do this?
>
> #3) Which manpages should I read for info on exporting the storage
> pools to other good citizens on my network?
>
> Thanks,
>
> Devon
>
>

  reply	other threads:[~2007-03-21  7:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-21  2:12 Devon H. O'Dell
2007-03-21  7:10 ` Francisco J Ballesteros [this message]
2007-03-21  9:11 ` Steve Simon
2007-03-21 11:08 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=8ccc8ba40703210010x6a3d7e68xecb2b60db63bc02c@mail.gmail.com \
    --to=nemo@lsub.org \
    --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).