From: Tomasz Chmielewski <mangoo@wpkg.org>
To: linux-btrfs@vger.kernel.org
Subject: converting one-disk btrfs into RAID-1?
Date: Mon, 11 Oct 2010 14:11:47 +0200 [thread overview]
Message-ID: <4CB2FF03.8090608@wpkg.org> (raw)
Some Linux distributions started adding btrfs support in their
installers. Unfortunately, you can't specify your own mkfs.btrfs
parameters, so the best an installer can produce is a btrfs filesystem
made on one partition.
Is it possible to turn a 1-disk (partition) btrfs filesystem into RAID-1?
Suppose you have your / btrfs filesystem on /dev/vda3, and there is a
free /dev/vdb3 partition which you would like to use to have btrfs
RAID-1 - what are the options to set it up like this?
A command like:
btrfs device add /dev/vdb3 /
will, I suppose, simply make RAID-0 and double your available storage -
are there any options to make it RAID-1?
Or, will it be RAID-1 after I do:
btrfs filesystem balance /
?
--
Tomasz Chmielewski
http://wpkg.org
next reply other threads:[~2010-10-11 12:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-11 12:11 Tomasz Chmielewski [this message]
2010-10-11 17:06 ` converting one-disk btrfs into RAID-1? Chris Ball
2010-10-12 9:32 ` David Brown
2010-10-12 9:34 ` Tomasz Torcz
2010-10-12 9:49 ` Hugo Mills
2010-10-12 9:59 ` Tomasz Torcz
2010-10-12 12:19 ` David Brown
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=4CB2FF03.8090608@wpkg.org \
--to=mangoo@wpkg.org \
--cc=linux-btrfs@vger.kernel.org \
/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).