From: Eric Wong <e@80x24.org>
To: linux-btrfs@vger.kernel.org
Subject: mixing raid1 and raid0?
Date: Sat, 25 Jul 2020 06:02:31 +0000 [thread overview]
Message-ID: <20200725055728.GA6238@dcvr> (raw)
Hey all, I've started using btrfs recently with old HDDs of
various sizes in a btrfs raid1 pool. It seems pretty good from
a flexibility and redundancy standpoint.
However, things like temporary files, caches, etc. don't need to
be raid1, and raid0 might allow me to reduce wear on HDDs; so
I'd like to make part of it raid0 while keeping most of it raid1.
If my btrfs is mounted as /mnt/btrfs, would the following do
what I want?
btrfs balance start -dconvert=raid1 -mconvert=raid1 /mnt/btrfs/precious
btrfs balance start -dconvert=raid0 -mconvert=raid0 /mnt/btrfs/junk
Or should I make a separate FS for temporary and disposable
raid0 data?
Thanks
next reply other threads:[~2020-07-25 6:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-25 6:02 Eric Wong [this message]
2020-07-25 6:10 ` mixing raid1 and raid0? Andrei Borzenkov
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=20200725055728.GA6238@dcvr \
--to=e@80x24.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.