From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: Mike Stevens <michael.stevens@bayer.com>,
Liu Bo <obuil.liubo@gmail.com>,
"waxhead@dirtcellar.net" <waxhead@dirtcellar.net>,
"kreijack@inwind.it" <kreijack@inwind.it>,
David Sterba <dsterba@suse.cz>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: Crashes running btrfs scrub
Date: Wed, 21 Mar 2018 10:01:30 +0800 [thread overview]
Message-ID: <f2113adc-776c-856c-4047-3281afe6e079@gmx.com> (raw)
In-Reply-To: <93b4d10e04d34ecfa97f705d939ab671@MOXDE7.na.bayer.cnb>
[-- Attachment #1.1: Type: text/plain, Size: 2773 bytes --]
On 2018年03月21日 01:44, Mike Stevens wrote:
>
>>> 30 devices is really not that much, heck you get 90 disks top load JBOD
>>> storage chassis these days and BTRFS does sound like an attractive choice
>>> for things like that.
>
>> So Mike's case is, that both metadata and data are configured as
>> raid6, and the operations, balance and scrub, that he tried, need to
>> set the existing block group as readonly (in order to avoid any
>> further changes being applied during operations are running), then we
>> got into the place where another system chunk is needed.
>
>> However, I think it'd be better to have some warnings about this when
>> doing a) mkfs.btrfs -mraid6, b) btrfs device add.
>
>> David, any idea?
>
> I'll certainly vote for a warning, I would have set this up differently had I been aware.
>
> My filesystem check seems to have returned successfully:
>
> [root@auswscs9903] ~ # btrfs check --readonly /dev/sdb
> Checking filesystem on /dev/sdb
> UUID: 77afc2bb-f7a8-4ce9-9047-c031f7571150
> checking extents
> checking free space cache
> checking fs roots
> checking csums
> checking root refs
> found 97926270238720 bytes used err is 0
> total csum bytes: 95395030288
> total tree bytes: 201223503872
> total fs tree bytes: 84484636672
> total extent tree bytes: 7195869184
> btree space waste bytes: 29627784154
> file data blocks allocated: 97756261568512
>
> I've remounted the filesystem and I can at least touch a file. I'm restarting the rsync that was running when it originally went read only.
> What is the next step if it drops back to r/o?
As already mentioned, if you're using tons of disks and RAID0/10/5/6 as
metadata profile, you can just convert your metadata (or just system) to
RAID1/DUP.
Then there will be more than enough space for system chunk array.
Thanks,
Qu
>
> ________________________________________________________________________
> The information contained in this e-mail is for the exclusive use of the
> intended recipient(s) and may be confidential, proprietary, and/or
> legally privileged. Inadvertent disclosure of this message does not
> constitute a waiver of any privilege. If you receive this message in
> error, please do not directly or indirectly use, print, copy, forward,
> or disclose any part of this message. Please also delete this e-mail
> and all copies and notify the sender. Thank you.
> ________________________________________________________________________
> N�����r��y���b�X��ǧv�^�){.n�+����{�n�߲)���w*\x1fjg���\x1e�����ݢj/���z�ޖ��2�ޙ���&�)ߡ�a��\x7f��\x1e�G���h�\x0f�j:+v���w�٥
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 520 bytes --]
next prev parent reply other threads:[~2018-03-21 2:01 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-15 18:58 Crashes running btrfs scrub Mike Stevens
2018-03-15 20:32 ` waxhead
2018-03-15 21:07 ` Mike Stevens
2018-03-15 21:22 ` Chris Murphy
[not found] ` <6b4f2b33edb44f1ea8cef47ae68960af@MOXDE7.na.bayer.cnb>
2018-03-16 16:00 ` Chris Murphy
2018-03-16 16:17 ` Mike Stevens
2018-03-16 16:44 ` Chris Murphy
2018-03-16 18:53 ` Mike Stevens
2018-03-18 2:23 ` Qu Wenruo
2018-03-16 21:39 ` Liu Bo
2018-03-16 21:46 ` Mike Stevens
2018-03-18 0:26 ` Liu Bo
2018-03-18 6:41 ` Liu Bo
2018-03-18 7:57 ` Goffredo Baroncelli
2018-03-18 14:46 ` Goffredo Baroncelli
2018-03-18 22:52 ` waxhead
2018-03-19 1:51 ` Qu Wenruo
2018-03-19 18:06 ` Liu Bo
2018-03-20 17:44 ` Mike Stevens
2018-03-21 2:01 ` Qu Wenruo [this message]
2018-03-21 17:13 ` Liu Bo
2018-03-22 0:08 ` Qu Wenruo
2018-03-20 20:04 ` Goffredo Baroncelli
2018-03-15 21:15 ` Chris Murphy
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=f2113adc-776c-856c-4047-3281afe6e079@gmx.com \
--to=quwenruo.btrfs@gmx.com \
--cc=dsterba@suse.cz \
--cc=kreijack@inwind.it \
--cc=linux-btrfs@vger.kernel.org \
--cc=michael.stevens@bayer.com \
--cc=obuil.liubo@gmail.com \
--cc=waxhead@dirtcellar.net \
/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).