Re: Is it necessary to balance a btrfs raid1 array?

2014-09-11 Thread Bob Williams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/09/14 05:30, Zygo Blaxell wrote: On Wed, Sep 10, 2014 at 01:27:36PM +0100, Bob Williams wrote: I have two 2TB disks formatted as a btrfs raid1 array, mirroring both data and metadata. Last night I started # btrfs filesystem balance path

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-11 Thread Bob Williams
On 10/09/14 19:43, Goffredo Baroncelli wrote: On 09/10/2014 02:27 PM, Bob Williams wrote: I have two 2TB disks formatted as a btrfs raid1 array, mirroring both data and metadata. Last night I started # btrfs filesystem balance path May be that I am missing something obvious, however I

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-11 Thread Duncan
Bob Williams posted on Thu, 11 Sep 2014 10:56:14 +0100 as excerpted: So if a RAID1/two disk system uses the disks symmetrically, why did my balance command take 22 hours? That's what puzzles me, as my understanding of RAID1 is that the disk use *is* symmetrical. What you're missing is what

Is it necessary to balance a btrfs raid1 array?

2014-09-10 Thread Bob Williams
-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

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-10 Thread Austin S Hemmelgarn
On 2014-09-10 08:27, Bob Williams wrote: I have two 2TB disks formatted as a btrfs raid1 array, mirroring both data and metadata. Last night I started # btrfs filesystem balance path In general, unless things are really bad, you don't ever want to use balance on such a big filesystem

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-10 Thread Rich Freeman
On Wed, Sep 10, 2014 at 9:06 AM, Austin S Hemmelgarn ahferro...@gmail.com wrote: Normally, you shouldn't need to run balance at all on most BTRFS filesystems, unless your usage patterns vary widely over time (I'm actually a good example of this, most of the files in my home directory are

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-10 Thread Austin S Hemmelgarn
On 2014-09-10 09:48, Rich Freeman wrote: On Wed, Sep 10, 2014 at 9:06 AM, Austin S Hemmelgarn ahferro...@gmail.com wrote: Normally, you shouldn't need to run balance at all on most BTRFS filesystems, unless your usage patterns vary widely over time (I'm actually a good example of this, most

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-10 Thread Bob Williams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/09/14 14:06, Austin S Hemmelgarn wrote: On 2014-09-10 08:27, Bob Williams wrote: I have two 2TB disks formatted as a btrfs raid1 array, mirroring both data and metadata. Last night I started # btrfs filesystem balance path In general,

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-10 Thread Goffredo Baroncelli
On 09/10/2014 02:27 PM, Bob Williams wrote: I have two 2TB disks formatted as a btrfs raid1 array, mirroring both data and metadata. Last night I started # btrfs filesystem balance path May be that I am missing something obvious, however I have to ask which would be the purpose to balance

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-10 Thread Sean Greenslade
On Wed, Sep 10, 2014 at 08:43:25PM +0200, Goffredo Baroncelli wrote: May be that I am missing something obvious, however I have to ask which would be the purpose to balance a two disks RAID1 system. The balance command should move the data between the disks in order to avoid some disk full

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-10 Thread Goffredo Baroncelli
On 09/10/2014 09:32 PM, Sean Greenslade wrote: On Wed, Sep 10, 2014 at 08:43:25PM +0200, Goffredo Baroncelli wrote: May be that I am missing something obvious, however I have to ask which would be the purpose to balance a two disks RAID1 system. The balance command should move the data

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-10 Thread Sean Greenslade
On Thu, Sep 11, 2014 at 12:28:56AM +0200, Goffredo Baroncelli wrote: The WD datasheet says something different. It reports Non-recoverable read errors per bits read less than 1/10^14. They express the number of error in terms of number of bit reading. You instead are saying that the error

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-10 Thread Zygo Blaxell
On Wed, Sep 10, 2014 at 09:25:17PM -0400, Sean Greenslade wrote: On Thu, Sep 11, 2014 at 12:28:56AM +0200, Goffredo Baroncelli wrote: The WD datasheet says something different. It reports Non-recoverable read errors per bits read less than 1/10^14. They express the number of error in

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-10 Thread Sean Greenslade
On Wed, Sep 10, 2014 at 11:51:19PM -0400, Zygo Blaxell wrote: This is a complex topic. I agree, and I make no claim to be an expert in any of this. Some disks have bugs in their firmware, and some of those bugs make the data sheets and most of this discussion entirely moot. The firmware is

Re: Is it necessary to balance a btrfs raid1 array?

2014-09-10 Thread Zygo Blaxell
On Wed, Sep 10, 2014 at 01:27:36PM +0100, Bob Williams wrote: 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