Gentoo Archives: gentoo-user

From: Bill Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] btrfs fails to balance
Date: Tue, 20 Jan 2015 02:42:16
Message-Id: 54BDBF6E.5020607@iinet.net.au
In Reply to: Re: [gentoo-user] btrfs fails to balance by Marc Stuermer
1 On 19/01/15 22:08, Marc Stuermer wrote:
2 > Am 19.01.2015 um 12:02 schrieb Bill Kenworthy:
3 >
4 >> Brilliant, you have hit on the answer! - The ancient 300GB system disk
5 >> was sda at one point and moved to sdb - possibly at the time I changed
6 >> to using UUID's. Ive just resized all the disks and its now moved past
7 >> 300G for the first time as well as the other two falling in step with
8 >> the data moving.
9 >
10 > Actually this is not my doing, I am not touching Btrfs at the moment
11 > with a ten foot pole yet because yet.
12 >
13 > Russel Coker wrote about the problem you had, just take a look at it
14 > here and also mentioned the solution:
15 >
16 > http://etbe.coker.com.au/2014/12/05/btrfs-status-dec-2014/
17 >
18 > He had the same problem with a bigger drive. His Btrfs status updates
19 > are something I do follow indeed.
20 >
21
22 Yes, I read those but failed to "connect the dots" :)
23
24 Balance almost done:
25
26 rattus backups # btrfs fi usage -T /mnt/btrfs-root/
27 Overall:
28 Device size: 5.46TiB
29 Device allocated: 3.81TiB
30 Device unallocated: 1.65TiB
31 Used: 3.80TiB
32 Free (estimated): 843.92GiB (min: 843.92GiB)
33 Data ratio: 2.00
34 Metadata ratio: 2.00
35 Global reserve: 512.00MiB (used: 97.84MiB)
36
37 Data Metadata System
38 single RAID1 RAID1 RAID1 Unallocated
39
40 /dev/sda - 1.26TiB 6.00GiB 32.00MiB 562.99GiB
41 /dev/sdc - 1.26TiB 8.00GiB - 562.02GiB
42 /dev/sdd - 1.27TiB 4.00GiB 32.00MiB 561.99GiB
43 ========= ======= ======== ========= ===========
44 Total 512.00MiB 1.90TiB 9.00GiB 32.00MiB 1.65TiB
45 Used 97.84MiB 1.90TiB 6.42GiB 304.00KiB
46 rattus backups #