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

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 > > > May be that I am missing something obvious, howev

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

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

2014-09-10 Thread Duncan
Zygo Blaxell posted on Wed, 10 Sep 2014 23:51:19 -0400 as excerpted: > Spinning disks stop being able to position their heads properly around > -10C or so, a fact that will be familiar to anyone who's tried to use a > laptop outside in winter. Depends on where that winter is. Here in Phoenix, sn

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 > > and it is still running 18 hours later. This suggests that most stuff > only gets wri

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 i

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

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

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 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 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 May be that I am missing something obvious, however I have to ask which would be the purpose to balance a

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 >> > In gen

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 > 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 i

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 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 relatively small, exce

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 > In general, unless things are really bad, you don't ever want to use balance on such a big filesystem withou

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 and it is still running 18 hours later. This suggests that most stuff only gets written to one physical device,