All of lore.kernel.org
 help / color / mirror / Atom feed
* Balance is inexplicably dieing (repeatedly)
@ 2015-01-05 19:18 sys.syphus
  2015-01-05 19:36 ` Hugo Mills
  2015-01-05 21:18 ` Calvin Walton
  0 siblings, 2 replies; 4+ messages in thread
From: sys.syphus @ 2015-01-05 19:18 UTC (permalink / raw)
  To: linux-btrfs

I start it. I check it and its like 2% done
Several hours its stopped and the re-balance clearly didn't finish
because I can see one member of the array has a fraction of the usage
of the others. Dmesg shows no errors.

Thoughts? should start it again in the foreground with verbosity or
something? any logs i can check other than dmesg?


dmesg only shows similar to below

[342210.304169] BTRFS info (device dm-4): relocating block group ##### flags 17
[342219.191141] BTRFS info (device dm-4): found 129 extents
[342233.029425] BTRFS info (device dm-4): found 129 extents
[342235.434779] BTRFS info (device dm-4): relocating block group ##### flags 17
[342252.264736] BTRFS info (device dm-4): found 67 extents
[342266.630318] BTRFS info (device dm-4): found 67 extents

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

* Re: Balance is inexplicably dieing (repeatedly)
  2015-01-05 19:18 Balance is inexplicably dieing (repeatedly) sys.syphus
@ 2015-01-05 19:36 ` Hugo Mills
  2015-01-05 21:18 ` Calvin Walton
  1 sibling, 0 replies; 4+ messages in thread
From: Hugo Mills @ 2015-01-05 19:36 UTC (permalink / raw)
  To: sys.syphus; +Cc: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]

On Mon, Jan 05, 2015 at 01:18:20PM -0600, sys.syphus wrote:
> I start it. I check it and its like 2% done
> Several hours its stopped and the re-balance clearly didn't finish
> because I can see one member of the array has a fraction of the usage
> of the others. Dmesg shows no errors.

   How large are the devices in question?

   Hugo.

> Thoughts? should start it again in the foreground with verbosity or
> something? any logs i can check other than dmesg?
> 
> 
> dmesg only shows similar to below
> 
> [342210.304169] BTRFS info (device dm-4): relocating block group ##### flags 17
> [342219.191141] BTRFS info (device dm-4): found 129 extents
> [342233.029425] BTRFS info (device dm-4): found 129 extents
> [342235.434779] BTRFS info (device dm-4): relocating block group ##### flags 17
> [342252.264736] BTRFS info (device dm-4): found 67 extents
> [342266.630318] BTRFS info (device dm-4): found 67 extents

-- 
Hugo Mills             | What do you give the man who has everything?
hugo@... carfax.org.uk | Penicillin is a good start...
http://carfax.org.uk/  |
PGP: 65E74AC0          |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: Balance is inexplicably dieing (repeatedly)
  2015-01-05 19:18 Balance is inexplicably dieing (repeatedly) sys.syphus
  2015-01-05 19:36 ` Hugo Mills
@ 2015-01-05 21:18 ` Calvin Walton
  2015-01-06  2:55   ` sys.syphus
  1 sibling, 1 reply; 4+ messages in thread
From: Calvin Walton @ 2015-01-05 21:18 UTC (permalink / raw)
  To: sys.syphus; +Cc: linux-btrfs

On Mon, 2015-01-05 at 13:18 -0600, sys.syphus wrote:
> I start it. I check it and its like 2% done
> Several hours its stopped and the re-balance clearly didn't finish
> because I can see one member of the array has a fraction of the usage
> of the others. Dmesg shows no errors.
> 
> Thoughts? should start it again in the foreground with verbosity or
> something? any logs i can check other than dmesg?

It doesn't sound like anything is going wrong here, but to be sure can 
you please paste the output of `btrfs fi show` and `btrfs fi df` run 
on the filesystem mountpoint?

One thing to note is that Btrfs's "RAID1" mode isn't actually RAID1, 
but it rather writes only 2 copies of the data. If you have an odd 
number of disks, this will lead to having varying usages on different 
devices.

> dmesg only shows similar to below
> 
> [342210.304169] BTRFS info (device dm-4): relocating block group 
> ##### flags 17
> [342219.191141] BTRFS info (device dm-4): found 129 extents
> [342233.029425] BTRFS info (device dm-4): found 129 extents
> [342235.434779] BTRFS info (device dm-4): relocating block group 
> ##### flags 17
> [342252.264736] BTRFS info (device dm-4): found 67 extents
> [342266.630318] BTRFS info (device dm-4): found 67 extents
> --
> To unsubscribe from this list: send the line "unsubscribe linux-
> btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
Calvin Walton <calvin.walton@kepstin.ca>

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

* Re: Balance is inexplicably dieing (repeatedly)
  2015-01-05 21:18 ` Calvin Walton
@ 2015-01-06  2:55   ` sys.syphus
  0 siblings, 0 replies; 4+ messages in thread
From: sys.syphus @ 2015-01-06  2:55 UTC (permalink / raw)
  To: Calvin Walton; +Cc: linux-btrfs

I think you are correct. it has an odd number of members and its
raid1. the most recent addition only has half the capacity of the
others. that would appear to be by design.

On Mon, Jan 5, 2015 at 3:18 PM, Calvin Walton <calvin.walton@kepstin.ca> wrote:
> On Mon, 2015-01-05 at 13:18 -0600, sys.syphus wrote:
>> I start it. I check it and its like 2% done
>> Several hours its stopped and the re-balance clearly didn't finish
>> because I can see one member of the array has a fraction of the usage
>> of the others. Dmesg shows no errors.
>>
>> Thoughts? should start it again in the foreground with verbosity or
>> something? any logs i can check other than dmesg?
>
> It doesn't sound like anything is going wrong here, but to be sure can
> you please paste the output of `btrfs fi show` and `btrfs fi df` run
> on the filesystem mountpoint?
>
> One thing to note is that Btrfs's "RAID1" mode isn't actually RAID1,
> but it rather writes only 2 copies of the data. If you have an odd
> number of disks, this will lead to having varying usages on different
> devices.
>
>> dmesg only shows similar to below
>>
>> [342210.304169] BTRFS info (device dm-4): relocating block group
>> ##### flags 17
>> [342219.191141] BTRFS info (device dm-4): found 129 extents
>> [342233.029425] BTRFS info (device dm-4): found 129 extents
>> [342235.434779] BTRFS info (device dm-4): relocating block group
>> ##### flags 17
>> [342252.264736] BTRFS info (device dm-4): found 67 extents
>> [342266.630318] BTRFS info (device dm-4): found 67 extents
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-
>> btrfs" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
>
> --
> Calvin Walton <calvin.walton@kepstin.ca>

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

end of thread, other threads:[~2015-01-06  2:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-05 19:18 Balance is inexplicably dieing (repeatedly) sys.syphus
2015-01-05 19:36 ` Hugo Mills
2015-01-05 21:18 ` Calvin Walton
2015-01-06  2:55   ` sys.syphus

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.