Linux-BTRFS Archive on lore.kernel.org
 help / color / Atom feed
From: Russell Coker <russell@coker.com.au>
To: linux-btrfs@vger.kernel.org
Subject: balance loop with raid-1 on 5.7.6-1
Date: Sun, 02 Aug 2020 11:07:11 +1000
Message-ID: <13086015.6n0rELWJ5N@liv> (raw)

My monthly cron job which runs a btrfs scrub followed by a btrfs balance has 
just gone into an infinite loop.

root@xev:~# grep -c "found 69 extents" /var/log/kern.log
322889
root@xev:~# uname -a
Linux xev 5.7.0-1-amd64 #1 SMP Debian 5.7.6-1 (2020-06-24) x86_64 GNU/Linux

Aug  2 02:57:09 xev kernel: [894810.916299] BTRFS info (device dm-1): scrub: 
finished on devid 3 with status: 0
Aug  2 02:57:09 xev kernel: [894810.947243] BTRFS info (device dm-1): balance: 
start -dusage=60 -musage=10 -susage=10
Aug  2 02:57:09 xev kernel: [894810.948707] BTRFS info (device dm-1): 
relocating block group 2734629453824 flags system|raid1
Aug  2 02:57:09 xev kernel: [894811.034399] BTRFS info (device dm-1): 
relocating block group 2659366862848 flags data|raid1
Aug  2 02:57:15 xev kernel: [894816.467989] BTRFS info (device dm-1): found 
12902 extents, stage: move data extents
Aug  2 02:57:40 xev kernel: [894841.585184] BTRFS info (device dm-1): found 
12902 extents, stage: update data pointers
Aug  2 02:57:41 xev kernel: [894842.878672] BTRFS info (device dm-1): found 69 
extents, stage: update data pointers
Aug  2 02:57:41 xev kernel: [894842.915311] BTRFS info (device dm-1): found 69 
extents, stage: update data pointers
[...]
Aug  2 11:04:01 xev kernel: [924022.697116] BTRFS info (device dm-1): found 69 
extents, stage: update data pointers
Aug  2 11:04:01 xev kernel: [924022.754418] BTRFS info (device dm-1): found 69 
extents, stage: update data pointers
Aug  2 11:04:01 xev kernel: [924022.805762] BTRFS info (device dm-1): found 69 
extents, stage: update data pointers
Aug  2 11:04:01 xev kernel: [924022.870560] BTRFS info (device dm-1): found 69 
extents, stage: update data pointers


-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/




             reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-02  1:07 Russell Coker [this message]
2020-08-02  1:19 ` Qu Wenruo
2020-08-02  1:55   ` Russell Coker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13086015.6n0rELWJ5N@liv \
    --to=russell@coker.com.au \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-BTRFS Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-btrfs/0 linux-btrfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-btrfs linux-btrfs/ https://lore.kernel.org/linux-btrfs \
		linux-btrfs@vger.kernel.org
	public-inbox-index linux-btrfs

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-btrfs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git