All of lore.kernel.org
 help / color / mirror / Atom feed
* Issue with btrfs balance
@ 2014-02-10  2:33 Austin S Hemmelgarn
  2014-02-10 11:07 ` Imran Geriskovan
  2014-02-10 13:41 ` Brendan Hide
  0 siblings, 2 replies; 8+ messages in thread
From: Austin S Hemmelgarn @ 2014-02-10  2:33 UTC (permalink / raw)
  To: linux-btrfs

I just recently discovered something about btrfs filesystem balance that
(as far as I can see) isn't documented anywhere, and doesn't necessarily
have an obvious (to the average user) explanation.

Apparently, trying to use -mconvert=dup or -sconvert=dup on a
multi-device filesystem using one of the RAID profiles for metadata
fails with a statement to look at the kernel log, which doesn't show
anything at all about the failure.

Based on what I've been able to understand from the source, it appears
that the kernel stops you from converting to a dup profile for metadata
in this case because it thinks that such a profile doesn't work on
multiple devices, despite the fact that you can take a single device
filesystem, and a device, and it will still work fine even without
converting the metadata/system profiles.

I feel at the very least, this should be documented, and the kernel
should give at least some indication of what went wrong.  Ideally, this
should be changed to allow converting to dup so that when converting a
multi-device filesystem to single-device, you never have to have
metadata or system chunks use a single profile.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-02-14 17:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-10  2:33 Issue with btrfs balance Austin S Hemmelgarn
2014-02-10 11:07 ` Imran Geriskovan
2014-02-10 13:41 ` Brendan Hide
2014-02-10 14:08   ` Austin S Hemmelgarn
2014-02-14  3:42   ` Austin S. Hemmelgarn
2014-02-14  7:56     ` Brendan Hide
2014-02-14 16:13       ` Austin S Hemmelgarn
2014-02-14 17:30         ` [PATCH] Allow forced conversion of metadata to dup profile on multiple devices Austin S Hemmelgarn

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.