[solved] Re: BTRFS Raid 5 Space missing - ideas ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 21.04.19 um 06:39 schrieb Andrei Borzenkov:
> 20.04.2019 23:19, Adam Borowski пишет:
>> On Sat, Apr 20, 2019 at 12:46:16PM +0200, Juergen Sauer wrote:
>>> I wish a happy Easer Days before :)
>>
>> Same to you!
>>
>>> During my tests with BTRFS as Raid5 setup, I found a courious little
>>> "problem".
>>
>>>         Total devices 3 FS bytes used 9.98TiB
>>>         devid    1 size 9.09TiB used 4.99TiB path /dev/sdb1
>>>         devid    2 size 5.46TiB used 4.99TiB path /dev/sdc1
>>>         devid    3 size 5.46TiB used 4.99TiB path /dev/sde1

Mr. Bethencourt send me this night the helping hint.
I overread the updated syntax in the resize command.

The "btrfs filesystem resize" takes by default and silently the first
device to work on, no hint is issued.

It is mandatory to define the devid to work on for "resize" on multi
device btrfs volumes.

btrfs filesystem resize 2:max /srv
btrfs filesystem resize 3:max /srv

Made the wanted job as expected.

This is the result:
[root@pc6 ~]# btrfs filesystem show /srv
Label: 'Archiv'  uuid: 662c9f40-56b0-4e4e-aa64-55039ff8f4f8
        Total devices 3 FS bytes used 9.98TiB
        devid    1 size 9.09TiB used 4.99TiB path /dev/sdb1
        devid    2 size 9.09TiB used 4.99TiB path /dev/sdc1
        devid    3 size 9.09TiB used 4.99TiB path /dev/sde1

root@pc6 ~]# df -h /srv
/dev/sdb1        28T     10T   13T   45% /srv

Thank you, Mr. Bethencourt and @all

mit freundlichen Grüßen
Jürgen Sauer

begin:vcard
fn;quoted-printable:J=C3=BCrgen Sauer
n;quoted-printable:Sauer;J=C3=BCrgen
org:automatiX GmbH
adr:;;Neue Str. 11;Schwanewede;Niedersachsen;28790;Deutschland
email;internet:juergen.sauer@xxxxxxxxxxxx
tel;work:+49 4209 4699
tel;fax:+49 4209 4644
tel;home:+49 4209 4653
tel;cell:+49 162 9699 259
x-mozilla-html:FALSE
url:https://automatix.de
version:2.1
end:vcard


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux