linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is it necessary to balance a btrfs raid1 array?
@ 2014-09-10 12:27 Bob Williams
  2014-09-10 13:06 ` Austin S Hemmelgarn
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Bob Williams @ 2014-09-10 12:27 UTC (permalink / raw)
  To: linux-btrfs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have two 2TB disks formatted as a btrfs raid1 array, mirroring both
data and metadata. Last night I started

# btrfs filesystem balance <path>

and it is still running 18 hours later. This suggests that most stuff
only gets written to one physical device, which in turn suggests that
there is a risk of lost data if one physical device fails. Or is there
something clever about btrfs raid that I've missed? I've used linux
software raid (mdraid) before, and it appeared to write to both
devices simultaneously.

Is it safe to interrupt [^Z] the btrfs balancing process?

As a rough guide, how often should one perform

a) balance
b) defragment
c) scrub

on a btrfs raid setup?

Bob
- -- 
Bob Williams
System:  Linux 3.11.10-21-desktop
Distro:  openSUSE 13.1 (x86_64) with KDE Development Platform: 4.14.0
Uptime:  06:00am up 5 days 15:04, 4 users, load average: 1.94, 2.21, 2.36
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlQQQ6wACgkQ0Sr7eZJrmU5WlwCfd+OcuqFoz/vYSZEHg+5zNwlo
oTQAn2ZKhx4gCdQIy0gl9EBb8XXVJu1G
=2GSh
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2014-09-11 11:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-10 12:27 Is it necessary to balance a btrfs raid1 array? Bob Williams
2014-09-10 13:06 ` Austin S Hemmelgarn
2014-09-10 13:48   ` Rich Freeman
2014-09-10 14:41     ` Austin S Hemmelgarn
2014-09-10 17:44   ` Bob Williams
2014-09-10 18:43 ` Goffredo Baroncelli
2014-09-10 19:32   ` Sean Greenslade
2014-09-10 22:28     ` Goffredo Baroncelli
2014-09-11  1:25       ` Sean Greenslade
2014-09-11  3:51         ` Zygo Blaxell
2014-09-11  4:23           ` Sean Greenslade
2014-09-11  6:55           ` Duncan
2014-09-11  9:56   ` Bob Williams
2014-09-11 11:10     ` Duncan
2014-09-11  4:30 ` Zygo Blaxell
2014-09-11  9:08   ` Bob Williams

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).