Re: balancing every night broke balancing so now I can't balance anymore?

2017-05-15 Thread Austin S. Hemmelgarn
On 2017-05-15 04:14, Hugo Mills wrote: On Sun, May 14, 2017 at 04:16:52PM -0700, Marc MERLIN wrote: On Sun, May 14, 2017 at 09:21:11PM +, Hugo Mills wrote: 2) balance -musage=0 3) balance -musage=20 In most cases, this is going to make ENOSPC problems worse, not better. The reason for

Re: balancing every night broke balancing so now I can't balance anymore?

2017-05-15 Thread Lionel Bouton
Le 15/05/2017 à 10:14, Hugo Mills a écrit : > [...] >> As for limit= I'm not sure if it would be helpful since I run this >> nightly. Anything that doesn't get done tonight due to limit, would be >> done tomorrow? >I'm suggesting limit= on its own. It's a fixed amount of work > compared to

Re: balancing every night broke balancing so now I can't balance anymore?

2017-05-15 Thread Hugo Mills
On Sun, May 14, 2017 at 04:16:52PM -0700, Marc MERLIN wrote: > On Sun, May 14, 2017 at 09:21:11PM +, Hugo Mills wrote: > > > 2) balance -musage=0 > > > 3) balance -musage=20 > > > >In most cases, this is going to make ENOSPC problems worse, not > > better. The reason for doign this kind

Re: balancing every night broke balancing so now I can't balance anymore?

2017-05-14 Thread Marc MERLIN
On Sun, May 14, 2017 at 09:21:11PM +, Hugo Mills wrote: > > 2) balance -musage=0 > > 3) balance -musage=20 > >In most cases, this is going to make ENOSPC problems worse, not > better. The reason for doign this kind of balance is to recover unused > space and allow it to be reallocated.

Re: balancing every night broke balancing so now I can't balance anymore?

2017-05-14 Thread Lionel Bouton
Le 14/05/2017 à 23:30, Kai Krakow a écrit : > Am Sun, 14 May 2017 22:57:26 +0200 > schrieb Lionel Bouton : > >> I've coded one Ruby script which tries to balance between the cost of >> reallocating group and the need for it.[...] >> Given its current size, I should

Re: balancing every night broke balancing so now I can't balance anymore?

2017-05-14 Thread Kai Krakow
Am Sun, 14 May 2017 22:57:26 +0200 schrieb Lionel Bouton : > I've coded one Ruby script which tries to balance between the cost of > reallocating group and the need for it. The basic idea is that it > tries to keep the proportion of free space "wasted" by being

Re: balancing every night broke balancing so now I can't balance anymore?

2017-05-14 Thread Hugo Mills
On Sun, May 14, 2017 at 01:15:09PM -0700, Marc MERLIN wrote: > On Sun, May 14, 2017 at 09:13:35PM +0200, Hans van Kranenburg wrote: > > On 05/13/2017 10:54 PM, Marc MERLIN wrote: > > > Kernel 4.11, btrfs-progs v4.7.3 > > > > > > I run scrub and balance every night, been doing this for 1.5 years

Re: balancing every night broke balancing so now I can't balance anymore?

2017-05-14 Thread Kai Krakow
Am Sun, 14 May 2017 13:15:09 -0700 schrieb Marc MERLIN : > On Sun, May 14, 2017 at 09:13:35PM +0200, Hans van Kranenburg wrote: > > On 05/13/2017 10:54 PM, Marc MERLIN wrote: > > > Kernel 4.11, btrfs-progs v4.7.3 > > > > > > I run scrub and balance every night, been doing

Re: balancing every night broke balancing so now I can't balance anymore?

2017-05-14 Thread Lionel Bouton
Le 14/05/2017 à 22:15, Marc MERLIN a écrit : > On Sun, May 14, 2017 at 09:13:35PM +0200, Hans van Kranenburg wrote: >> On 05/13/2017 10:54 PM, Marc MERLIN wrote: >>> Kernel 4.11, btrfs-progs v4.7.3 >>> >>> I run scrub and balance every night, been doing this for 1.5 years on this >>> filesystem.

Re: balancing every night broke balancing so now I can't balance anymore?

2017-05-14 Thread Marc MERLIN
On Sun, May 14, 2017 at 09:13:35PM +0200, Hans van Kranenburg wrote: > On 05/13/2017 10:54 PM, Marc MERLIN wrote: > > Kernel 4.11, btrfs-progs v4.7.3 > > > > I run scrub and balance every night, been doing this for 1.5 years on this > > filesystem. > > What are the exact commands you run every

Re: balancing every night broke balancing so now I can't balance anymore?

2017-05-14 Thread Hans van Kranenburg
On 05/13/2017 10:54 PM, Marc MERLIN wrote: > Kernel 4.11, btrfs-progs v4.7.3 > > I run scrub and balance every night, been doing this for 1.5 years on this > filesystem. What are the exact commands you run every day? > But it has just started failing: > [...] > saruman:~# btrfs fi usage

Re: balancing every night broke balancing so now I can't balance anymore?

2017-05-14 Thread Duncan
Marc MERLIN posted on Sat, 13 May 2017 13:54:31 -0700 as excerpted: > Kernel 4.11, btrfs-progs v4.7.3 > > I run scrub and balance every night, been doing this for 1.5 years on > this filesystem. > But it has just started failing: > saruman:~# btrfs balance start -musage=0 /mnt/btrfs_pool1 >

balancing every night broke balancing so now I can't balance anymore?

2017-05-13 Thread Marc MERLIN
Kernel 4.11, btrfs-progs v4.7.3 I run scrub and balance every night, been doing this for 1.5 years on this filesystem. But it has just started failing: saruman:~# btrfs balance start -musage=0 /mnt/btrfs_pool1 Done, had to relocate 0 out of 235 chunks saruman:~# btrfs balance start -dusage=0