Good morning/afternoon/evening,
I’m totally confused. My BTRFS, created in 2020, ran smoothly until now. I have no record of how I created it … It’s a bit old.
my problem is today it doesn’t allow me to write more data and I get why. But I could not find a way to allocate more space from physical drives to the RAID10 volume. I spent two hours this morning searching the web, and chatting with ChatGPT with no success whatsoever.
I have no subvolumes, no snapshots.
These are 8 spinning drives of 2TB each:
lsblk
sda 8:0 0 1.8T 0 disk /data
sdb 8:16 0 1.8T 0 disk
sdc 8:32 0 1.8T 0 disk
sdd 8:48 0 1.8T 0 disk
sde 8:64 0 1.8T 0 disk
sdf 8:80 0 1.8T 0 disk
sdg 8:96 0 1.8T 0 disk
sdh 8:112 0 1.8T 0 disk
btrfs fi show:
Label: 'better10' uuid: 7e504619-58c8-4f44-acbc-07a1e1ddc3f0
Total devices 8 FS bytes used 1.32TiB
devid 1 size 1.82TiB used 340.00GiB path /dev/sda
devid 2 size 1.82TiB used 339.03GiB path /dev/sdb
devid 3 size 1.82TiB used 339.00GiB path /dev/sdc
devid 4 size 1.82TiB used 340.00GiB path /dev/sdd
devid 5 size 1.82TiB used 339.00GiB path /dev/sde
devid 6 size 1.82TiB used 339.03GiB path /dev/sdf
devid 7 size 1.82TiB used 340.01GiB path /dev/sdg
devid 8 size 1.82TiB used 340.01GiB path /dev/sdh
btrfs filesystem usage /data
Overall:
Device size: 14.55TiB
Device allocated: 2.65TiB
Device unallocated: 11.90TiB
Device missing: 0.00B
Device slack: 0.00B
Used: 2.65TiB
Free (estimated): 5.95TiB (min: 5.95TiB)
Free (statfs, df): 5.95TiB
Data ratio: 2.00
Metadata ratio: 2.00
Global reserve: 512.00MiB (used: 0.00B)
Multiple profiles: no
Data,RAID10: Size:1.32TiB, Used:1.32TiB (99.89%)
/dev/sda 339.00GiB
/dev/sdb 339.00GiB
/dev/sdc 339.00GiB
/dev/sdd 339.00GiB
/dev/sde 339.00GiB
/dev/sdf 339.00GiB
/dev/sdg 339.00GiB
/dev/sdh 339.00GiB
Metadata,RAID1: Size:2.00GiB, Used:1.68GiB (84.19%)
/dev/sda 1.00GiB
/dev/sdd 1.00GiB
/dev/sdg 1.00GiB
/dev/sdh 1.00GiB
System,RAID1: Size:40.00MiB, Used:144.00KiB (0.35%)
/dev/sdb 32.00MiB
/dev/sdf 32.00MiB
/dev/sdg 8.00MiB
/dev/sdh 8.00MiB
Unallocated:
/dev/sda 1.49TiB
/dev/sdb 1.49TiB
/dev/sdc 1.49TiB
/dev/sdd 1.49TiB
/dev/sde 1.49TiB
/dev/sdf 1.49TiB
/dev/sdg 1.49TiB
/dev/sdh 1.49TiB
How to I allocate more space to my RAID10 ? (and also to the Metadata RAID1, which seems to need some) ?
I would like to add a total of 2TB to my RAID10, and 2GiB to my Metadata
I tried btrfs filesystem resize +2TB
. This doesn’t work. It tries to add 2TB to /dev/sda … from 1.82TiB to 3.82TiB
Hope someone can help. I’m a bit stuck.