From: "Miloslav Hůla" <miloslav.hula@gmail.com>
To: Chris Murphy <lists@colorremedies.com>
Cc: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: No space left after add device and balance
Date: Fri, 11 Sep 2020 12:29:32 +0200 [thread overview]
Message-ID: <d1339a91-0a04-538c-59ca-30bc05b636a5@gmail.com> (raw)
In-Reply-To: <CAJCQCtQYSPO6Wd2u=WK-mia0WTjU0BybhhhhbT5VZUczUfx+JQ@mail.gmail.com>
Dne 10.09.2020 v 21:18 Chris Murphy napsal(a):
> On Wed, Sep 9, 2020 at 2:15 AM Miloslav Hůla <miloslav.hula@gmail.com> wrote:
>
>> After ~15.5 hours finished successfully. Unfortunetally, I have no exact
>> free space report before first balance, but it looked roughly like:
>>
>> Label: 'DATA' uuid: 5b285a46-e55d-4191-924f-0884fa06edd8
>> Total devices 16 FS bytes used 3.49TiB
>> devid 1 size 558.41GiB used 448.66GiB path /dev/sda
>> devid 2 size 558.41GiB used 448.66GiB path /dev/sdb
>> devid 4 size 558.41GiB used 448.66GiB path /dev/sdd
>> devid 5 size 558.41GiB used 448.66GiB path /dev/sde
>> devid 7 size 558.41GiB used 448.66GiB path /dev/sdg
>> devid 8 size 558.41GiB used 448.66GiB path /dev/sdh
>> devid 9 size 558.41GiB used 448.66GiB path /dev/sdf
>> devid 10 size 558.41GiB used 448.66GiB path /dev/sdi
>> devid 11 size 558.41GiB used 448.66GiB path /dev/sdj
>> devid 13 size 558.41GiB used 448.66GiB path /dev/sdk
>> devid 14 size 558.41GiB used 448.66GiB path /dev/sdc
>> devid 15 size 558.41GiB used 448.66GiB path /dev/sdl
>> devid 16 size 558.41GiB used 448.66GiB path /dev/sdm
>> devid 17 size 558.41GiB used 448.66GiB path /dev/sdn
>> devid 18 size 837.84GiB used 448.66GiB path /dev/sdr
>> devid 19 size 837.84GiB used 448.66GiB path /dev/sdq
>> devid 20 size 837.84GiB used 0.00GiB path /dev/sds
>> devid 21 size 837.84GiB used 0.00GiB path /dev/sdt
>>
>>
>> Are we doing something wrong? I found posts, where problems with balace
>> of full filesystem are described. And as a recommendation is "add empty
>> device, run balance, remove device".
>
> It's raid10, so in this case, you probably need to add 4 devices. It's
> not required they be equal sizes but it's ideal.
>
>> Are there some requirements on free space for balance even if you add
>> new device?
>
> The free space is reported upon adding the two devices; but the raid10
> profile requires more than just free space, it needs free space on
> four devices.
I didn't realize that. It makes me sense now. So we are probably "wrong"
with 18 devices. Multiple of 4 would be better I guess.
Thank you!
next prev parent reply other threads:[~2020-09-11 10:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-09 8:15 No space left after add device and balance Miloslav Hůla
2020-09-10 19:18 ` Chris Murphy
2020-09-11 10:29 ` Miloslav Hůla [this message]
2020-09-11 15:33 ` Zygo Blaxell
2020-09-15 10:08 ` Miloslav Hůla
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=d1339a91-0a04-538c-59ca-30bc05b636a5@gmail.com \
--to=miloslav.hula@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=lists@colorremedies.com \
/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).