All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Kastl <kastl@b1-systems.de>
To: Qu Wenruo <quwenruo.btrfs@gmx.com>, linux-btrfs@vger.kernel.org
Subject: Re: 'btrfs rescue' command (recommended by btrfs check) fails on old BTRFS RAID1 on (currently) openSUSE Leap 15.3
Date: Tue, 24 May 2022 09:44:51 +0200	[thread overview]
Message-ID: <88a253ee-4dfd-5e3f-8622-63321f7d6e35@b1-systems.de> (raw)
In-Reply-To: <9941f4d1-4eb2-4efb-0e24-09b28f2e185d@gmx.com>


[-- Attachment #1.1: Type: text/plain, Size: 2839 bytes --]

Hi Qu,

On 21.05.22 at 03:10 Qu Wenruo wrote:

> At least we know the new way to fix it is working.
> 
> BTW, mind to share things like `btrfs fi usage` and `btrfs fi df` when
> you can mount the fs?

Sure, here they are:

>> root dumbo:/root # btrfs filesystem df /mnt/DUMBO_BACKUP_4TB
>> Data, RAID1: total=3.36TiB, used=3.24TiB
>> Data, DUP: total=13.50MiB, used=2.81MiB
>> Data, single: total=1.00GiB, used=0.00B
>> System, RAID1: total=32.00MiB, used=560.00KiB
>> System, single: total=32.00MiB, used=0.00B
>> Metadata, RAID1: total=284.94GiB, used=111.84GiB
>> Metadata, DUP: total=512.00MiB, used=48.00KiB
>> Metadata, single: total=1.00GiB, used=0.00B
>> GlobalReserve, single: total=512.00MiB, used=0.00B
 >> root dumbo:/root #

>> root dumbo:/root # btrfs filesystem show /mnt/DUMBO_BACKUP_4TB
>> Label: 'DUMBO_BACKUP_4TB'  uuid: 50651b41-bf33-47e7-8a08-afbc71ba0bf8
>>         Total devices 2 FS bytes used 3.35TiB
>>         devid    1 size 7.00TiB used 3.64TiB path /dev/sdd1
>>         devid    2 size 7.00TiB used 3.63TiB path /dev/sdc1
>>
>> root dumbo:/root #

Not sure why one of the devices has 3.64TiB used, the other one 3.63TiB.

>> root dumbo:/root # btrfs filesystem usage /mnt/DUMBO_BACKUP_4TB
>> Overall:
>>     Device size:                  14.00TiB
>>     Device allocated:              7.27TiB
>>     Device unallocated:            6.73TiB
>>     Device missing:                  0.00B
>>     Used:                          6.69TiB
>>     Free (estimated):              3.48TiB      (min: 3.48TiB)
>>     Data ratio:                       2.00
>>     Metadata ratio:                   2.00
>>     Global reserve:              512.00MiB      (used: 0.00B)
>>
>> Data,single: Size:1.00GiB, Used:0.00B
>>    /dev/sdd1       1.00GiB
>>
>> Data,RAID1: Size:3.36TiB, Used:3.24TiB
>>    /dev/sdc1       3.36TiB
>>    /dev/sdd1       3.36TiB
>>
>> Data,DUP: Size:13.50MiB, Used:2.81MiB
>>    /dev/sdd1      27.00MiB
>>
>> Metadata,single: Size:1.00GiB, Used:0.00B
>>    /dev/sdd1       1.00GiB
>>
>> Metadata,RAID1: Size:284.94GiB, Used:111.84GiB
>>    /dev/sdc1     284.94GiB
>>    /dev/sdd1     284.94GiB
>>
>> Metadata,DUP: Size:512.00MiB, Used:48.00KiB
>>    /dev/sdd1       1.00GiB
>>
>> System,single: Size:32.00MiB, Used:0.00B
>>    /dev/sdd1      32.00MiB
>>
>> System,RAID1: Size:32.00MiB, Used:560.00KiB
>>    /dev/sdc1      32.00MiB
>>    /dev/sdd1      32.00MiB
>>
>> Unallocated:
>>    /dev/sdc1       3.36TiB
>>    /dev/sdd1       3.36TiB
>> root dumbo:/root #





-- 
Johannes Kastl
Linux Consultant & Trainer
Tel.: +49 (0) 151 2372 5802
Mail: kastl@b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg
http://www.b1-systems.de
GF: Ralph Dehner
Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

      reply	other threads:[~2022-05-24  7:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-23 18:39 'btrfs rescue' command (recommended by btrfs check) fails on old BTRFS RAID1 on (currently) openSUSE Leap 15.3 Johannes Kastl
2022-04-23 23:07 ` Qu Wenruo
2022-04-24  9:10   ` Johannes Kastl
2022-04-24  9:21     ` Qu Wenruo
2022-05-18 10:38       ` Johannes Kastl
2022-05-18 10:59         ` Qu Wenruo
2022-05-20 15:14           ` Johannes Kastl
2022-05-20 20:21             ` Johannes Kastl
2022-05-21  1:10               ` Qu Wenruo
2022-05-24  7:44                 ` Johannes Kastl [this message]

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=88a253ee-4dfd-5e3f-8622-63321f7d6e35@b1-systems.de \
    --to=kastl@b1-systems.de \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=quwenruo.btrfs@gmx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.