Gentoo Archives: gentoo-user

From: Bill Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] btrfs fails to balance
Date: Mon, 19 Jan 2015 08:38:15
Message-Id: 54BCC135.5000906@iinet.net.au
1 Can someone suggest what is causing a balance on this raid 1, 3 disk
2 volume to successfully complete but leave the data unevenly distributed?
3 Content is mostly VM images.
4
5 sdc and sdd are 2TB WD greens, and sda is a 2TB WD red.
6
7
8 rattus backups # btrfs fi sh
9 Label: none uuid: 04d8ff4f-fe19-4530-ab45-d82fcd647515
10 Total devices 1 FS bytes used 8.25GiB
11 devid 1 size 271.36GiB used 23.04GiB path /dev/sdb3
12
13 Label: none uuid: f5a284b6-442f-4b3d-aa1a-8d6296f517b1
14 Total devices 3 FS bytes used 1.90TiB
15 devid 1 size 1.82TiB used 1.77TiB path /dev/sdc
16 devid 2 size 1.82TiB used 1.77TiB path /dev/sdd
17 devid 4 size 1.82TiB used 270.03GiB path /dev/sda
18
19 Btrfs v3.18
20 rattus backups # btrfs fi df /mnt/btrfs-root/
21 Data, RAID1: total=1.90TiB, used=1.89TiB
22 System, RAID1: total=32.00MiB, used=464.00KiB
23 Metadata, RAID1: total=8.00GiB, used=6.53GiB
24 GlobalReserve, single: total=512.00MiB, used=0.00B
25 rattus backups # btrfs fi usage /mnt/btrfs-root/
26 Overall:
27 Device size: 5.46TiB
28 Device allocated: 3.81TiB
29 Device unallocated: 1.65TiB
30 Used: 3.80TiB
31 Free (estimated): 845.00GiB (min: 845.00GiB)
32 Data ratio: 2.00
33 Metadata ratio: 2.00
34 Global reserve: 512.00MiB (used: 154.42MiB)
35
36 Data,RAID1: Size:1.90TiB, Used:1.89TiB
37 /dev/sda 265.00GiB
38 /dev/sdc 1.77TiB
39 /dev/sdd 1.77TiB
40
41 Metadata,RAID1: Size:9.00GiB, Used:6.96GiB
42 /dev/sda 6.00GiB
43 /dev/sdc 7.00GiB
44 /dev/sdd 5.00GiB
45
46 System,RAID1: Size:32.00MiB, Used:464.00KiB
47 /dev/sda 32.00MiB
48 /dev/sdd 32.00MiB
49
50 Unallocated:
51 /dev/sda 1.55TiB
52 /dev/sdc 47.02GiB
53 /dev/sdd 47.99GiB
54 rattus backups #

Replies

Subject Author
Re: [gentoo-user] btrfs fails to balance Marc Joliet <marcec@×××.de>
Re: [gentoo-user] btrfs fails to balance "Marc Stürmer" <mail@×××××××××××××.de>
Re: [gentoo-user] btrfs fails to balance "Marc Stürmer" <mail@×××××××××××××.de>