All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gert Menke <gert@menke.ac>
To: linux-btrfs@vger.kernel.org
Subject: Switch raid mode without rebalance?
Date: Thu, 25 Aug 2016 20:16:59 +0200	[thread overview]
Message-ID: <efe09b37f04cbc7754f6c6d84c9070f0@durkon.lan> (raw)

Hi,

I recently created a new btrfs on two disks - one 6TB, one 2TB - for 
temporary backup purposes.
It apparently defaulted to raid0 for data, and I didn't realize at the 
time that this would become a problem.
Now the 2TB is almost full, and df tells me I only have about 200GB of 
free space. Which makes sense, because raid0 spreads the data evenly on 
all disks.
However, I know that btrfs can have different raid modes on the same 
filesystem at the same time. So I was hoping I could just tell it to 
"switch to single mode for all new data", but I don't have a clue how to 
do that. I *could* rebalance, of course, but is that really necessary? 
How does btrfs find out which raid mode to use when writing new data?

Gert

             reply	other threads:[~2016-08-25 18:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25 18:16 Gert Menke [this message]
2016-08-25 18:26 ` Switch raid mode without rebalance? Justin Kilpatrick
2016-08-25 22:32   ` Gert Menke
2016-08-26 11:52     ` Austin S. Hemmelgarn
2016-08-26 19:53       ` Gert Menke
2016-08-25 19:50 ` Chris Murphy
2016-08-25 22:33   ` Gert Menke
2016-08-25 23:04     ` Chris Murphy
2016-08-26 19:18       ` Gert Menke
2016-08-26 20:31         ` Chris Murphy

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=efe09b37f04cbc7754f6c6d84c9070f0@durkon.lan \
    --to=gert@menke.ac \
    --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.