From: jan@wth.in
To: linux-btrfs@vger.kernel.org
Subject: Trying to balance/delete after drive failure
Date: Mon, 24 Aug 2015 11:20:41 +0000 [thread overview]
Message-ID: <82aaa9565d7e4304b47cbccb63eddae4@wth.in> (raw)
Hi Guys,
I am running a raid1 btrfs with 4 disks. One of my disks died the other day. So I replaced it with a new one. After that I tried to delete the failed (now missing) disk. This resulted in some but not much IO and some messages like these:
kernel: BTRFS info (device sdd): found 9 extents
kernel: [22138.202334] BTRFS info (device sdd): relocating block group 10093403832320 flags 17
Perf show this:
47.21% [kernel] [k] rb_next
29.89% [kernel] [k] comp_entry
9.54% [kernel] [k] btrfs_merge_delayed_refs
And top this:
27742 root 20 0 0 0 0 R 100.0 0.0 19:22.90 kworker/u8:7
But at one point no new messages appeared and no IO could be seen. I thought maybe the process hung. So I rebooted the machine. After that I tried a balance with the same result.
Here some information that might be important:
uname -a
Linux thales 4.1.5-100.fc21.x86_64 #1 SMP Tue Aug 11 00:24:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
###
btrfs --version
btrfs-progs v4.1
###
btrfs --version
btrfs-progs v4.1
[root@thales ~]# btrfs fi show
Label: 'data' uuid: 1f7e44b4-39ed-475d-b341-93b2e44f8f89
Total devices 5 FS bytes used 3.40TiB
devid 1 size 2.73TiB used 2.58TiB path /dev/sdb
devid 4 size 931.51GiB used 779.00GiB path /dev/sde
devid 5 size 931.51GiB used 779.00GiB path /dev/sdd
devid 6 size 5.46TiB used 379.00GiB path /dev/sda
*** Some devices missing
btrfs-progs v4.1
###
btrfs fi df /mnt/data/
Data, RAID1: total=3.46TiB, used=3.40TiB
System, RAID1: total=32.00MiB, used=528.00KiB
Metadata, RAID1: total=9.00GiB, used=7.63GiB
GlobalReserve, single: total=512.00MiB, used=15.74MiB
###
dmesg
[...]
[33209.949992] BTRFS info (device sdd): found 11 extents
[33244.802181] BTRFS info (device sdd): found 11 extents
[33247.178590] BTRFS info (device sdd): relocating block group 9826042118144 flags 20
###
Thanks for your help,
Jan
next reply other threads:[~2015-08-24 11:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-24 11:20 jan [this message]
2015-08-26 6:57 ` Trying to balance/delete after drive failure Duncan
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=82aaa9565d7e4304b47cbccb63eddae4@wth.in \
--to=jan@wth.in \
--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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).