linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Help with my btfrs corruption after a power failure!
@ 2020-03-10  8:22 hodea.stefan
  2020-03-10  8:53 ` Nikolay Borisov
  0 siblings, 1 reply; 2+ messages in thread
From: hodea.stefan @ 2020-03-10  8:22 UTC (permalink / raw)
  To: linux-btrfs

Hello! I need some tips on how to repair the btrfs partition, following 
repeated power outages from home.
The situation: For several months I have stopped using xpenology in 
favor of another dedicated Linux distribution for network storage (at 
another location I ran into the same btrfs corruption issue, but then I 
didn't have much data on the server and I didn't shake my head. in 
solving the problem). Now being the NAS server on which all the family 
documents can be found. On it are installed 3 hdds: one of 2 Tb and 2 of 
1 Gb configured in raid1 since using xpenology. The tried commands were:

btrfs scrub start /srv/dev-disk-by-label-2018.05.11-19-05-54 \ v15266 /
btrfs scrub status -dR /srv/dev-disk-by-label-2018.05.11-19-05-54 \ v15266 /

And

btrfs check --check-data-csum / dev / md126
Checking filesystem on / dev / md126
UUID: 3ce16830-f95b-4f0c-b96f-bd6f10c435e2
checking extents
checksum verify failed on 358432768 found 5BFBA855 wanted 0F952A4E
checksum verify failed on 358432768 found 5BFBA855 wanted 0F952A4E
Invalid key type (BLOCK_GROUP_ITEM) found in root (202)
ignoring invalid key
Invalid key type (BLOCK_GROUP_ITEM) found in root (202)
ignoring invalid key
Invalid key type (BLOCK_GROUP_ITEM) found in root (202)
ignoring invalid key
Invalid key type (BLOCK_GROUP_ITEM) found in root (202)
ignoring invalid key
Invalid key type (BLOCK_GROUP_ITEM) found in root (202)
ignoring invalid key

What is more surprising to me is, that partition configured with raid1 
btrfs have been corrupted from those power outages.

Thank you for your attention

Regards,
Stefan Hodea


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help with my btfrs corruption after a power failure!
  2020-03-10  8:22 Help with my btfrs corruption after a power failure! hodea.stefan
@ 2020-03-10  8:53 ` Nikolay Borisov
  0 siblings, 0 replies; 2+ messages in thread
From: Nikolay Borisov @ 2020-03-10  8:53 UTC (permalink / raw)
  To: hodea.stefan, linux-btrfs



On 10.03.20 г. 10:22 ч., hodea.stefan@gmail.com wrote:
> Hello! I need some tips on how to repair the btrfs partition, following
> repeated power outages from home.
> The situation: For several months I have stopped using xpenology in
> favor of another dedicated Linux distribution for network storage (at
> another location I ran into the same btrfs corruption issue, but then I
> didn't have much data on the server and I didn't shake my head. in
> solving the problem). Now being the NAS server on which all the family
> documents can be found. On it are installed 3 hdds: one of 2 Tb and 2 of
> 1 Gb configured in raid1 since using xpenology. The tried commands were:
> 
> btrfs scrub start /srv/dev-disk-by-label-2018.05.11-19-05-54 \ v15266 /
> btrfs scrub status -dR /srv/dev-disk-by-label-2018.05.11-19-05-54 \
> v15266 /
> 
> And
> 
> btrfs check --check-data-csum / dev / md126
> Checking filesystem on / dev / md126
> UUID: 3ce16830-f95b-4f0c-b96f-bd6f10c435e2
> checking extents
> checksum verify failed on 358432768 found 5BFBA855 wanted 0F952A4E
> checksum verify failed on 358432768 found 5BFBA855 wanted 0F952A4E
> Invalid key type (BLOCK_GROUP_ITEM) found in root (202)
> ignoring invalid key
> Invalid key type (BLOCK_GROUP_ITEM) found in root (202)
> ignoring invalid key
> Invalid key type (BLOCK_GROUP_ITEM) found in root (202)
> ignoring invalid key
> Invalid key type (BLOCK_GROUP_ITEM) found in root (202)
> ignoring invalid key
> Invalid key type (BLOCK_GROUP_ITEM) found in root (202)
> ignoring invalid key
> 
> What is more surprising to me is, that partition configured with raid1
> btrfs have been corrupted from those power outages.
> 
> Thank you for your attention

What kernel version are you using and what is the version of progs?

> 
> Regards,
> Stefan Hodea
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-10  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10  8:22 Help with my btfrs corruption after a power failure! hodea.stefan
2020-03-10  8:53 ` Nikolay Borisov

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).